Package org.zkoss.chart.plotOptions
Class NetworkGraphLink
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.NetworkGraphLink
-
- All Implemented Interfaces:
Serializable,OptionDataListener,org.zkoss.json.JSONAware
public class NetworkGraphLink extends Optionable
Link style options.- 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 NetworkGraphLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColor()Returns the color of the link between two nodes.StringgetDashStyle()Returns a name for the dash style to use for links.NumbergetLength()Returns the length (px) of the link between two nodes.NumbergetWidth()Returns the width (px) of the link between two nodes.voidsetColor(String color)Sets the color of the link between two nodes.voidsetDashStyle(String dashStyle)Sets a name for the dash style to use for links.voidsetLength(Number length)Sets the length (px) of the link between two nodes.voidsetWidth(Number width)Sets the width (px) of the link between two nodes.-
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
-
-
-
-
Method Detail
-
getColor
public String getColor()
Returns the color of the link between two nodes.Default: rgba(100, 100, 100, 0.5)
-
setColor
public void setColor(String color)
Sets the color of the link between two nodes.
-
getDashStyle
public String getDashStyle()
Returns a name for the dash style to use for links.Default: null
-
setDashStyle
public void setDashStyle(String dashStyle)
Sets a name for the dash style to use for links.
-
getLength
public Number getLength()
Returns the length (px) of the link between two nodes.Default: null
-
setLength
public void setLength(Number length)
Sets the length (px) of the link between two nodes.
-
getWidth
public Number getWidth()
Returns the width (px) of the link between two nodes.Default: 1
-
setWidth
public void setWidth(Number width)
Sets the width (px) of the link between two nodes.
-
-