Pie-Bar Graphs

A pie-bar graph is a graph in which data is represented as slices of a pie or ring, and the data that one of the pie slices shows is represented in more detail by a percentage bar that is connected to the slice. Each slice represents a total; the markers in the percentage bar represent the values that make up the total shown in one of the slices.

Standard use of a pie-bar graph

Pie-bar graphs are useful in showing the relationship of parts to the whole, while showing more detail for one of the parts.

For example, the pie or ring might show which product line accounts for the highest percentage of sales, and the bar might show the sales in that product line for each of the different districts.

Available varieties of pie-bar graphs

The following varieties of pie-bar graphs are available:

Graph properties for pie-bar graphs

The following properties of the Graph object affect pie-bar graphs:

Data structure of a pie-bar graph

The following figure shows the data structure of a pie-bar graph.

Sample pie-bar graph

The data structure of a pie-bar graph is as follows:

Data guidelines for pie-bar graphs

Pie-bar graph data has the following guidelines:

Example: Pie-bar graph data

This example shows pie-bar data.

Same image as previous

This example shows the same data in a grid. This example assumes that Graph.isDataRowShownAsASeries returns true.

empty cell Australia Asia Americas Europe
Audio Div 409726 861868 1495079 1968312
Video Div 307062 702414 1022541 1642478
Accessory 23600 71239 102493 162783

Handling Problems in Graph Data
Specifying Data for a Graph
Example: Setting JDBC Data on a Simple Graph
Example: Setting Data from a File on a Simple Graph