Jump to content
Sign in to follow this  
AndreasSt

TChart TChartAxis LabelsGridIgnoresLabelSize property not existing in delphi13

Recommended Posts

Hello,

I am using TChart in an FMX Application and have set the property "LabelsGridIgnoresLabelSize" of my Bottom Axis to True.

After switching to Delphi13 this property is not existing anymore.

The property allows to show the labels of the axis very close together. In this case you have to be careful that there is no overlapping but I need this property so my small chart shows the labels.

If I did not set the property the automatic overlapping cheking algorithm from the chart will lead to the situation that not all labels are shown.

So question is: Whats the alternative for the property "LabelsGridIgnoresLabelSize" because it seem that the property is removed in the new version of tchart.

Thanks

Share this post


Link to post

I see a LabelsSeparation for each Axis which when set to 0, from what I can tell anyway, turns off keeping them from overlapping. 

Share this post


Link to post

Yes Chart1.Axes.Left.Texts.Separation :=0 should do this, just punt one label after the other.

The 0 value means the percentage of distance between labels, relative to label's size (width or height).

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×