ChartDirector 7.1 (C++ Edition)

PieChart.set3D2


Usage

void set3D(DoubleArray depths, double angle = 45, bool shadowMode = false);

Description

Adds 3D effects to the pie, where each sector can have a different 3D depth.

Arguments

ArgumentDefaultDescription
depths(Mandatory)An array of integers representing the 3D depths for the sectors.
angle45The 3D view angle in degrees. Must be 0 - 90 for standard 3D mode, and 0 - 360 in shadow 3D mode. -1 means the angle is automatically determined.
shadowModefalseFlag to indicate whether the pie is in standard 3D or shadow 3D mode. A true value means shadow 3D mode. A false value means standard 3D mode.

Return Value

None