Hello,
When I try to set the Max value for scaling on the left axis to < 1 , say 0.4. it seems that Teechart automatically resets the value to 1 and the left axis ranges display from 0 to 1 and not 0 to 0.4.
Setting the Max value > 1 scales perfectly.
Any help greatly appreciated.
regards,
Trev
Scaling Max value less than 1
Hi Trev,
We couldn't reproduce your problem here using teechart 7.07. What version are you using?
The following code works for us:
Also you can try to type casting as follows:
If your problem persists, could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page
We couldn't reproduce your problem here using teechart 7.07. What version are you using?
The following code works for us:
Code: Select all
Chart1.Axes.Left.AutomaticMaximum := false;
Chart1.Axes.Left.Maximum := 0.4;
Code: Select all
Chart1.Axes.Left.AutomaticMaximum := false;
Chart1.Axes.Left.Maximum := (double)0.4;
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |