Package org.zkoss.chart.plotOptions
Class PolygonPlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.SeriesPlotOptions
-
- org.zkoss.chart.plotOptions.PolygonPlotOptions
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class PolygonPlotOptions extends SeriesPlotOptions
An option for polygon 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 PolygonPlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getLineColor()
Returns a separate color for the graph line.boolean
getTrackByArea()
Returns whether the whole area or just the line should respond to mouseover tooltips and other mouse or touch events.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
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
-
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.
-
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
.
-
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
.
-
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
.
-
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
.
-
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.
- 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
-
-