Min Max Axe X

TeeChart for Javascript for the HTML5 Canvas

Min Max Axe X

Postby 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 55 times
Menant.D
Newbie
Newbie
 
Posts: 19
Joined: Mon Jun 06, 2016 12:00 am

Re: Min Max Axe X

Postby 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 ImagePlease read our Bug Fixing Policy
Yeray
Site Admin
Site Admin
 
Posts: 8467
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Re: Min Max Axe X

Postby 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 949 times
Menant.D
Newbie
Newbie
 
Posts: 19
Joined: Mon Jun 06, 2016 12:00 am

Re: Min Max Axe X

Postby 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 934 times
Menant.D
Newbie
Newbie
 
Posts: 19
Joined: Mon Jun 06, 2016 12:00 am

Re: Min Max Axe X

Postby 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 ImagePlease read our Bug Fixing Policy
Yeray
Site Admin
Site Admin
 
Posts: 8467
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Re: Min Max Axe X

Postby 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 729 times


Regards,
Marc Meumann
Steema Support
Marc
Site Admin
Site Admin
 
Posts: 852
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona

Re: Min Max Axe X

Postby 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
Marc
Site Admin
Site Admin
 
Posts: 852
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona


Return to Javascript / HTML5

Who is online

Users browsing this forum: No registered users and 1 guest