Horizontal Bar Graphs

The Horizontal Bar axis types are used to plot data values as bars which extend horizontally.

  • CX_AXIS_YX displays a numeric x-axis scale.

  • CX_AXIS_DATE_YX displays a date scale.

  • The isographic axis types, CX_AXIS_ISO_CLASSIC_YX and CX_AXIS_ISO_DATE_YX, add a pseudo three-dimensional look.

The data axis (X) is defined by an SRGDecimalScale object or SRGLogScale for logarithmic scaling, or SRGDateScale for date/time values. The other axis (Y) 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.

When horizontal bar charts are used in a compound display, SRGraphStyle::SetHgraph(TRUE) must be called for the axes to be drawn correctly.

Axis types are supported by:

  • Horizontal Bar graphs

  • Extended Horizontal Bar graphs

  • Stacked Horizontal Bar graphs

  • Strata Horizontal Bar graphs

  • Strata Horizontal Bar by Group graphs

  • 100% Strata Horizontal Bar graphs

  • 100% Strata Horizontal Bar by Group graphs