property Graph.AutoFit as Boolean
Specifies whether the control resizes the elements of the series to fit the control's content

TypeDescription
Boolean A boolean expression that specifies whether the control resizes the elements of the series to fit the control's content
By default, the AutoFit property is False. The AutoFit property determines whether the control automatically resizes the elements of the series to ensure they fit within the control's content area. If the AutoFit property is True, the ValueSize property has no effect. The ValueSize property specifies the size to show a column or a bar within the chart. The ValueAutoFit method changes the control's ValueSize property so that the entire chart fits within the client rectangle.

The Type property specifies the type of the serie (the way the data is represented). The AutoFit property has effect for area-compatible chart type as follows: