Module org.wicketstuff.jqplot4j
Package org.wicketstuff.jqplot.lib.chart
Class BarChart<T extends Number>
java.lang.Object
org.wicketstuff.jqplot.lib.chart.AbstractChart<BarData<T>,Long>
org.wicketstuff.jqplot.lib.chart.BarChart<T>
- All Implemented Interfaces:
Serializable,Chart<BarData<T>>
Simple implementation of Bar Chart. This class can/should be extended.
- Author:
- inaiat
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(Collection<T> value) Add a value for bar chartvoidaddValues(Collection<T>... value) Add a value for bar chartvoidAdd a value for bar chartReturn chart configurationReturn chart data.Methods inherited from class org.wicketstuff.jqplot.lib.chart.AbstractChart
addIntervalColors, addIntervals, addSerie, addSeries, addSeriesColors, addSeriesColors, getAxes, getAxesDefaults, getCanvasOverlay, getGridPadding, getSeries, getSeriesColors, getSeriesDefaults, getTitle, getXAxis, getYAxis, setAxes, setAxesDefaults, setBarMargin, setBubbleAlpha, setCaptureRightClick, setDataLabels, setFill, setFillZero, setGridPadding, setHighlightAlpha, setHighlightMouseDown, setLabelX, setLabelY, setLegend, setLineWidth, setSeries, setSeriesColors, setSeriesDefaults, setShadow, setShadowAlpha, setShowDataLabels, setShowLabels, setSimpleTitle, setSliceMargin, setStackSeries, setTitle
-
Constructor Details
-
BarChart
public BarChart()Construtor -
BarChart
Construtor- Parameters:
title- Set title of bar chart
-
BarChart
Construtor- Parameters:
title- TiltelabelX- Label for axis xlabelY- Label for axis y
-
-
Method Details
-
addValue
Add a value for bar chart- Parameters:
value- Set collection of values
-
addValues
Add a value for bar chart- Parameters:
value- Set collection of values
-
addValues
Add a value for bar chart- Parameters:
values- Set values
-
getChartData
Description copied from interface:ChartReturn chart data.- Returns:
- charData
-
getChartConfiguration
Description copied from interface:ChartReturn chart configuration- Specified by:
getChartConfigurationin interfaceChart<T extends Number>- Specified by:
getChartConfigurationin classAbstractChart<BarData<T extends Number>,Long> - Returns:
- chartConfiguration
-