A plugin renderer for jqPlot to draw a bar plot. Draws series as a line.
| $.jqplot. | A plugin renderer for jqPlot to draw a bar plot. |
| Properties | |
| barPadding | Number of pixels between adjacent bars at the same axis value. |
| barMargin | Number of pixels between groups of bars at adjacent axis values. |
| barDirection | ‘vertical’ = up and down bars, ‘horizontal’ = side to side bars |
| barWidth | Width of the bar in pixels (auto by devaul). |
| shadowOffset | offset of the shadow from the slice and offset of each succesive stroke of the shadow from the last. |
| shadowDepth | number of strokes to apply to the shadow, each stroke offset shadowOffset from the last. |
| shadowAlpha | transparency of the shadow (0 = transparent, 1 = opaque) |
| waterfall | true to enable waterfall plot. |
| varyBarColor | true to color each bar separately. |
Number of pixels between adjacent bars at the same axis value.
this.barPadding = 8
Number of pixels between groups of bars at adjacent axis values.
this.barMargin = 10
‘vertical’ = up and down bars, ‘horizontal’ = side to side bars
this.barDirection = 'vertical'
Width of the bar in pixels (auto by devaul).
this.barWidth = null
offset of the shadow from the slice and offset of each succesive stroke of the shadow from the last.
this.shadowOffset = 2
number of strokes to apply to the shadow, each stroke offset shadowOffset from the last.
this.shadowDepth = 5
transparency of the shadow (0 = transparent, 1 = opaque)
this.shadowAlpha = 0.08
true to enable waterfall plot.
this.waterfall = false
true to color each bar separately.
this.varyBarColor = false