Bar Graphs

A bar graph is a graph in which data is represented as a series of bars.

Standard use of a bar graph

Use bar graphs to show the following aspects of data:

Available varieties of bar graphs

The following types of bar graphs are available:

These types can also have the following axis arrangements:

The following table shows which of the axis arrangements are available for the different bar graph types.

Single Y-Axis

Dual Y-Axis

Split Dual Y-Axis

Clustered: BAR_VERT_CLUST, BAR_HORIZ_CLUST

Clustered:BAR_VERT_CLUST2Y, BAR_HORIZ_CLUST2Y

Clustered: BAR_VERT_CLUST_SPLIT2Y, BAR_HORIZ_CLUST_SPLIT2Y

Stacked: BAR_VERT_STACK, BAR_HORIZ_STACK

Stacked: BAR_VERT_STACK2Y, BAR_HORIZ_STACK2Y

Stacked: BAR_VERT_STACK_SPLIT2Y, BAR_HORIZ_STACK_SPLIT2Y

Percentage: BAR_VERT_PERCENT, BAR_HORIZ_PERCENT

NA

NA

Graph properties for bar graphs

The following properties of the Graph object affect bar graphs:

Data structure of a bar graph

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

Example of a clustered bar graph.

The data structure for bar graphs is as follows:

Data guidelines for bar graphs

Bar graph data has the following guidelines:

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