ITChart.CustomChartRect
ITChart

property CustomChartRect: WordBool;

Type Library
TeeChartx

Description
Default is False.

Gets or sets a flag indicating the ChartRect (TRect) public variable should be automatically calculated or not.

By default Charts automatically calculate the ChartRect rectangle based on the size of Chart margins, bevels, border, and the size of Axis Ticks, Labels and Axis LabelsFont size.

You can customize ChartRect to fixed pixel values by setting CustomChartRect property to True.

Example:

TChart1.CustomChartRect = True

TChart1.ChartRect(35, 60, 22, 40)