Package org.zkoss.chart.plotOptions
Class PackedBubblePlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.SeriesPlotOptions
-
- org.zkoss.chart.plotOptions.ColumnPlotOptions
-
- org.zkoss.chart.plotOptions.BubblePlotOptions
-
- org.zkoss.chart.plotOptions.PackedBubblePlotOptions
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class PackedBubblePlotOptions extends BubblePlotOptions
An option for packed bubble plot.All 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 PackedBubblePlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PackedBubbleDataLabels
getDataLabels()
Returns the first or single option of data labels.PackedBubbleLayoutAlgorithm
getLayoutAlgorithm()
Return options for layout algorithm when simulation is enabled, if any.PackedBubbleParentNode
getParentNode()
Returns series options for parent nodes.boolean
isDraggable()
Flag to determine if nodes are draggable or not.boolean
isUseSimulation()
Returns an option is giving a possibility to choose between using simulation for calculating bubble positions.protected DataLabels
newDataLabels()
Internal method for subclasses to provide specific type of data labels.void
setDraggable(boolean draggable)
Flag to determine if nodes are draggable or not.void
setLayoutAlgorithm(PackedBubbleLayoutAlgorithm layoutAlgorithm)
Sets options for layout algorithm when simulation is enabled.void
setParentNode(PackedBubbleParentNode parentNode)
Sets series options for parent nodes.void
setUseSimulation(boolean useSimulation)
Sets an option is giving a possibility to choose between using simulation for calculating bubble positions.-
Methods inherited from class org.zkoss.chart.plotOptions.BubblePlotOptions
getCropThreshold, getJitter, getMaxSize, getMinSize, getNegativeColor, getSizeBy, getZMax, getZMin, getZThreshold, isDisplayNegative, isSizeByAbsoluteValue, setCropThreshold, setDisplayNegative, setJitter, setMaxSize, setMinSize, setNegativeColor, setNegativeColor, setNegativeColor, setNegativeColor, setSizeBy, setSizeByAbsoluteValue, setZMax, setZMin, setZThreshold
-
Methods inherited from class org.zkoss.chart.plotOptions.ColumnPlotOptions
getBorderColor, getBorderRadius, getBorderWidth, getColors, getEdgeColor, getEdgeWidth, getGroupPadding, getGroupZPadding, getMaxPointWidth, getMinPointLength, getPointPadding, getPointRange, getPointWidth, isCenterInCategory, isCrisp, isGrouping, setBorderColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setCenterInCategory, setColors, setColors, setCrisp, setEdgeColor, setEdgeColor, setEdgeWidth, setGrouping, setGroupPadding, setGroupZPadding, setMaxPointWidth, setMinPointLength, setPointPadding, setPointRange, setPointWidth
-
Methods inherited from class org.zkoss.chart.plotOptions.SeriesPlotOptions
addDataLabels, getAccessibility, getAnimation, getAnimationLimit, getBoostBlending, getBoostThreshold, getClassName, getColor, getColorAxis, getColorIndex, getColorKey, getConnectorWidth, getCursor, getCustom, getDashStyle, getDataLabelsList, getDataSorting, getDepth, getDescription, getDragDrop, getFindNearestPointBy, getId, getIndex, getKeys, getLabel, getLegendSymbol, getLinecap, getLineWidth, getLinkedTo, getMarker, getName, getNeckHeight, getNeckWidth, getOnPoint, getOpacity, getPointDescriptionFormatter, getPointInterval, getPointIntervalUnit, getPointPlacement, getPointStart, getStacking, getStates, getStep, getThreshold, getTooltip, getTurboThreshold, getZoneAxis, getZones, isAllowPointSelect, isAnimation, isClip, isColorByPoint, isConnectEnds, isConnectNulls, isDataAsColumns, isEnableMouseTracking, isGetExtremesFromAll, isIncludeInDataExport, isRelativeXValue, isSelected, isShadow, isShowCheckbox, isShowInLegend, isSkipKeyboardNavigation, isSoftThreshold, isStacking, isStickyTracking, isVisible, setAccessibility, setAllowPointSelect, setAnimation, setAnimation, setAnimationLimit, setBoostBlending, setBoostThreshold, setBorderRadius, setBorderRadius, setCenter, setCenter, setClassName, setClip, setColor, setColor, setColor, setColor, setColorAxis, setColorAxis, setColorAxis, setColorByPoint, setColorIndex, setColorKey, setConnectEnds, setConnectNulls, setConnectorWidth, setCursor, setCustom, setDashStyle, setDataAsColumns, setDataLabels, setDataLabels, setDataSorting, setDepth, setDescription, setDragDrop, setEnableMouseTracking, setFindNearestPointBy, setGetExtremesFromAll, setId, setIncludeInDataExport, setIndex, setKeys, setLabel, setLegendSymbol, setLinecap, setLineWidth, setLinkedTo, setMarker, setName, setNeckHeight, setNeckWidth, setOnPoint, setOpacity, setPointDescriptionFormatter, setPointInterval, setPointIntervalUnit, setPointPlacement, setPointPlacement, setPointStart, setRelativeXValue, setSelected, setShadow, setShowCheckbox, setShowInLegend, setSkipKeyboardNavigation, setSoftThreshold, setStacking, setStacking, setStates, setStep, setStickyTracking, 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
-
newDataLabels
protected DataLabels newDataLabels()
Description copied from class:SeriesPlotOptions
Internal method for subclasses to provide specific type of data labels.- Overrides:
newDataLabels
in classSeriesPlotOptions
-
getDataLabels
public PackedBubbleDataLabels getDataLabels()
Description copied from class:SeriesPlotOptions
Returns the first or single option of data labels.- Overrides:
getDataLabels
in classSeriesPlotOptions
-
isDraggable
public boolean isDraggable()
Flag to determine if nodes are draggable or not.Default:
true
- Since:
- 10.2.1.0
-
setDraggable
public void setDraggable(boolean draggable)
Flag to determine if nodes are draggable or not.Default:
true
- Since:
- 10.2.1.0
-
getParentNode
public PackedBubbleParentNode getParentNode()
Returns series options for parent nodes.Default: an instance of
PackedBubbleParentNode
- Since:
- 10.2.1.0
-
setParentNode
public void setParentNode(PackedBubbleParentNode parentNode)
Sets series options for parent nodes.- Since:
- 10.2.1.0
-
getLayoutAlgorithm
public PackedBubbleLayoutAlgorithm getLayoutAlgorithm()
Return options for layout algorithm when simulation is enabled, if any. Otherwise, create a new one.
-
setLayoutAlgorithm
public void setLayoutAlgorithm(PackedBubbleLayoutAlgorithm layoutAlgorithm)
Sets options for layout algorithm when simulation is enabled.
-
isUseSimulation
public boolean isUseSimulation()
Returns an option is giving a possibility to choose between using simulation for calculating bubble positions. These reflects in both animation and final position of bubbles. Simulation is also adding options to the series graph based on used layout. In case of big data sets, with any performance issues, it is possible to disable animation and pack bubble in a simple circular way.Default: true
-
setUseSimulation
public void setUseSimulation(boolean useSimulation)
Sets an option is giving a possibility to choose between using simulation for calculating bubble positions. These reflects in both animation and final position of bubbles. Simulation is also adding options to the series graph based on used layout. In case of big data sets, with any performance issues, it is possible to disable animation and pack bubble in a simple circular way.
-
-