I upgraded from TeeChart 2012 to 2015.16 and now the left axis labels are behaving strange for the same code. It is not creating all the tick labels like it did in 2012. I am dealing with very small numbers (1e-12), so I don't know if that has anything to do with it. Also, it tends to set the minimum to an extremely small number (and sometimes negative) even though the data is no smaller than 5e-18.
Here is what a plot looked like with 2012:
Here is what the same plot looks like with 2015.16 running the same code only linked to 2015.16:
In an attempt to fix this issue, I have tried programmatically setting the left axis properties including auto versus manual min max settings. Nothing I've tried fixes this.
Any insight would be appreciated.
Thanks,
Scott
Left Axis Labeling
Re: Left Axis Labeling
Hi Scott,
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Left Axis Labeling
Hi Yeray,
Here is a simple generic project in Embarcadero C++ Builder XE7 that shows the problem. I set up the code to generate random numbers in the range that causes problems. I have three buttons on the form that produce three different results showing the progression of the problem. Each time you click a button, a new random set of data is plotted.
- Button 'Plot 1e-10' has normal labeling most of the time. Occasionally, the minimum label for the Y-axis goes to 2.7e-26 when the rest of the data is in the 1 to 9e-11 range.
- Button 'Plot 5e-11' only has labels for two or three major ticks and nothing else.
- Button 'Plot 1e-11' only has one label towards the top.
There seems to be a hard cutoff around 3e-11. I have tried both autoscaling and manually setting the min and max for the Y-axis (left axis). Neither seems to make a difference in this behavior.
Thanks,
Scott
Here is a simple generic project in Embarcadero C++ Builder XE7 that shows the problem. I set up the code to generate random numbers in the range that causes problems. I have three buttons on the form that produce three different results showing the progression of the problem. Each time you click a button, a new random set of data is plotted.
- Button 'Plot 1e-10' has normal labeling most of the time. Occasionally, the minimum label for the Y-axis goes to 2.7e-26 when the rest of the data is in the 1 to 9e-11 range.
- Button 'Plot 5e-11' only has labels for two or three major ticks and nothing else.
- Button 'Plot 1e-11' only has one label towards the top.
There seems to be a hard cutoff around 3e-11. I have tried both autoscaling and manually setting the min and max for the Y-axis (left axis). Neither seems to make a difference in this behavior.
Thanks,
Scott
- Attachments
-
- TeeChart Label Test.zip
- (48.19 KiB) Downloaded 433 times
Re: Left Axis Labeling
Hello,
I've moved your test application to Delphi and reduced it to the minimum and I'm still able to reproduce the problem here so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1390
Feel free to add your mail to the CC list to be automatically notified when an update arrives.
I've moved your test application to Delphi and reduced it to the minimum and I'm still able to reproduce the problem here so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1390
Feel free to add your mail to the CC list to be automatically notified when an update arrives.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |