The normbar glyph creates a set of stacked bars with each bar in the stack with a length equal to the data value provided in a column of the statsDFrame data.frame. Since the stacked bar diagrams contain multiple bars, the data in the statsDFrame must provide the data in consecutive columns. The first column in the series is specified in panelDesc data.frame in col1. The last column in the sequence is specified in col2. The stacked bars can contain from 2 to 9 bars.
The normbar graphic converts the length for each bar to values that will sum up to 100. Each normbar is drawn with bars from the left to right edge of the panel.
Each bar is filled with the same color as the area the data represents. The transparency of the color varies from left to right and a line is used to separate each bar for an area.
None
Jim Pearson, StatNet Consulting, LLC, Gaithersburg, MD
The stacked normal bars only use the panelDesc col1, col2, lab1, lab2, lab3, lab4, refVal, and refTxt variable. The glyph uses the R draw rectangle function to draw and fill each part of the stack.
In the details data.frames there is a SNBar.varht (a logical variable) that is used to indicate to the gryphic whether to use variable height bars in the gryphic or not. By default the value is set to FALSE. When set to TRUE, all Center Segmented Stacked Bar Charts will have their bars vary in height from the left to the right.
The colors used in each segment are adjusted based on the number of segments in the glyph. If 5 bar are being displayed, the 1/5, 2/5, 3/5, and so on of the original color are used to fill in each bar as transparent colors. The last bar is always 100
The following is an example of a section of a normalized stacked bar glyph in a linked micromap:
The stacked bar glyphs have a unique property. The height of each segment can vary from small to full height from left to right. While the colors of the segments are varied in intensity from The following is an example of a section of a time series glyph in a linked micromap:
To have micromapST do variable heights in the Segmented Stacked Bar, and Normalized Stacked Bar, the detail call parameter is used to enable the feature.
details=list(SNBar.varht=TRUE,...)
The statsDFrame and panelDesc data.frames reside in the global environment and automatically accessible to the process along with several other major structures.
micromapST