Package org.zkoss.chart.plotOptions
Class NetworkGraphPlotOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.SeriesPlotOptions
-
- org.zkoss.chart.plotOptions.NetworkGraphPlotOptions
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class NetworkGraphPlotOptions extends SeriesPlotOptions
An option for networkgraph plot.All 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 NetworkGraphPlotOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkGraphDataLabels
getDataLabels()
Returns the first or single option of data labels.boolean
getDraggable()
Returns the flag to determine if nodes are draggable or not.NetworkGraphLayoutAlgorithm
getLayoutAlgorithm()
Returns the layoutAlgorithm options, if any.NetworkGraphLink
getLink()
Returns the link style options, if any.protected DataLabels
newDataLabels()
Internal method for subclasses to provide specific type of data labels.void
setDraggable(boolean draggable)
Sets the flag to determine if nodes are draggable or not.void
setLayoutAlgorithm(NetworkGraphLayoutAlgorithm layoutAlgorithm)
Sets the layoutAlgorithm options.void
setLink(NetworkGraphLink link)
Sets the link style options.-
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, 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, 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
-
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 NetworkGraphDataLabels getDataLabels()
Description copied from class:SeriesPlotOptions
Returns the first or single option of data labels.- Overrides:
getDataLabels
in classSeriesPlotOptions
-
getDraggable
public boolean getDraggable()
Returns the flag to determine if nodes are draggable or not.Default: true
-
setDraggable
public void setDraggable(boolean draggable)
Sets the flag to determine if nodes are draggable or not.
-
getLayoutAlgorithm
public NetworkGraphLayoutAlgorithm getLayoutAlgorithm()
Returns the layoutAlgorithm options, if any. Otherwise, create a new one.
-
setLayoutAlgorithm
public void setLayoutAlgorithm(NetworkGraphLayoutAlgorithm layoutAlgorithm)
Sets the layoutAlgorithm options.
-
getLink
public NetworkGraphLink getLink()
Returns the link style options, if any. Otherwise, create a new one.
-
setLink
public void setLink(NetworkGraphLink link)
Sets the link style options.
-
-