Package com.storedobject.svg.chart
Class VerticalBars
java.lang.Object
com.storedobject.svg.Node
com.storedobject.svg.chart.Chart
com.storedobject.svg.chart.VerticalBars
- All Implemented Interfaces:
Serializable
Vertical Bar Chart. The width is automatically adjusted based on the number of bars.
- Author:
- Syam
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.VerticalBars(int barHeight) Constructor with height.VerticalBars(Values values, int barHeight) Constructor with values and bar-height. -
Method Summary
Methods inherited from class com.storedobject.svg.chart.Chart
addValue, addValue, colorize, compute, extraContent, getValues, isBuilt, setLabelName, setUnit, setValueName, tagMethods inherited from class com.storedobject.svg.Node
attributes, copy, copy, createDocument, equals, escapeXml, flipHorizontally, flipHorizontallyAroundOrigin, flipVertically, flipVerticallyAroundOrigin, getCoordinates, getId, getMargin, getSvg, hashCode, id, ID, IDValue, innerContent, moveTo, moveTo, rotate, rotateAround, rotateAround, rotateAroundCenter, scale, scale, scaleHeightTo, scaleTo, scaleWidthTo, styles, toString, toString, transform, translate, translate
-
Constructor Details
-
VerticalBars
public VerticalBars()Constructor. -
VerticalBars
public VerticalBars(int barHeight) Constructor with height.- Parameters:
barHeight- Height of the chart longest bar.
-
VerticalBars
Constructor with values and bar-height.- Parameters:
values- Values to be plotted.barHeight- Bar-height of the longest bar.
-
-
Method Details
-
build
-