ChartDirector Ver 4.1 (PHP 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 LayoutThis method demonstrates the "side label layout" method for positioning the sector labels.
Pie with Small SectorsDemonstrates 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 LayoutDemonstrates various options in the "circular label layout" method. Also demonstrates the use of alternative sector label format.
Pie Chart with LegendDemonstrates how to add a legend box to a pie chart. Also demonstrates the use of alternative sector label format.
Icon Pie ChartDemonstrates 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 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. 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 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.
Text Styles and ColorsDemonstrates various text styles, text colors, background colors and text box border effects.
Coloring and WallpaperDemonstrates different coloring schemes and background 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.