Package muntjac :: Package addon :: Package invient :: Module invient_charts :: Class PieChartLegendItemClickEvent
[hide private]
[frames] | no frames]

Class PieChartLegendItemClickEvent

source code

      object --+        
               |        
util.EventObject --+    
                   |    
  ui.component.Event --+
                       |
                      PieChartLegendItemClickEvent

PieChart legend item click event. This event is thrown, when the legend item belonging to the pie point (slice) is clicked.


Authors:
Invient, Richard Lincoln
Instance Methods [hide private]
 
__init__(self, source, chart, point)
New instance of the piechart legend item click event
source code
 
getChart(self)
Returns: Returns the chart object associated with the point
source code
 
getPoint(self)
Returns: Returns the pie point (slice) associated with the legend item
source code

Inherited from ui.component.Event: getComponent

Inherited from util.EventObject: getSource

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, source, chart, point)
(Constructor)

source code 

New instance of the piechart legend item click event

Parameters:
  • source - the chart object itself
  • chart - the chart object itself
  • point - the pie point (slice) associated with the legend item
Overrides: object.__init__

getChart(self)

source code 
Returns:
Returns the chart object associated with the point

getPoint(self)

source code 
Returns:
Returns the pie point (slice) associated with the legend item