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

Class PieDataLabel

source code

object --+    
         |    
 DataLabel --+
             |
            PieDataLabel

This class contains configuration attributes of data labels specific to Pie series.


Authors:
Invient, Richard Lincoln
Instance Methods [hide private]
 
__init__(self, enabled=False)
If the argument is true then the datalabels will be displayed otherwise not.
source code
 
getConnectorWidth(self)
@return
source code
 
setConnectorWidth(self, connectorWidth)
Sets width (in pixel) of the line connecting the data label to the pie slice.
source code
 
getConnectorColor(self)
@return
source code
 
setConnectorColor(self, connectorColor)
Sets the color of the line connecting the data label to the pie slice.
source code
 
getConnectorPadding(self)
@return
source code
 
setConnectorPadding(self, connectorPadding)
Sets the distance (in pixel) from the data label to the connector.
source code
 
getDistance(self)
@return
source code
 
setDistance(self, distance)
Sets the distance (in pixel) of the data label from the pie's edge.
source code
 
__str__(self)
str(x)
source code

Inherited from DataLabel: getAlign, getColor, getEnabled, getFormatterJsFunc, getRotation, getStyle, getX, getY, setAlign, setColor, setEnabled, setFormatterJsFunc, setRotation, setStyle, setX, setY

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=False)
(Constructor)

source code 

If the argument is true then the datalabels will be displayed otherwise not.

@param enabled

Overrides: object.__init__

setConnectorWidth(self, connectorWidth)

source code 

Sets width (in pixel) of the line connecting the data label to the pie slice. Defaults to 1.

@param connectorWidth

setConnectorColor(self, connectorColor)

source code 

Sets the color of the line connecting the data label to the pie slice.

@param connectorColor

setConnectorPadding(self, connectorPadding)

source code 

Sets the distance (in pixel) from the data label to the connector. Defaults to 5.

@param connectorPadding

setDistance(self, distance)

source code 

Sets the distance (in pixel) of the data label from the pie's edge.

@param distance

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)