Package org.zkoss.chart
Class ConnectorOptions
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.ConnectorOptions
-
- All Implemented Interfaces:
Serializable,OptionDataListener,org.zkoss.json.JSONAware
public class ConnectorOptions extends Optionable
Options for the connector in the Series on point feature.All the options in this class support
DynamicalAttribute.- Since:
- 10.2.1.0
- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description ConnectorOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDashstyle()Returns a name for the dash style to use for the connector.StringgetStroke()Returns the color of the connector line.NumbergetWidth()Returns the pixel width of the connector line.voidsetDashstyle(String dashstyle)Returns a name for the dash style to use for the connector.voidsetStroke(String stroke)Returns the color of the connector line.voidsetWidth(Number width)Sets the pixel width of the connector line.-
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
-
getDashstyle
public String getDashstyle()
Returns a name for the dash style to use for the connector.Defaults to null
-
setDashstyle
public void setDashstyle(String dashstyle)
Returns a name for the dash style to use for the connector.Defaults to null
-
getStroke
public String getStroke()
Returns the color of the connector line. By default it's the series' color.Defaults to null
-
setStroke
public void setStroke(String stroke)
Returns the color of the connector line. By default it's the series' color.Defaults to null
-
getWidth
public Number getWidth()
Returns the pixel width of the connector line.Defaults to
1.
-
setWidth
public void setWidth(Number width)
Sets the pixel width of the connector line.Defaults to
1.- Parameters:
width-
-
-