ChartDirector 6.0 (C++ Edition)

AngularMeter.setMeter


Usage

void setMeter(int cx, int cy, int radius, double startAngle, double endAngle);

Description

Sets the position and angle range of the meter.

Arguments

ArgumentDefaultDescription
cx(Mandatory)The x-coordinate of the center of the meter.
cy(Mandatory)The y-coordinate of the center of the meter.
radius(Mandatory)The radius of the meter.
startAngle(Mandatory)The start angle of the meter. The angle is measured in degrees clockwise, with 0 being the upward pointing direction.
endAngle(Mandatory)The end angle of the meter. The angle is measured in degrees clockwise, with 0 being the upward pointing direction.

Return Value

None