In Arif,
In ChartDirector, a pie chart is in 3D only if you use PieChart.set3D to configure it to be in 3D. If you remove that line, the PieChart will become 2D.
For XYChart layers (such as bar layers), the layer will be in 3D only if your code use Layer.set3D to configure it in 3D, or provide a 3D depth in addBarLayer2 (or addLineLayer2, etc). If you remove the set3D line or remove the depth in addBarLayer2, etc, the chart will be in 2D.
In brief, by default, the pie chart and all XYChart layers should be in 2D. They are in 3D only if you have added code to set them to 3D. If you remove those code, the chart will return to 2D.
Hope this can help.
Regards
Peter Kwan |