Package org.zkoss.chart.plotOptions
Class AreaRangePlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.SeriesPlotOptions
-
- org.zkoss.chart.plotOptions.AreaPlotOptions
-
- org.zkoss.chart.plotOptions.AreaRangePlotOptions
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
- Direct Known Subclasses:
AreaSplineRangePlotOptions
public class AreaRangePlotOptions extends AreaPlotOptions
An options for area range 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 AreaRangePlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RangeDataLabels
getDataLabels()
Returns the first or single option of data labels.Number
getLineWidth()
Returns pixel width of the arearange graph line.Shadow
getShadow()
Returns whether to apply a drop shadowboolean
getTrackByArea()
Returns whether the whole area or just the line should respond to mouseover tooltips and other mouse or touch events.boolean
isShadow()
Returns whether to apply a drop shadowprotected DataLabels
newDataLabels()
Internal method for subclasses to provide specific type of data labels.void
setLineWidth(Number lineWidth)
Sets pixel width of the arearange graph line.void
setShadow(boolean shadow)
Sets whether to apply a drop shadowvoid
setShadow(Shadow shadow)
Sets whether to apply a drop shadowvoid
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.AreaPlotOptions
getFillColor, getFillOpacity, getLineColor, getNegativeFillColor, setFillColor, setFillColor, setFillColor, setFillColor, setFillOpacity, setLineColor, setLineColor, setLineColor, setLineColor, setNegativeFillColor, setNegativeFillColor, setNegativeFillColor, setNegativeFillColor
-
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, getDataLabelsList, getDataSorting, getDepth, 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, isShowCheckbox, isShowInLegend, isSkipKeyboardNavigation, isSoftThreshold, isStacking, isStickyTracking, isVisible, 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, setLinkedTo, setMarker, setName, setNeckHeight, setNeckWidth, setNegativeColor, setNegativeColor, setNegativeColor, setNegativeColor, setOnPoint, setOpacity, setPointDescriptionFormatter, setPointInterval, setPointIntervalUnit, setPointPlacement, setPointPlacement, setPointStart, setRelativeXValue, setSelected, 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
-
getLineWidth
public Number getLineWidth()
Returns pixel width of the arearange graph line.Default: 1.
- Overrides:
getLineWidth
in classSeriesPlotOptions
-
setLineWidth
public void setLineWidth(Number lineWidth)
Sets pixel width of the arearange graph line.- Overrides:
setLineWidth
in classSeriesPlotOptions
-
isShadow
public boolean isShadow()
Returns whether to apply a drop shadowDefault: false.
- Overrides:
isShadow
in classSeriesPlotOptions
- See Also:
Shadow
-
getShadow
public Shadow getShadow()
Returns whether to apply a drop shadowDefault:
Shadow.NONE
.- See Also:
Shadow
-
setShadow
public void setShadow(boolean shadow)
Sets whether to apply a drop shadow- Overrides:
setShadow
in classSeriesPlotOptions
-
setShadow
public void setShadow(Shadow shadow)
Sets whether to apply a drop shadow- See Also:
Shadow
-
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: true.
- Overrides:
getTrackByArea
in classAreaPlotOptions
-
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.- Overrides:
setTrackByArea
in classAreaPlotOptions
-
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 RangeDataLabels getDataLabels()
Description copied from class:SeriesPlotOptions
Returns the first or single option of data labels.- Overrides:
getDataLabels
in classSeriesPlotOptions
-
-