Min Max Axe X

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
Menant.D
Newbie
Newbie
Posts: 19
Joined: Mon Jun 06, 2016 12:00 am

Min Max Axe X

Post by Menant.D » Mon Apr 24, 2017 9:01 pm

Hello,
the min and max haven"t good value when a serie is empty.
Attachments
Project5.dproj.zip
(14.37 KiB) Downloaded 1739 times

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Min Max Axe X

Post by Yeray » Wed Apr 26, 2017 10:12 am

Hello,

I'm not sure to see the problem. Could you please expand?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Menant.D
Newbie
Newbie
Posts: 19
Joined: Mon Jun 06, 2016 12:00 am

Re: Min Max Axe X

Post by Menant.D » Wed Apr 26, 2017 11:09 am

Hello,

le graphic should start at Mar 1 instead of Feb 20.
There's no data between Feb 20 and Mar 1
Attachments
PbAxes.png
PbAxes.png (45.39 KiB) Viewed 28772 times

Menant.D
Newbie
Newbie
Posts: 19
Joined: Mon Jun 06, 2016 12:00 am

Re: Min Max Axe X

Post by Menant.D » Fri Apr 28, 2017 6:16 am

I should have the same bottom axe value of the vlc graph.
Attachments
Graphe VCL.png
Graphe VCL.png (17.12 KiB) Viewed 28757 times

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Min Max Axe X

Post by Yeray » Fri Apr 28, 2017 11:20 am

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());
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Marc
Site Admin
Site Admin
Posts: 1274
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Min Max Axe X

Post by Marc » Fri Jul 07, 2017 3:23 pm

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
bartest.png (65.96 KiB) Viewed 28552 times
Regards,
Marc Meumann
Steema Support

Marc
Site Admin
Site Admin
Posts: 1274
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Min Max Axe X

Post by Marc » Mon Jul 10, 2017 11:29 am

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
Steema Support

Post Reply