## Gallery - Bars (horizontal) | Welcome Gallery Handbook |
| Manual page for Gallery_-_Bars_(horizontal)(PL)

This page contains a series of horizontal bar graph, timeline, and proportional bars examples illustrating some of the available varieties and options. These examples all use ploticus's proc bars with the horizontalbars option.

#
Example 1 - script

hbars1
This example shows how horizontal bars can provide a compact format for displaying comparison data, especially when the category labels are long. It also demonstrates how selected bars may be highlighted by using a different color.

#
Example 2 - script

hbars2
Here, the category labels are within the bars.

#
Example 3 - script

hbars3
Stacked horizontal bars.

#
Example 4 - script

hbars5
Clustered horizontal bars.

#
Example 5 - script

hbars4
Reflected bar graphs. These are sometimes used to compare two sets of values. I personally don't like these, except perhaps when the number of categories is large, or when the nature of the data lends itself to such a display; I would prefer two-bar clusters.

#
Example 6 - script

distrib
Histograms.

#
Example 7 - script

timeline1
In this example, bars are used to represent time segments, showing the phases of a project. Use the segmentfields attribute.

#
Example 8 - script

timeline1a
Same as above, but with differnt colored bars.

#
Example 9 - script

timeline2
Another time line example. proc scatterplot was used to render the target date points.

#
Example 10 - script

sess2
Another time line example showing login sessions for one day.

#
Example 11 - script

timeline3
An example of a timetable.

#
Example 12 - script

propbars1
Here, the bar segments represent proportions of a whole. The stackfields attribute is used to position bars. This is the same type of look that a pie graph shows, but bars are usually more compact. See also propbars2, an example of vertical proportional bars.
data display engine
Copyright Steve Grubb

Markup created by unroff 1.0, `` `` September 14, 2001.