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

Class ChartLabelItem

source code

object --+
         |
        ChartLabelItem

This class represents a label placed at arbitrary location in the chart. The label can have html text and it can be styled using css-style.


Authors:
Invient, Richard Lincoln
Instance Methods [hide private]
 
__init__(self, html, style)
Creates a new instance with specified html and style arguments.
source code
 
getHtml(self)
@return Returns html of this label
source code
 
setHtml(self, html)
Sets html for this label
source code
 
getStyle(self)
Returns: Returns css-style of this label
source code
 
setStyle(self, style)
Sets css style for this label
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, html, style)
(Constructor)

source code 

Creates a new instance with specified html and style arguments.

Parameters:
  • html
  • style
Overrides: object.__init__

setHtml(self, html)

source code 

Sets html for this label

Parameters:
  • html - It can be plain or html string.

getStyle(self)

source code 
Returns:
Returns css-style of this label

setStyle(self, style)

source code 

Sets css style for this label

Parameters:
  • style