I've tried this using both TeeChart201664.ocx and TeeChart201964.ocx, but I can't get it to behave and can't seem to find a way to force it.
I've turned off "automatic" and set my left axis limits manually. The editor shows that this setting has 'taken' but the chart refuse to draw to the specified limit.
In this case the maximum is set to 170, but the chart will only draw to 160.
Is there some other setting that I haven't considered? In the same process of calculating the left-axis limits I set the right-axis limits and that behaves as I'd expect.
Chart Refuses To Draw Axis As Specified
Re: Chart Refuses To Draw Axis As Specified
Nevermind - I figured out I need to call AdjustMinMax after SetMinMax for the axis. This is not clear in the documentation, but arguably shouldn't be necessary? If "Automatic" is FALSE doesn't setting the min/max imply that I want to use those limits?
Re: Chart Refuses To Draw Axis As Specified
Hello,
Calling SetMinMax is usually enough to reflect the changes immediatelly. If it doesn't it may be because some other setting in the chart is impeding it. Do you have AutoRepaint set to false?
If you still find problems with it, please arrange a simple example project we can run as-is to reproduce the problem here.
Calling SetMinMax is usually enough to reflect the changes immediatelly. If it doesn't it may be because some other setting in the chart is impeding it. Do you have AutoRepaint set to false?
If you still find problems with it, please arrange a simple example project we can run as-is to reproduce the problem here.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |