ChartDirector 7.0 (ASP/COM/VB Edition)
PieChart.
Usage
Description
Example | Description |
---|---|
2D Pie Shading | Illustrates various shading effects for 2D pies. |
3D Pie Shading | Illustrates various shading effects for 3D pies. |
2D Donut Shading | Illustrates various shading effects for 2D donuts. |
3D Donut Shading | Illustrates various shading effects for 3D donuts. |
Constant | Value | Description |
---|---|---|
DefaultShading | 0 | This is the default shading method. The top surfaces are shaded with flat colors. For 3D sectors, the cylindrical surfaces are shaded with cylindrical lighting effects. |
FlatShading | 1 | All surfaces are shaded with flat colors. |
LocalGradientShading | 2 | The top surfaces are shaded with linear gradient colors. For each sector, the gradient is from the bottom of the sector bounding box to the top of the sector bounding box, with the bottom side brighter and the top side darker. For 3D sectors, the cylindrical surfaces are shaded with cylindrical lighting effects. |
GlobalGradientShading | 3 | The top surfaces are shaded with linear gradient colors. The gradient is from the bottom the pie bounding box to the top of the pie bounding box, with the bottom side brighter and the top side darker. For 3D sectors, the cylindrical surfaces are shaded with cylindrical lighting effects. |
ConcaveShading | 4 | The top surfaces are shaded with a special effect so that they look concave, with the pie center appears to be depressed relative to the perimeter. For 3D sectors, the cylindrical surfaces are shaded with cylindrical lighting effects. |
RoundedEdgeShading | 6 | The top surfaces are shaded with a special effect so that the pie looks raised with a rounded raised edge at the perimeter. |
RadialShading | 7 | The top surfaces are shaded with radial gradient colors, with the pie center brighter and the perimeter darker. For 3D sectors, the cylindrical surfaces are shaded with cylindrical lighting effects. |
RingShading | 8 | This effect is intended to be used with 2D donut charts only. The top surfaces are shaded with a special effect so that a 2D donut will look like a torus. |
Arguments
Argument | Default | Description |
---|---|---|
shadingMethod | (Mandatory) | The sector shading style to use, which must be one of the constants in the table above. -1 means to keep the existing value unchanged. |
edgeColor | -1 | The edge color of the sectors. -1 means to keep the existing value unchanged. |
edgeWidth | -1 | The edge width of the sectors. -1 means to keep the existing value unchanged. |
Return Value