Package muntjac :: Package addon :: Package invient :: Module invient_charts_config :: Class MarkerState
[hide private]
[frames] | no frames]

Class MarkerState

source code

object --+    
         |    
     State --+
             |
            MarkerState

Defines a set of attributes which gets applied to a point when a point is selected or hovered. By default, markers are enabled so when a mouse is over a point marker gets applied. To turn off marker, set flag enabled to false.

A point marker is useful only if the marker is not an image.


Authors:
Invient, Richard Lincoln
See Also:
ImageMarker, SymbolMarker
Instance Methods [hide private]
 
__init__(self, enabled=True)
Creates this marker with specified argument.
source code
 
getEnabled(self) source code
 
setEnabled(self, enabled)
If enabled = false then the marker will not be applied to a point on hover or select state.
source code
 
getFillColor(self) source code
 
setFillColor(self, fillColor)
Sets fill color for the marker.
source code
 
getLineColor(self) source code
 
setLineColor(self, lineColor)
Sets color of the point marker's outline.
source code
 
getLineWidth(self) source code
 
setLineWidth(self, lineWidth)
Sets width of the point marker's outline.
source code
 
getRadius(self) source code
 
setRadius(self, radius)
Sets radius of the point marker.
source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, enabled=True)
(Constructor)

source code 

Creates this marker with specified argument. If enabled = false then the marker will not be applied to a point on hover or select state.

Overrides: object.__init__

getEnabled(self)

source code 
Overrides: State.getEnabled

setEnabled(self, enabled)

source code 

If enabled = false then the marker will not be applied to a point on hover or select state. Defaults to true

setFillColor(self, fillColor)

source code 

Sets fill color for the marker. When not specified it takes color of a series or point.

setLineColor(self, lineColor)

source code 

Sets color of the point marker's outline. When not specified it takes color of a series or point.

setLineWidth(self, lineWidth)

source code 

Sets width of the point marker's outline. Defaults to 0.

setRadius(self, radius)

source code 

Sets radius of the point marker. Defaults to 0.

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)