IChart.GapWidthCoef

Syntax

GapWidthCoef: Double;

Description

The GapWidthCoef property determines width of gap between bars of a bar chart.

Comments

Specified gap width should be included into a range of [0.0, 5.0].

By default the GapWidthCoef property has value 1.5.

Example

This example assumes that there is the Chart object of the IChart type. A bar chart should be used. To transform a chart to this type you need to run the following 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 columns is equal to zero.

See also:

IChart