Module org.wicketstuff.jqplot4j
Package org.wicketstuff.jqplot.lib.chart
Class BarSeriesChart<I extends Number,V extends Number>
java.lang.Object
org.wicketstuff.jqplot.lib.chart.AbstractChart<LineSeriesData<I,V>,String>
org.wicketstuff.jqplot.lib.chart.BarSeriesChart<I,V>
- All Implemented Interfaces:
Serializable,Chart<LineSeriesData<I,V>>
public class BarSeriesChart<I extends Number,V extends Number>
extends AbstractChart<LineSeriesData<I,V>,String>
Simple implementation of Bar Chart. This class can/should be extended.
- Author:
- inaiat
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstrutorBarSeriesChart(String title) ConstrutorBarSeriesChart(String title, String labelX, String labelY) Construtor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(Collection<LineSeriesItem<I, V>> value) voidaddValues(Collection<LineSeriesItem<I, V>>... values) Return 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
-
BarSeriesChart
public BarSeriesChart()Construtor -
BarSeriesChart
Construtor- Parameters:
title- Title for bar chart
-
BarSeriesChart
Construtor- Parameters:
title- TitlelabelX- label for axis xlabelY- label for axys y
-
-
Method Details
-
addValue
-
addValues
-
getChartData
Description copied from interface:ChartReturn chart data.- Returns:
ChartData
-
getChartConfiguration
Description copied from interface:ChartReturn chart configuration- Specified by:
getChartConfigurationin interfaceChart<I extends Number>- Specified by:
getChartConfigurationin classAbstractChart<LineSeriesData<I extends Number,V extends Number>, String> - Returns:
- chartConfiguration
-