In this section, we will discuss how to create pie charts using ChartDirector through a number of examples.
Title | Description |
Simple Pie Chart | Demonstrates the basic steps in creating pie charts. |
3D Pie Chart | Extends the Simple Pie Chart example by drawing the chart in 3D, adding a title, and exploding a sector. |
Multi-Depth Pie Chart | Demonstrates a 3D pie chart where sectors have different 3D heights. |
Side Label Layout | This method demonstrates the "side label layout" method for positioning the sector labels. |
Pie with Small Sectors | Demonstrates how "side label layout" can avoid sector labels from overlapping. Also demonstrates metallic background colors, and sector labels with glass shading effect and rounded corners. |
Circular Label Layout | Demonstrates various options in the "circular label layout" method. Also demonstrates the use of alternative sector label format. |
Pie Chart with Legend | Demonstrates how to add a legend box to a pie chart. Also demonstrates the use of alternative sector label format. |
Icon Pie Chart | Demonstrates using CDML and Parameter Substitution and Formatting to include icons in sector labels. Also demonstrates gradient background color, glass shading effect for the title and rounded corners for the chart frame. |
Icon Pie Chart (2) | Extends the Icon Pie Chart example to demonstrate using CDML to include multiple fonts and colors in chart title, sector labels and to draw logo. Also demonstrates silver background color, rounded corners, and glass shading effect for title. |
Multi-Pie Chart | Demonstrates drawing multiple pies with different data and colors. Also demonstrates putting labels on the sectors and using sector borders. |
Donut Chart | Demonstrates a donut chart. Also demonstrates other chart effects, such as using CDML to nicely format sector labels, silver background color, rounded corners, and glass shading effect for title and sector labels. |
Icon Donut Chart | Modifies the Icon Pie Chart example by using a semi-transparent donut instead of a pie, and using metallic background color. |
Texture Donut Chart | Demonstrates wooden, rocky and marble texture effects by using pattern colors to load image patterns. |
Concentric Donut Chart | Demonstrates creating concentric donut chart by merging two donuts of different radii. |
Text Styles and Colors | Demonstrates various text styles, text colors, background colors and text box border effects. |
Coloring and Wallpaper | Demonstrates different coloring schemes and background effects. |
3D Angle | Demonstrates the effects of different 3D angles. |
3D Depth | Demonstrates the effects of different 3D depths. |
3D Shadow Mode | Demonstrates an alternative 3D drawing method that uses shadows. |
Start Angle and Direction | Demonstrates different sector layout angles and directions. |
Donut Width | Demonstrates the effects of different donut widths. |