Package com.storedobject.svg.chart
Class Bars
- All Implemented Interfaces:
Serializable
Horizontal Bar Chart. The height is automatically adjusted based on the number of bars.
- Author:
- Syam
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
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, 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
-
Bars
public Bars()Constructor. -
Bars
public Bars(int width) Constructor with width.- Parameters:
width- Width of the chart.
-
Bars
Constructor with values and bar-length.- Parameters:
values- Values to be plotted.barLength- Bar-length of the longest bar.
-
-
Method Details
-
build
-