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

Class PointConfig

source code

object --+
         |
        PointConfig

Defines configuration per point in a series. It is possible to assign each point a different color and marker.


Authors:
Invient, Richard Lincoln
Instance Methods [hide private]
 
__init__(self, sliced_or_color_or_marker, selected=None, color=None, marker=None)
Creates an instance of this class with specified argument.
source code
 
getSliced(self)
@return
source code
 
setSliced(self, sliced)
@param sliced
source code
 
getSelected(self)
@return
source code
 
setSelected(self, selected)
@param selected
source code
 
getColor(self)
@return
source code
 
setColor(self, color)
@param color
source code
 
getMarker(self)
@return
source code
 
setMarker(self, marker)
@param marker
source code
 
__str__(self)
Returns: Returns string representation of this object.
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, sliced_or_color_or_marker, selected=None, color=None, marker=None)
(Constructor)

source code 

Creates an instance of this class with specified argument. The sliced attribute has meaning only for Pie chart/series.

Parameters:
  • sliced_or_color_or_marker -
    • If true then the slice of a pie will be at an offset from the center of the pie. Applicable only for Pie chart/series.
  • selected -
    • If true then the point, to which this object is associated, will be shown as selected otherwise not.
  • color -
    • Specifies individual color for a point, to which this object is associated.
  • marker -
    • Specifies marker for a point, to which this object is associated.
Overrides: object.__init__
See Also:
Marker, Color

__str__(self)
(Informal representation operator)

source code 

str(x)

Returns:
Returns string representation of this object.
Overrides: object.__str__