Package com.storedobject.chart
Class DonutChart
- All Implemented Interfaces:
Component,ComponentPart,ComponentProperty,HasAnimation,HasData,HasEmphasis,HasPolarProperty,HasPosition
- Direct Known Subclasses:
NightingaleRoseChart
Donut chart.
(Future versions will provide more chart-specific methods).
- Author:
- Syam
-
Nested Class Summary
Nested classes/interfaces inherited from class com.storedobject.chart.Chart
Chart.Emphasis, Chart.Label, Chart.LabelPosition -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.DonutChart(AbstractDataProvider<?> itemNames, DataProvider values) Constructor. -
Method Summary
Methods inherited from class com.storedobject.chart.PieChart
encodeJSON, getPolarProperty, setData, setItemNames, setPolarPropertyMethods inherited from class com.storedobject.chart.SelfPositioningChart
getPosition, setPositionMethods inherited from class com.storedobject.chart.AbstractChart
setData, setData, setType, validateMethods inherited from class com.storedobject.chart.Chart
addParts, dataToEmbed, dataValue, dataValueIndex, declareData, getAnimation, getCoordinateSystem, getData, getEmphasis, getItemStyle, getLabel, getLabelName, getMarkArea, getMax, getMin, getName, getTooltip, getType, mainData, plotOn, plotOn, setAnimation, setColors, setCustomRenderer, setEmphasis, setItemStyle, setLabel, setMarkArea, setName, setTooltip, typeValueMethods inherited from class com.storedobject.chart.AbstractPart
equals, getId, getLabelTag, getSerial, getZ, hashCode, hasId, setSerial, setZMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.chart.ComponentPart
className, getId, getRenderingIndex, getSerial, setRenderingIndex, setSerialMethods inherited from interface com.storedobject.chart.HasPolarProperty
setHoleRadius, setRadius
-
Constructor Details
-
DonutChart
public DonutChart()Constructor. -
DonutChart
Constructor.- Parameters:
itemNames- Item names of the slices.values- Values of the slices.
-