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

Class ChartZoomEvent

source code

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

Chart zoom event. This event is thrown, when an area of the chart has been selected.


Authors:
Invient, Richard Lincoln
Instance Methods [hide private]
 
__init__(self, source, chart, chartArea)
New instance of the chart zoom event.
source code
 
getChart(self)
Returns the chart object for which the zoom event has occurred
source code
 
getChartArea(self)
Returns the chartArea object containing dimensions of zoomed area of the chart
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, chartArea)
(Constructor)

source code 
New instance of the chart zoom event.

@param source
           the chart object itself
@param chart
           the chart object itself
@param chartArea
           the chartArea object containing dimensions of zoomed area
           of the chart

Parameters:
  • source - the source component of the event
Overrides: object.__init__

getChart(self)

source code 

Returns the chart object for which the zoom event has occurred

Returns:
Returns the chart object for which the zoom event has occurred

getChartArea(self)

source code 

Returns the chartArea object containing dimensions of zoomed area of the chart

Returns:
Returns the chartArea object containing dimensions of zoomed area of the chart