If you want the time markers to be in (10,20,30,etc.) multiple markings
without using hotZone it does not work properly, instead displays at
inconsistent intervals.
My Timeline initialize code:
Timeline.createBandInfo({
eventSource: eventSource,
date: parm_config.date || "Jun 28 2006 00:00:00 GMT",
timeZone: -parm_config.date.getTimezoneOffset()/60,
width: "70%",
multiple: parm_config.multiple || 1,
intervalUnit: parm_config.intervalUnit0 || Timeline.DateTime.MONTH,
intervalPixels: parm_config.intervalPixels0 || 100
}), ....
Bug:
ether-painters.js:
Timeline.DateTime.roundDownToInterval(minDate, this._unit, timeZone, 1,
this._theme.firstDayOfWeek);
Solution:
Timeline.DateTime.roundDownToInterval(minDate, this._unit, timeZone,
this._multiple, this._theme.firstDayOfWeek);
[Submitted by Daniel on simile.mit.edu]
Original issue reported on code.google.com by GabrielR...@googlemail.com on 6 Apr 2009 at 2:05
Original issue reported on code.google.com by
GabrielR...@googlemail.com
on 6 Apr 2009 at 2:05