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 should fall 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 bar chart only.

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 bar type, run the following 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