Page 1 of 1
Min Max Axe X
Posted: Mon Apr 24, 2017 9:01 pm
by 16578476
Hello,
the min and max haven"t good value when a serie is empty.
Re: Min Max Axe X
Posted: Wed Apr 26, 2017 10:12 am
by yeray
Hello,
I'm not sure to see the problem. Could you please expand?
Re: Min Max Axe X
Posted: Wed Apr 26, 2017 11:09 am
by 16578476
Hello,
le graphic should start at Mar 1 instead of Feb 20.
There's no data between Feb 20 and Mar 1
Re: Min Max Axe X
Posted: Fri Apr 28, 2017 6:16 am
by 16578476
I should have the same bottom axe value of the vlc graph.
Re: Min Max Axe X
Posted: Fri Apr 28, 2017 11:20 am
by yeray
Hello,
I could reproduce the problem in a simple example so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1853
As a workaround you can add this to manually set the axis range:
Code: Select all
Chart1.axes.bottom.setMinMax(Series1.minXValue(), Series1.maxXValue());
Re: Min Max Axe X
Posted: Fri Jul 07, 2017 3:23 pm
by Marc
The problem that causes the offset of the first plotted value in this chart is the presence of a second series that has no values; Series3.
If Series3 code is commented, or not added to the chart (until needed) then the plot is correct.
- bartest.png (65.96 KiB) Viewed 27929 times
Regards,
Marc Meumann
Re: Min Max Axe X
Posted: Mon Jul 10, 2017 11:29 am
by Marc
An internal fix to the teeChart for javascript code to avoid this issue. It'll be made available with the next update (imminent).
Regards,
Marc