Package org.zkoss.chart.plotOptions
Class ContourPlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.SeriesPlotOptions
-
- org.zkoss.chart.plotOptions.ContourPlotOptions
-
- All Implemented Interfaces:
Serializable,OptionDataListener,org.zkoss.json.JSONAware
public class ContourPlotOptions extends SeriesPlotOptions
Options for a contour plot.The plot is drawn with WebGPU from the color axis colors, which must be plain colors such as "#3060cf". Set the stops, or the min and max colors, of the color axis: the default colors are CSS variables, which draw the plot black. The width of the contour lines only takes effect when set on the series, with
Series.setLineWidth(Number).All the options in this class support
DynamicalAttribute.- Since:
- 13.1.1.0
- Author:
- peggypeng
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description ContourPlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumbergetContourInterval()Returns the spacing between contour lines.NumbergetContourOffset()Returns the value offset applied to the first contour line.ColorgetLineColor()Returns the color of the contour lines.booleanisSmoothColoring()Returns whether color bands between contour lines are blended smoothly or rendered as discrete steps.voidsetContourInterval(Number contourInterval)Sets the spacing between contour lines.voidsetContourOffset(Number contourOffset)Sets the value offset applied to the first contour line.voidsetLineColor(String color)Sets the color of the contour lines.voidsetLineColor(Color color)Sets the color of the contour lines.voidsetSmoothColoring(boolean smoothColoring)Sets whether color bands between contour lines are blended smoothly (true) or rendered as discrete steps (false).-
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, getGapSize, getGapUnit, 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, isZoomEnabled, 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, setGapSize, setGapUnit, 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, setPointStart, setRelativeXValue, setSelected, setShadow, setShowCheckbox, setShowInLegend, setSkipKeyboardNavigation, setSoftThreshold, setStacking, setStacking, setStates, setStep, setStickyTracking, setThreshold, setTooltip, setTurboThreshold, setVisible, setWidth, setZoneAxis, setZones, setZones, setZoomEnabled
-
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
-
getContourInterval
public Number getContourInterval()
Returns the spacing between contour lines.Default:
null- Since:
- 13.1.1.0
-
setContourInterval
public void setContourInterval(Number contourInterval)
Sets the spacing between contour lines.- Since:
- 13.1.1.0
-
getContourOffset
public Number getContourOffset()
Returns the value offset applied to the first contour line. Shifts the entire contour pattern along the value axis without changing the spacing defined bygetContourInterval().Default: 0
- Since:
- 13.1.1.0
-
setContourOffset
public void setContourOffset(Number contourOffset)
Sets the value offset applied to the first contour line.- Since:
- 13.1.1.0
-
getLineColor
public Color getLineColor()
Returns the color of the contour lines.Default:
null- Since:
- 13.1.1.0
-
setLineColor
public void setLineColor(Color color)
Sets the color of the contour lines. Defaults to "#000000".- Since:
- 13.1.1.0
-
setLineColor
public void setLineColor(String color)
Sets the color of the contour lines. Defaults to "#000000".- Since:
- 13.1.1.0
-
isSmoothColoring
public boolean isSmoothColoring()
Returns whether color bands between contour lines are blended smoothly or rendered as discrete steps. Whentrue, adjacent bands interpolate into each other for a continuous appearance.Default:
false- Since:
- 13.1.1.0
-
setSmoothColoring
public void setSmoothColoring(boolean smoothColoring)
Sets whether color bands between contour lines are blended smoothly (true) or rendered as discrete steps (false).- Since:
- 13.1.1.0
-
-