IChart.OverlapCoef

Syntax

OverlapCoef: Double;

Description

The OverlapCoef property determines the width of series overlapping. The series are overlapped in all points of a chart.

Comments

Width of overlapping must be within the range [-1.0; 1.0]. If the overlapping width is a negative value, there is a gap between the series.

This property is available for a histogram only.

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 bar type, execute the command:

Chart.Type := 1 As ChartType.

Sub Overlap;

Var

Chart: IChart;

Begin

Chart.OverlapCoef := 0.5;

End Sub Overlap;

After executing the example bar overlapping is set for the chart.

See below examples of charts with negative (left) and positive (right) value of overlapping width:

See also:

IChart