Hi list,
I am working with historical data. Mostly is Before Christ (BC). I can
have data in json file as "-0005-01-01" and it is working fine.
But I try to follow this example to limit a start/end year in timeline
and also try create a decorator.
http://www.simile-widgets.org/timeline/examples/test_example2/test_example2.html
for (var i = 0; i< bandInfos.length; i++) {
bandInfos[i].decorators = [
new Timeline.SpanHighlightDecorator({
startDate: "-5", // The year 1 Common Era
endDate: "-1",
cssClass: "timeline-ether-bg", // use same color as
background
inFront: true, // we want this decorator to be in
front
theme: theme1
}),
new Timeline.SpanHighlightDecorator({
startDate: "Fri Jan 1 4480 00:00:00 GMT",
endDate: "Fri Jan 1 8000 00:00:00 GMT",
cssClass: "timeline-ether-bg",
inFront: true, // we want this decorator to be in
front
theme: theme1
})
];
}
It is not working when Date become "minus" value. Is this Date
difference from EventSource ?
Please advise.
Best regards
Sarawut
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.