Package org.zkoss.chart.plotOptions
Class BellCurvePlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.SeriesPlotOptions
-
- org.zkoss.chart.plotOptions.BellCurvePlotOptions
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class BellCurvePlotOptions extends SeriesPlotOptions
An option for bell curve 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 BellCurvePlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getFillColor()
Returns fill color or gradient for the area.Number
getFillOpacity()
Returns fill opacity for the area, arearange, areaspline, areasplinerange, bellcurve, and streamgraph.Number
getIntervals()
Returns the length of the bell curve.Color
getLineColor()
Returns a separate color for the graph line.Color
getNegativeFillColor()
Returns a separate color for the negative part of the area.Number
getPointsInInterval()
Returns how many points should be plotted within 1 interval.boolean
getTrackByArea()
Returns whether the whole area or just the line should respond to mouseover tooltips and other mouse or touch events.void
setFillColor(String color)
Sets fill color or gradient for the area.void
setFillColor(Color color)
Sets fill color or gradient for the area.void
setFillColor(LinearGradient color)
Sets fill color or gradient for the area.void
setFillColor(RadialGradient color)
Sets fill color or gradient for the area.void
setFillOpacity(Number fillOpacity)
Sets fill opacity for the area, arearange, areaspline, areasplinerange, bellcurve, and streamgraph.void
setIntervals(Number intervals)
Sets the length of the bell curve.void
setLineColor(String color)
Sets a separate color for the graph line.void
setLineColor(Color color)
Sets a separate color for the graph line.void
setLineColor(LinearGradient color)
Sets a separate color for the graph line.void
setLineColor(RadialGradient color)
Sets a separate color for the graph line.void
setNegativeFillColor(String color)
Sets a separate color for the negative part of the area.void
setNegativeFillColor(Color color)
Sets a separate color for the negative part of the area.void
setNegativeFillColor(LinearGradient color)
Sets a separate color for the negative part of the area.void
setNegativeFillColor(RadialGradient color)
Sets a separate color for the negative part of the area.void
setPointsInInterval(Number pointsInInterval)
Sets how many points should be plotted within 1 interval.void
setTrackByArea(boolean trackByArea)
Sets whether the whole area or just the line should respond to mouseover tooltips and other mouse or touch events.-
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, getDepth, 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, isShowInLegend, isSkipKeyboardNavigation, isSoftThreshold, isStacking, isStickyTracking, 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, setDepth, 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, 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
-
getFillColor
public Color getFillColor()
Returns fill color or gradient for the area. Whennull
, the series'color
is used with the series'fillOpacity
.Default: null.
- Since:
- 10.2.1.0
-
setFillColor
public void setFillColor(Color color)
Sets fill color or gradient for the area. Whennull
, the series'color
is used with the series'fillOpacity
.- Since:
- 10.2.1.0
-
setFillColor
public void setFillColor(String color)
Sets fill color or gradient for the area. Whennull
, the series'color
is used with the series'fillOpacity
.- Since:
- 10.2.1.0
-
setFillColor
public void setFillColor(LinearGradient color)
Sets fill color or gradient for the area. Whennull
, the series'color
is used with the series'fillOpacity
.- Since:
- 10.2.1.0
-
setFillColor
public void setFillColor(RadialGradient color)
Sets fill color or gradient for the area. Whennull
, the series'color
is used with the series'fillOpacity
.- Since:
- 10.2.1.0
-
getFillOpacity
public Number getFillOpacity()
Returns fill opacity for the area, arearange, areaspline, areasplinerange, bellcurve, and streamgraph.Default: 0.75.
- Since:
- 10.2.1.0
-
setFillOpacity
public void setFillOpacity(Number fillOpacity)
Sets fill opacity for the area, arearange, areaspline, areasplinerange, bellcurve, and streamgraph.- Since:
- 10.2.1.0
-
getIntervals
public Number getIntervals()
Returns the length of the bell curve. A unit of the length of the bell curve is standard deviation.Default: 3
- Since:
- 7.2.1.0
-
setIntervals
public void setIntervals(Number intervals)
Sets the length of the bell curve. A unit of the length of the bell curve is standard deviation.- Since:
- 7.2.1.0
-
getLineColor
public Color getLineColor()
Returns a separate color for the graph line. By default the line takes thecolor
of the series, but the lineColor setting allows setting a separate color for the line without altering thefillColor
.Default: null.
- Since:
- 10.2.1.0
-
setLineColor
public void setLineColor(Color color)
Sets a separate color for the graph line. By default the line takes thecolor
of the series, but the lineColor setting allows setting a separate color for the line without altering thefillColor
.- Since:
- 10.2.1.0
-
setLineColor
public void setLineColor(String color)
Sets a separate color for the graph line. By default the line takes thecolor
of the series, but the lineColor setting allows setting a separate color for the line without altering thefillColor
.- Since:
- 10.2.1.0
-
setLineColor
public void setLineColor(LinearGradient color)
Sets a separate color for the graph line. By default the line takes thecolor
of the series, but the lineColor setting allows setting a separate color for the line without altering thefillColor
.- Since:
- 10.2.1.0
-
setLineColor
public void setLineColor(RadialGradient color)
Sets a separate color for the graph line. By default the line takes thecolor
of the series, but the lineColor setting allows setting a separate color for the line without altering thefillColor
.- Since:
- 10.2.1.0
-
getNegativeFillColor
public Color getNegativeFillColor()
Returns a separate color for the negative part of the area.Default: null.
- Since:
- 10.2.1.0
-
setNegativeFillColor
public void setNegativeFillColor(Color color)
Sets a separate color for the negative part of the area.Default: null.
- Since:
- 10.2.1.0
-
setNegativeFillColor
public void setNegativeFillColor(String color)
Sets a separate color for the negative part of the area.Default: null.
- Since:
- 10.2.1.0
-
setNegativeFillColor
public void setNegativeFillColor(LinearGradient color)
Sets a separate color for the negative part of the area.Default: null.
- Since:
- 10.2.1.0
-
setNegativeFillColor
public void setNegativeFillColor(RadialGradient color)
Sets a separate color for the negative part of the area.Default: null.
- Since:
- 10.2.1.0
-
getPointsInInterval
public Number getPointsInInterval()
Returns how many points should be plotted within 1 interval. SeegetIntervals()
.Default: 3
- Since:
- 7.2.1.0
-
setPointsInInterval
public void setPointsInInterval(Number pointsInInterval)
Sets how many points should be plotted within 1 interval. SeegetIntervals()
.- Since:
- 7.2.1.0
-
getTrackByArea
public boolean getTrackByArea()
Returns whether the whole area or just the line should respond to mouseover tooltips and other mouse or touch events.Default: false.
- Since:
- 10.2.1.0
-
setTrackByArea
public void setTrackByArea(boolean trackByArea)
Sets whether the whole area or just the line should respond to mouseover tooltips and other mouse or touch events.- Since:
- 10.2.1.0
-
-