Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Chart User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

6.3 Vertical Bar Graphs

The Vertical Bar axis types are used to plot data values as bars which extend vertically. The bars for the data objects in a group are spaced evenly across the horizontal axis.

The data axis (Y) is defined by an SRGDecimalScale object or SRGLogScale for logarithmic scaling or SRGDateScale for date/time values. The other axis (X) is defined by SRGIndexScale. The annotations from the data items (indices) in group 0 are used to label the axis.

The methods described above for changing the scaling and appearance of Classic axes also apply here.

These axis types are supported by:

6.3.1 Vertical Bar Graphs

Figure 76: CX_GRAPH_VBAR

In a Vertical Bar graph, the data values are indicated by the vertical extent of individual rectangles.

The bars' appearance is determined by the settings in the style member of the individual data items. If the interior and frame styles of a data item are set to NONE, the style of the first group is used (SRGraphDataList object).

Classic or Iso Classic Axis. One group per series.

6.3.2 Extended Vertical Bar Graphs

Figure 77: CX_GRAPH_EX_VBAR

The Extended Vertical Bar style gives the bars and axes a 3-D look.

The bars' appearance is determined by the settings in the style member of the individual data items. If the interior and frame styles of a data item are set to NONE, the style of the first group is used (SRGraphDataList object).

Classic or Iso Classic Axis. One group per series.

6.3.3 Stacked Vertical Bar Graphs

Figure 78: CX_GRAPH_STACK_VBAR

In a Stacked Vertical Bar graph, the bars for different groups are displayed one behind another, rather than side-by-side. The values from the different groups are not summed. The Strata Vertical Bar graph is what some users expect for a stacked bar graph.

The bars' appearance is determined by the settings in the style member of the individual data items. If the interior and frame styles of a data item are set to NONE, the style of the first group is used (SRGraphDataList object).

Classic or Iso Classic Axis. One group per series.

6.3.4 Strata Vertical Bar Graphs

Figure 79: CX_GRAPH_STRATAVBAR

A Strata Vertical Bar graph is what others might call a stacked bar graph. It shows the summed total of a particular index over all groups. The length of the combined bar represents the total over all groups. Areas within the bar show how much each group contributes to the total. For example, a strata bar chart could be used to show the market share of individual car manufacturers (groups) over several years (indices).

Because negative values can not be represented, a standard bar chart is drawn if the data contain negative values.

The bars' appearance is determined by the settings in the style member of the individual data items. If the interior and frame styles of a data item are set to NONE, the style of the first group is used (SRGraphDataList object).

Classic or Iso Classic Axis. One group per series. One bar per index.

6.3.5 Strata Vertical Bar by Group Graphs

CX_GRAPH_STRATAVBARG

This graph style reverses the roles of groups and indices from those of the previous style. A bar is drawn for each group, with segments showing the contributions of each index.

The bars' appearance is determined by the settings in the style member of the individual data items. If the interior and frame styles of a data item are set to NONE, then the global style of this display component is used.

Classic or Iso Classic Axis. One index per series. One bar per group.

6.3.6 100% Strata Vertical Bar Graphs

Figure 80: CX_GRAPH_STRATAVBAR100

100% Strata Vertical Bar graphs are similar to Strata bar graphs, except all the combined bars have the same height. Like a Pie graph, the relative importance of the contributing factors is displayed. These graphs highlight the variation of these contributions with time or place. In this style, a bar is drawn for each index with segments showing each group's relative contributions.

Because negative values can not be represented, a standard bar chart is drawn if the data contain negative values.

The bars' appearance is determined by the settings in the style member of the individual data items. If the interior and frame styles of a data item are set to NONE, the style of the first group is used (SRGraphDataList object).

Classic or Iso Classic Axis. One group per series. One bar per index.

6.3.7 100% Strata Vertical Bar by Group Graph

CX_GRAPH_STRATAVBARG100

This graph style reverses the roles of groups and indices from those of the previous style. A bar is drawn for each group with segments showing the relative contributions of each index.

The bars' appearance is determined by the settings in the style member of the individual data items. If the interior and frame styles of a data item are set to NONE, then the global style of this display component is used.

Classic or Iso Classic Axis. One index per series. One bar per group.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.