There is a problem with the drawing of a datetime X Axis when the first visible series has labels.
The calculation for the steps to draw the X Axis labels is based on the series label instead of the X Axes.
To recreate the problem,
I modify the datetime.htm from TeeChart_for_JavaScript_Commercial_v2017.04.26.1.9\demos\sources
And add a simple line
series.data.labels[t] = 'a';
In the code:
Code: Select all
for (var t=0; t<100; t++) {
series.data.values[t]=Math.random()*1000;
series.data.x[t]=new Date(today + t * msecsInADay);
series.data.labels[t] = 'a'; // this is the added line
}
Please provide a fix or workaround for this.
Thanks
Amos