Package org.zkoss.chart.plotOptions
Class VariablePiePlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.SeriesPlotOptions
-
- org.zkoss.chart.plotOptions.PiePlotOptions
-
- org.zkoss.chart.plotOptions.VariablePiePlotOptions
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class VariablePiePlotOptions extends PiePlotOptions
An option for variable pie plotAll the options in this class support
DynamicalAttribute
.- Since:
- 7.2.1.0
- Author:
- rudyhuang
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description VariablePiePlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getMaxPointSize()
Returns the maximum size of the points' radius related to chart's plotArea.Object
getMinPointSize()
Returns the minimum size of the points' radius related to chart's plotArea.String
getSizeBy()
Returns whether the pie slice's value should be represented by the area or the radius of the slice.Number
getZMax()
Returns the maximum possible z value for the point's radius calculation.Number
getZMin()
Returns the minimum possible z value for the point's radius calculation.void
setMaxPointSize(Number maxPointSize)
Sets the maximum size of the points' radius related to chart's plotArea.void
setMaxPointSize(String maxPointSize)
Sets the maximum size of the points' radius related to chart's plotArea.void
setMinPointSize(Number minPointSize)
Sets the minimum size of the points' radius related to chart's plotArea.void
setMinPointSize(String minPointSize)
Sets the minimum size of the points' radius related to chart's plotArea.void
setSizeBy(String sizeBy)
Sets whether the pie slice's value should be represented by the area or the radius of the slice.void
setZMax(Number zMax)
Sets the maximum possible z value for the point's radius calculation.void
setZMin(Number zMin)
Sets the maximum possible z value for the point's radius calculation.-
Methods inherited from class org.zkoss.chart.plotOptions.PiePlotOptions
getBorderColor, getBorderWidth, getCenter, getColors, getDepth, getEndAngle, getFillColor, getInnerSize, getMinSize, getSize, getSlicedOffset, getStartAngle, getThickness, isIgnoreHiddenPoint, isShowInLegend, isStickyTracking, newDataLabels, setBorderColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setCenter, setCenter, setColors, setColors, setDepth, setEndAngle, setFillColor, setFillColor, setFillColor, setFillColor, setIgnoreHiddenPoint, setInnerSize, setInnerSize, setMinSize, setShowInLegend, setSize, setSize, setSlicedOffset, setStartAngle, setStickyTracking, setThickness
-
Methods inherited from class org.zkoss.chart.plotOptions.SeriesPlotOptions
addDataLabels, getAccessibility, getAnimation, getAnimationLimit, getBoostBlending, getBoostThreshold, getBorderRadius, getClassName, getColor, getColorAxis, getColorIndex, getColorKey, getConnectorWidth, getCropThreshold, getCursor, getCustom, getDashStyle, getDataLabels, getDataLabelsList, getDataSorting, getDescription, getDragDrop, getFindNearestPointBy, getGroupPadding, getId, getIndex, getKeys, getLabel, getLegendSymbol, getLinecap, getLineWidth, getLinkedTo, getMarker, getName, getNeckHeight, getNeckWidth, getNegativeColor, getOnPoint, getOpacity, getPointDescriptionFormatter, getPointInterval, getPointIntervalUnit, getPointPlacement, getPointStart, getStacking, getStates, getStep, getThreshold, getTooltip, getTurboThreshold, getZoneAxis, getZones, isAllowPointSelect, isAnimation, isCenterInCategory, isClip, isColorByPoint, isConnectEnds, isConnectNulls, isCrisp, isDataAsColumns, isEnableMouseTracking, isGetExtremesFromAll, isIncludeInDataExport, isRelativeXValue, isSelected, isShadow, isShowCheckbox, isSkipKeyboardNavigation, isSoftThreshold, isStacking, isVisible, setAccessibility, setAllowPointSelect, setAnimation, setAnimation, setAnimationLimit, setBoostBlending, setBoostThreshold, setBorderRadius, setBorderRadius, setCenterInCategory, setClassName, setClip, setColor, setColor, setColor, setColor, setColorAxis, setColorAxis, setColorAxis, setColorByPoint, setColorIndex, setColorKey, setConnectEnds, setConnectNulls, setConnectorWidth, setCrisp, setCropThreshold, setCursor, setCustom, setDashStyle, setDataAsColumns, setDataLabels, setDataLabels, setDataSorting, setDescription, setDragDrop, setEnableMouseTracking, setFindNearestPointBy, setGetExtremesFromAll, setGroupPadding, setId, setIncludeInDataExport, setIndex, setKeys, setLabel, setLegendSymbol, setLinecap, setLineWidth, setLinkedTo, setMarker, setName, setNeckHeight, setNeckWidth, setNegativeColor, setNegativeColor, setNegativeColor, setNegativeColor, setOnPoint, setOpacity, setPointDescriptionFormatter, setPointInterval, setPointIntervalUnit, setPointPlacement, setPointPlacement, setPointStart, setRelativeXValue, setSelected, setShadow, setShowCheckbox, setSkipKeyboardNavigation, setSoftThreshold, setStacking, setStacking, setStates, setStep, setThreshold, setTooltip, setTurboThreshold, setVisible, setWidth, setZoneAxis, setZones, setZones
-
Methods inherited from class org.zkoss.chart.Optionable
addExtraAttr, addOptionDataListener, clearOptonDataListener, clone, containsKey, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getAttr, getAttr, getClientState, getExtraAttr, merge, onChange, removeExtraAttr, removeKey, removeOptionDataListener, setAttr, setAttr, setAttr, setAttr, toJSONString, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.zkoss.chart.OptionDataListener
onChange
-
-
-
-
Method Detail
-
getMaxPointSize
public Object getMaxPointSize()
Returns the maximum size of the points' radius related to chart's plotArea. If a number is set, it applies in pixels.Default: "100%"
-
setMaxPointSize
public void setMaxPointSize(Number maxPointSize)
Sets the maximum size of the points' radius related to chart's plotArea. If a number is set, it applies in pixels.
-
setMaxPointSize
public void setMaxPointSize(String maxPointSize)
Sets the maximum size of the points' radius related to chart's plotArea.
-
getMinPointSize
public Object getMinPointSize()
Returns the minimum size of the points' radius related to chart's plotArea. If a number is set, it applies in pixels.Default: "10%"
-
setMinPointSize
public void setMinPointSize(Number minPointSize)
Sets the minimum size of the points' radius related to chart's plotArea. If a number is set, it applies in pixels.
-
setMinPointSize
public void setMinPointSize(String minPointSize)
Sets the minimum size of the points' radius related to chart's plotArea.
-
getSizeBy
public String getSizeBy()
Returns whether the pie slice's value should be represented by the area or the radius of the slice. Can be either area or radius. The default, area, corresponds best to the human perception of the size of each pie slice.Default: "area"
-
setSizeBy
public void setSizeBy(String sizeBy)
Sets whether the pie slice's value should be represented by the area or the radius of the slice. Can be either area or radius.
-
getZMax
public Number getZMax()
Returns the maximum possible z value for the point's radius calculation. If the point's Z value is bigger than zMax, the slice will be drawn according to the zMax value.Default: null
-
setZMax
public void setZMax(Number zMax)
Sets the maximum possible z value for the point's radius calculation. If the point's Z value is bigger than zMax, the slice will be drawn according to the zMax value.
-
getZMin
public Number getZMin()
Returns the minimum possible z value for the point's radius calculation. If the point's Z value is smaller than zMin, the slice will be drawn according to the zMin value.Default: null
-
setZMin
public void setZMin(Number zMin)
Sets the maximum possible z value for the point's radius calculation. If the point's Z value is smaller than zMin, the slice will be drawn according to the zMin value.
-
-