ChartDirector 7.1 (.NET Edition)

BarLayer.setOverlapRatio


Usage

[C#]public void setOverlapRatio(double overlapRatio [, bool firstOnTop ]);
[VB]Public Sub setOverlapRatio(overlapRatio As Double [, firstOnTop As Boolean ])

Description

Sets overlapping among bars in within a bar group in a multi-bar chart.

By default, in a multi-bar chart, the bars are not overlapped, but are separated with a gap in between. This method can be used to set an alternative style, where the bars partially overlap.

Arguments

ArgumentDefaultDescription
overlapRatio(Mandatory)The overlapping ratio between adjacent bars in a bar group. Should be between 0 to 1.
firstOnToptrueIf this value is true, the first data set will be on top of the second data during overlapping, and the second data set will be on top of the third data set, and so on. If this value is false, then the overlapping order will be reversed.

Return Value

None