ChartDirector 7.0 (Python Edition)

Pie Charts


In this section, we will discuss how to create pie charts using ChartDirector through a number of examples.

TitleDescription
Simple Pie ChartDemonstrates the basic steps in creating pie charts.
3D Pie ChartExtends the Simple Pie Chart example by drawing the chart in 3D, adding a title, and exploding a sector.
Multi-Depth Pie ChartDemonstrates a 3D pie chart where sectors have different 3D heights.
Side Label LayoutDemonstrates the "side label layout" method for positioning the sector labels. Also demonstrates metallic background colors, and sector labels with glass shading effect and rounded corners.
Circular Label LayoutDemonstrates label positioning in the "circular label layout" method.
Pie Chart with Legend (1)Demonstrates how to add a legend box to a pie chart. Also demonstrates alternative sector label format and rounded edge sector shading.
Pie Chart with Legend (2)Demonstrates a pie chart with a legend box, together with many effects, such as gradient color background, rounded frame, soft drop shadow, custom sector colors, sector gradient shading, customized sector labels and using CDML and Parameter Substitution and Formatting to format legend text.
Exploded Pie ChartDemonstrates a pie chart with all sectors exploded. Also demonstrates many effects, such as gradient color background, rounded frame, soft drop shadow, custom sector colors, sector gradient shading, thick sector border, and using CDML and Parameter Substitution and Formatting to format sector labels.
Icon Pie Chart (1)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 (1) 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 ChartDemonstrates drawing multiple pies with different data and colors. Also demonstrates putting labels on the sectors and using sector borders.
Donut ChartDemonstrates a donut chart with ring shading effects. Also demonstrates brushed metal background, rounded frame, customized sector labels and using CDML and Parameter Substitution and Formatting to format legend text.
3D Donut ChartDemonstrates a 3D donut chart with sector gradient shading. Also demonstrates gradient color background, rounded frame, custom sector colors, and using CDML and Parameter Substitution and Formatting to format sector labels
Icon Donut ChartModifies the Icon Pie Chart example by using a semi-transparent donut instead of a pie, and using metallic background color.
Texture Donut ChartDemonstrates wooden, rocky and marble texture effects by using pattern colors to load image patterns.
Concentric Donut ChartDemonstrates creating concentric donut chart by merging two donuts of different radii.
2D Pie ShadingDemonstrates various sector shading effects applicable to 2D pie charts.
3D Pie ShadingDemonstrates various sector shading effects applicable to 3D pie charts.
2D Donut ShadingDemonstrates various sector shading effects applicable to 2D donut charts.
3D Donut ShadingDemonstrates various sector shading effects applicable to 3D donut charts.
Text Styles and ColorsDemonstrates various text styles, text colors, background colors and text box border effects.
3D AngleDemonstrates the effects of different 3D angles.
3D DepthDemonstrates the effects of different 3D depths.
3D Shadow ModeDemonstrates an alternative 3D drawing method that uses shadows.
Start Angle and DirectionDemonstrates different sector layout angles and directions.
Donut WidthDemonstrates the effects of different donut widths.