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

Class ChartResetZoomEvent

source code

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

Chart reset zoom event. This event is thrown, when a chart is reset by setting its zoom level to normal.


Authors:
Invient, Richard Lincoln
Instance Methods [hide private]
 
__init__(self, source, chart)
New instance of the chart reset zoom event
source code
 
getChart(self)
Returns the chart object for which zoom has been reset to normal
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)
(Constructor)

source code 
New instance of the chart reset zoom event

@param source
           the chart object itself
@param chart
           the chart object itself

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

getChart(self)

source code 

Returns the chart object for which zoom has been reset to normal

Returns:
Returns the chart object for which zoom has been reset to normal