ChartDirector 7.1 (C++ Edition)

LinearMeter.setRail


Usage

void setRail(int railColor, int railWidth = 2, int railOffset = 6);

Description

Sets the position, width and color of the pointer rail.

The pointer rail is the line on which the pointer slides on the meter. The pointer rail is at the opposite side of the meter scale.

Arguments

ArgumentDefaultDescription
railColor(Mandatory)The color of the pointer rail.
railWidth2The line width of the the pointer rail in pixels.
railOffset6The gap between the pointer rail and the meter scale in pixels. A negative value means the pointer rail is inside the meter scale region.

Return Value

None