Module org.wicketstuff.jqplot4j
Package org.wicketstuff.jqplot.lib.chart
Class PieChart<T extends Number>
java.lang.Object
org.wicketstuff.jqplot.lib.chart.AbstractChart<PieData<T>,String>
org.wicketstuff.jqplot.lib.chart.PieChart<T>
- All Implemented Interfaces:
Serializable,Chart<PieData<T>>
Simple implementation of Pie Chart. This class can/should be extended.
- Author:
- inaiat
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddValue(LabeledItem<T> value) voidaddValues(LabeledItem<T>... 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
-
PieChart
public PieChart()Construtor -
PieChart
Construtor- Parameters:
title- The title
-
-
Method Details
-
addValue
- Parameters:
label- labelvalue- value
-
addValue
- Parameters:
value- value
-
addValues
- Parameters:
values- values
-
getChartData
Description copied from interface:ChartReturn chart data.- Returns:
- chartData
-
getChartConfiguration
Description copied from interface:ChartReturn chart configuration- Specified by:
getChartConfigurationin interfaceChart<T extends Number>- Specified by:
getChartConfigurationin classAbstractChart<PieData<T extends Number>,String> - Returns:
- chartConfiguration
-