TeEngine.TChartAxis.CalcXYIncrement
 
 
 


TChartAxis.CalcXYIncrement
TChartAxis

function CalcXYIncrement(MaxLabelSize: Integer): TAxisValue;

Unit
TeEngine

Description
The CalcXYIncrement function returns the distance between axis labels expressed in axis scales.

This function applies to both Chart TCustomAxisPanel.BottomAxis and TCustomAxisPanel.TopAxis axis components.

Basically this function calculates the most appropiate TChartAxis.Increment to make Axis labels t overlapping/font>

The TChartAxis.TChartAxis.Increment property is used as a first increment to try. If Labels will overlap, a new and bigger increment is applied until labels fit on axis dimensions.

The TChartAxis.TChartAxis.LabelsSeparation controls the minimum amount of allowed distance between axis labels.

This function is called internally so you'll need to use in very special situations.



Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.