Skip to content

getDataRange incorrect Max?

Hello,

I noticed getDataRange uses the start date for the max - is the correct?

https://github.com/almende/vis/blob/master/lib/timeline/Timeline.js#L458

      if (max === null || end > max) {
        max = start;
      }

Should that be max = end?