formatting axis labels
Posted: Mon Oct 16, 2017 8:42 pm
In the TeeChart Pro v2017 VCL/FMX library reference and user guide it shows using an exponent as follows:
However, that variable does not seem to exist. I did find that I could use the following to provide the format:
Is that the correct way? It "works" except the label is too high so that the scale labels drop down and covers part of the title for the bottom axis as shown in the attachment. Is there a way to fix this? Looks rather ugly!
Is my copy of the User Guide out of date? It does say v2017.
Thanks
Code: Select all
TChart1.Axis.Left.Labels.Exponent:=True ;
TChart1.Axis.Left.Labels.ValueFormat:="00e-0" ;
Code: Select all
Chart.Axes.Bottom.AxisValuesFormat := s;
Chart.Axes.bottom.LabelsExponent := true;
Is my copy of the User Guide out of date? It does say v2017.
Thanks