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>>
public class BarChart<T extends Number> extends AbstractChart<BarData<T>,Long>
Simple implementation of Bar Chart. This class can/should be extended.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(Collection<T> value)Add a value for bar chartvoidaddValues(Collection<T>... value)Add a value for bar chartvoidaddValues(T... values)Add a value for bar chartChartConfiguration<Long>getChartConfiguration()Return chart configurationBarData<T>getChartData()Return 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 Detail
-
BarChart
public BarChart()
Construtor
-
BarChart
public BarChart(String title)
Construtor- Parameters:
title- Set title of bar chart
-
-
Method Detail
-
addValue
public void addValue(Collection<T> value)
Add a value for bar chart- Parameters:
value- Set collection of values
-
addValues
public void addValues(Collection<T>... value)
Add a value for bar chart- Parameters:
value- Set collection of values
-
addValues
public void addValues(T... values)
Add a value for bar chart- Parameters:
value- Set values
-
getChartData
public BarData<T> getChartData()
Description copied from interface:ChartReturn chart data.- Returns:
- charData
-
getChartConfiguration
public ChartConfiguration<Long> 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
-
-