Package org.wicketstuff.jqplot.lib.chart
Class BubbleChart
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.chart.AbstractChart<BubbleData<BubbleItem>,String>
-
- org.wicketstuff.jqplot.lib.chart.BubbleChart
-
- All Implemented Interfaces:
Serializable,Chart<BubbleData<BubbleItem>>
public class BubbleChart extends AbstractChart<BubbleData<BubbleItem>,String>
Simple implementation of Bubble Chart. This class can/should be extended.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BubbleChart()ConstrutorBubbleChart(String title)Construtor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(Float x, Float y, Float radius, String label)Add a valuevoidaddValue(Integer x, Integer y, Integer radius, String label)Add a valuevoidaddValue(BubbleItem item)Add a valueChartConfiguration<String>getChartConfiguration()Return chart configurationBubbleData<BubbleItem>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
-
BubbleChart
public BubbleChart()
Construtor
-
BubbleChart
public BubbleChart(String title)
Construtor- Parameters:
title- The title
-
-
Method Detail
-
getChartData
public BubbleData<BubbleItem> getChartData()
Description copied from interface:ChartReturn chart data.- Returns:
- chartData
-
addValue
public void addValue(BubbleItem item)
Add a value- Parameters:
item- Add aBubbleItem
-
addValue
public void addValue(Float x, Float y, Float radius, String label)
Add a value- Parameters:
x- xy- yradius- radiuslabel- label
-
addValue
public void addValue(Integer x, Integer y, Integer radius, String label)
Add a value- Parameters:
x- xy- yradius- radiuslabel- label
-
getChartConfiguration
public ChartConfiguration<String> getChartConfiguration()
Description copied from interface:ChartReturn chart configuration- Specified by:
getChartConfigurationin interfaceChart<BubbleData<BubbleItem>>- Specified by:
getChartConfigurationin classAbstractChart<BubbleData<BubbleItem>,String>- Returns:
- chartConfiguration
-
-