ChartDirector 6.0 (C++ Edition)

PolarLayer.setAngles


Usage

void setAngles(DoubleArray angles);

Description

Sets the angular coordinates of the data points.

Note that the angular coordinates are measured using the scale of the angular axis, which may not be in degrees or radians. See AngularAxis.setLabels and AngularAxis.setLinearScale on how the angular axis scale is defined.

If this method is not called, the first data point is assumed to have an angular coordinate of 0, and the nth data point is assumed to have an angular coordinate of (n - 1). This is common for radar charts, in which enumerated scale is used for the angular axis (see AngularAxis.setLabels).

Arguments

ArgumentDefaultDescription
angles(Mandatory)An array of numbers representing the angular coordinates of the data points.

Return Value

None