Hello everyone,
we are using a TimeChart to display data. In our application we got an global time range scope. I want to use this scope as initial display period. I have set this period in the setting like this.
var settings = {
//some settings
navigation: {
initialDisplayPeriod: global.from + ' > ' + global.to
}
//some more settings
new TimeChart(settings);
The chart can load data from our backend. After loading the data, the chart will pan to this data.
But i don’t want this. I want the chart to remain at the very initial Period even there is data. Can you give me some advice?
For demonstration:
In this fiddle I set the initialDisplayPeriod to:
new Date(2010, 0, 1).getTime() + " > " + new Date(2010, 0, 2).getTime()
and the data starts at Mar 2013.
Best regards
P