Package org.wicketstuff.jqplot.lib.chart
Class PieDonutChart<T extends Number>
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.chart.AbstractChart<PieDonutData<T>,String>
-
- org.wicketstuff.jqplot.lib.chart.PieDonutChart<T>
-
- All Implemented Interfaces:
Serializable,Chart<PieDonutData<T>>
public class PieDonutChart<T extends Number> extends AbstractChart<PieDonutData<T>,String>
Simple implementation of Pie Donut Chart. This class can/should be extended.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PieDonutChart()ConstrutorPieDonutChart(String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(Collection<LabeledItem<T>> value)ChartConfiguration<String>getChartConfiguration()Return chart configurationPieDonutData<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
-
PieDonutChart
public PieDonutChart()
Construtor
-
PieDonutChart
public PieDonutChart(String title)
- Parameters:
title- The title
-
-
Method Detail
-
addValue
public void addValue(Collection<LabeledItem<T>> value)
- Parameters:
value- Collection ofLabeledItem
-
getChartData
public PieDonutData<T> getChartData()
Description copied from interface:ChartReturn chart data.- Returns:
- PieDonutData
-
getChartConfiguration
public ChartConfiguration<String> getChartConfiguration()
Description copied from interface:ChartReturn chart configuration- Specified by:
getChartConfigurationin interfaceChart<T extends Number>- Specified by:
getChartConfigurationin classAbstractChart<PieDonutData<T extends Number>,String>- Returns:
- chartConfiguration
-
-