Section 13: Configuring a Multiple Pie Chart

NOTE: Conventional Pie Charts show a proportional distribution of values relative to 100. Conventional Pie charts therefore are useful for displaying 1 vector, or column of information. A multiple Pie chart can show multiple vectors of data by proportionally distributing either, each row or parallel columns of data in a table of individual conventional pie charts.

When Completed

Your NetCharts Designer perspective will appear like this:
 
multipie

Getting Started

Start by closing any open editors. Go to NetCharts Designer’s File menu and select the Close All option.
 
Next, create a new project named MultiplePieChartProject.

Create the Dataset

From the toolbar click on the Create a New Dataset wizard. Name your new dataset data, select Hypersonic SQL from the Data Sources list, and click Next.
 
Enter the following query:

SELECT * FROM PAGEHITTABLE

into the SQL: text box in the SQL Parameters group, click Finish. Select the date format MMM-yy from the Date Format drop down menu in the General group. Four columns of data will be returned:
 
multipie

Create the Multiple Pie Chart

Now that we have created our dataset the next step is to create the Multi‐Pie chart. From the toolbar click on the Create a New Chart icon. Call it MultiPie, select MultiPie Chart for the type
 
multipie
 
and click Finish. Make the Multi Pie chart 700 pixels high. Select the Layout tree node, and set the Rows spinner to 5.

Bind Data to the Multiple Pie Chart

Now we must bind our data that we created in Step 2 to our Multiple Pie Chart. Select the Data Source Binding tab and under the Data tree control select Pie Slice Values. Choose data.ndx as your Data SourceClick the Select Columns and the Select Rows buttons.
 
multipie
 
Next select Pie Labels from the Data tree control, choose data.ndx as the Data Source. Select column 0 for the Pie Labels and click the Select Rows button.
 
multipie
 
Next select Legend Items from the Data tree control, choose data.ndx as the Data Source. Select Row 0 by checking the check box, and click the Select Columns button.
 
multipie

Additional Style

In the Presentation tab under the Multi Pie Chart tree control add a Chart title of Server Hit Distribution by Month, and select MultiPieTitleStyle. In the General group, Select redyellowgradient from the Background Style drop down menu, and select reds from the Default Colors drop down menu.
 
multipie