IChart.GapWidthCoef

Syntax

GapWidthCoef: Double;

Description

The GapWidthCoef property determines width of gap between bars of a histogram.

Comments

The specified gap width must be within the range [0.0, 5.0].

The GapWidthCoef property is set to 1.5 by default.

Example

This example assumes that there is the Chart object of the IChart type. The chart must be a bar chart. To transform a chart into this type, execute the command:

Chart.Type := ChartType.Bars.

Sub UserProc;
Begin
    Chart.Type := ChartType.Bars;
    Chart.GapWidthCoef := 0;
End Sub UserProc;

After executing the example the gap between chart bars is equal to zero.

See also:

IChart