ChartDirector 7.1 (C++ Edition)

LineLayer.setGapColor


Usage

void setGapColor(int lineColor, int lineWidth = -1);

Description

Sets the color and style of the line used for jumping across NoValue data points.

By default, the color of the line for jumping across NoValue data points is Transparent, which means the line will become discontinuous.

Arguments

ArgumentDefaultDescription
lineColor(Mandatory)The line color of the line used for jumping across NoValue data points
lineWidth-1The line width of the line used for jumping across NoValue data points. -1 means the width will be the same as the line width of the line for drawing normal data points.

Return Value

None