Hi, I'm trying to set the "Show all labels" option for the Left axis through the API... is this possible?
e.g. I have a form which allows users to customize the Increment setting for the Y-Axis. In the example below, the user sets the increment to .5.
However, when the chart is generated, TChart determines whether there is enough room to display all the labels. If TChart decides to hide some incremental labels, the user is forced to manually configure the setting. We need to be able to check that box programmatically, so the extra step isn't necessary.
Thanks in advance,
-ChipS
Show All Labels option for left axis
Re: Show All Labels option for left axis
Hi Chris,
This checkbox internally sets the labels separation to 0 (when unchecked) or to 10 (when checked). The same can be done, for example with the following:
This checkbox internally sets the labels separation to 0 (when unchecked) or to 10 (when checked). The same can be done, for example with the following:
Code: Select all
TChart1.Axis.Left.Labels.Separation = 0
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |