Package org.zkoss.chart
Class Path
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.Path
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class Path extends Optionable
The paths include options describing the point image.- Since:
- 11.2.0.0
- Author:
- Jamson Chan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description Path()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefinition()
Returns the definition defines a path to be drawn.Number
getMax()
Returns the max option determines height of the image.void
setDefinition(String definition)
Sets the definition defines a path to be drawn.void
setMax(Number max)
Sets the max option determines height of the image.-
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
-
getDefinition
public String getDefinition()
Returns the definition defines a path to be drawn. It corresponds d SVG attribute.Default: null
-
setDefinition
public void setDefinition(String definition)
Sets the definition defines a path to be drawn. It corresponds d SVG attribute.
-
getMax
public Number getMax()
Returns the max option determines height of the image. It is the ratio of yAxis.max to the paths.max.Defaults: yAxis.max
-
setMax
public void setMax(Number max)
Sets the max option determines height of the image. It is the ratio of yAxis.max to the paths.max.
-
-