Package com.storedobject.chart
Class NightingaleRoseChart
- All Implemented Interfaces:
Component,ComponentPart,ComponentProperty,HasAnimation,HasData,HasEmphasis,HasPolarProperty,HasPosition
Nightingale Rose 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.NightingaleRoseChart(AbstractDataProvider<?> itemNames, DataProvider values) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidEncode the JSON string with the properties of this.voidHide the percentage representation.Methods inherited from class com.storedobject.chart.PieChart
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
-
NightingaleRoseChart
public NightingaleRoseChart()Constructor. -
NightingaleRoseChart
Constructor.- Parameters:
itemNames- Item names of the slices.values- Values of the slices.
-
-
Method Details
-
hidePercentage
public void hidePercentage()Hide the percentage representation. In this case, the angles of the slices will not represent the percentage values of the slices and values will be represented by the size of the radius of each slice. -
encodeJSON
Description copied from interface:ComponentPropertyEncode the JSON string with the properties of this.- Specified by:
encodeJSONin interfaceComponentProperty- Overrides:
encodeJSONin classPieChart- Parameters:
sb- Encoded JSON string to be appended to this.
-