ChartDirector Ver 3.0 (C++ Edition)

CandleStickLayer.setDataGap


Usage

void setDataGap(double gap);

Description

Set the gap between two adjacent candlesticks.

Arguments

ArgumentDefaultDescription
gap(Mandatory)The gap between two adjacent candlesticks as the portion of the space between the midpoints of the candlesticks. The gap must be in the range 0 - 1. A value of 0 means there is no gap between two adjacent candlesticks. The default value is 0.1.

Return Value

None