This class represents a point of the chart's series. A series can have
one or more points. A point has (X, Y) coordinates. None of the
coordinates are mandatory. The name of a point can be displayed in a
tooltip.
To represent no activity or missing points in the chart, create a
point with both X and Y as null or just Y as null.
It is possible to specify custom configuration for each point. e.g. If
a highest point can be marked in a chart with a different color using
this configuration.
A point cannot be created without a series. It must belong to a
series. However, the point must be added to a series by calling
Series.addPoint() or Series.setPoints() to permanently add point to the
series.
|
__init__(self,
series,
name_or_config=None,
config=None)
Creates a point with given arguments. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setAutosetX(self,
isAutosetX)
If the argument is true it indicates that the X value of this point
is set programmatically and user has not specified it. |
source code
|
|
|
isShift(self)
Returns:
Returns true if a point at the start of the series should beshifted
off when this point is appended otherwise false. |
source code
|
|
|
setShift(self,
shift)
A value of true means one point is shifted off the start of the
series as one is appended to the end. |
source code
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|