Package org.zkoss.chart.plotOptions
Class ScatterPlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.SeriesPlotOptions
-
- org.zkoss.chart.plotOptions.ScatterPlotOptions
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
- Direct Known Subclasses:
Scatter3DPlotOptions
public class ScatterPlotOptions extends SeriesPlotOptions
An option for scatter plotAll the options in this class support
DynamicalAttribute
.- Author:
- RaymondChao
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description ScatterPlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cluster
getCluster()
Returns the options for marker clusters, the concept of sampling the data values into larger blocks in order to ease readability and increase performance of the JavaScript charts.Number
getDepth()
Returns the total depth of the chart.Number
getHeight()
Returns the height of the scatter plot.Jitter
getJitter()
Apply a jitter effect for the rendered markers.Number
getLineWidth()
Returns the width of the line connecting the data points.Number
getWidth()
Returns the width of the scatter plot.boolean
isStickyTracking()
Returns sticky tracking of mouse events.void
setCluster(Cluster cluster)
Sets the options for marker clusters, the concept of sampling the data values into larger blocks in order to ease readability and increase performance of the JavaScript charts.void
setDepth(Number depth)
Sets the total depth of the chart.void
setHeight(Number height)
Sets the height of the scatter plot.void
setJitter(Jitter jitter)
Apply a jitter effect for the rendered markers.void
setLineWidth(Number lineWidth)
Sets the width of the line connecting the data points.void
setStickyTracking(boolean stickyTracking)
Sets sticky tracking of mouse events.void
setWidth(Number width)
Sets the width of the scatter plot.-
Methods inherited from class org.zkoss.chart.plotOptions.SeriesPlotOptions
addDataLabels, getAccessibility, getAnimation, getAnimationLimit, getBoostBlending, getBoostThreshold, getBorderRadius, getBorderWidth, getClassName, getColor, getColorAxis, getColorIndex, getColorKey, getConnectorWidth, getCropThreshold, getCursor, getCustom, getDashStyle, getDataLabels, getDataLabelsList, getDataSorting, getDescription, getDragDrop, getFindNearestPointBy, getGroupPadding, getId, getIndex, getKeys, getLabel, getLegendSymbol, getLinecap, 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, isShowInLegend, isSkipKeyboardNavigation, isSoftThreshold, isStacking, isVisible, newDataLabels, setAccessibility, setAllowPointSelect, setAnimation, setAnimation, setAnimationLimit, setBoostBlending, setBoostThreshold, setBorderRadius, setBorderRadius, setBorderWidth, setCenter, setCenter, 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, setLinkedTo, setMarker, setName, setNeckHeight, setNeckWidth, setNegativeColor, setNegativeColor, setNegativeColor, setNegativeColor, setOnPoint, setOpacity, setPointDescriptionFormatter, setPointInterval, setPointIntervalUnit, setPointPlacement, setPointPlacement, setPointStart, setRelativeXValue, setSelected, setShadow, setShowCheckbox, setShowInLegend, 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
-
getCluster
public Cluster getCluster()
Returns the options for marker clusters, the concept of sampling the data values into larger blocks in order to ease readability and increase performance of the JavaScript charts.Default: an instance of Cluster.
- Since:
- 10.2.1.0
-
setCluster
public void setCluster(Cluster cluster)
Sets the options for marker clusters, the concept of sampling the data values into larger blocks in order to ease readability and increase performance of the JavaScript charts.Default: an instance of Cluster.
- Since:
- 10.2.1.0
-
getDepth
public Number getDepth()
Returns the total depth of the chart.Default: null.
- Overrides:
getDepth
in classSeriesPlotOptions
-
setDepth
public void setDepth(Number depth)
Sets the total depth of the chart.- Overrides:
setDepth
in classSeriesPlotOptions
- Parameters:
depth
- the total depth of the chart. Defaults to 100.
-
getHeight
public Number getHeight()
Returns the height of the scatter plot.Default: null.
- Returns:
- the height of the scatter plot.
-
setHeight
public void setHeight(Number height)
Sets the height of the scatter plot.
-
getJitter
public Jitter getJitter()
Apply a jitter effect for the rendered markers. When plotting discrete values, a little random noise may help telling the points apart. The jitter setting applies a random displacement of up to n axis units in either direction. So for example on a horizontal X axis, setting the jitter.x to 0.24 will render the point in a random position between 0.24 units to the left and 0.24 units to the right of the true axis position. On a category axis, setting it to 0.5 will fill up the bin and make the data appear continuous. When rendered on top of a box plot or a column series, a jitter value of 0.24 will correspond to the underlying series' default groupPadding and pointPadding settings.- Since:
- 7.2.1.0
-
setJitter
public void setJitter(Jitter jitter)
Apply a jitter effect for the rendered markers. When plotting discrete values, a little random noise may help telling the points apart. The jitter setting applies a random displacement of up to n axis units in either direction. So for example on a horizontal X axis, setting the jitter.x to 0.24 will render the point in a random position between 0.24 units to the left and 0.24 units to the right of the true axis position. On a category axis, setting it to 0.5 will fill up the bin and make the data appear continuous. When rendered on top of a box plot or a column series, a jitter value of 0.24 will correspond to the underlying series' default groupPadding and pointPadding settings.- Since:
- 7.2.1.0
-
getLineWidth
public Number getLineWidth()
Returns the width of the line connecting the data points.Default: 0
- Overrides:
getLineWidth
in classSeriesPlotOptions
-
setLineWidth
public void setLineWidth(Number lineWidth)
Sets the width of the line connecting the data points. 'lineWidth the width of the line connecting the data points.- Overrides:
setLineWidth
in classSeriesPlotOptions
-
isStickyTracking
public boolean isStickyTracking()
Returns sticky tracking of mouse events. When true, themouseOut
event on a series isn't triggered until the mouse moves over another series, or out of the plot area. When false, themouseOut
event on a series is triggered when the mouse leaves the area around the series' graph or markers. This also implies the tooltip. WhenstickyTracking
is false andtooltip.shared
is false, the tooltip will be hidden when moving the mouse between series.- Overrides:
isStickyTracking
in classSeriesPlotOptions
-
setStickyTracking
public void setStickyTracking(boolean stickyTracking)
Sets sticky tracking of mouse events. When true, themouseOut
event on a series isn't triggered until the mouse moves over another series, or out of the plot area. When false, themouseOut
event on a series is triggered when the mouse leaves the area around the series' graph or markers. This also implies the tooltip. WhenstickyTracking
is false andtooltip.shared
is false, the tooltip will be hidden when moving the mouse between series.- Overrides:
setStickyTracking
in classSeriesPlotOptions
-
getWidth
public Number getWidth()
Returns the width of the scatter plot.Default: null.
- Returns:
- the width of the scatter plot.
-
setWidth
public void setWidth(Number width)
Sets the width of the scatter plot.
-
-