| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
util.IEventListener --+
|
terminal.paintable.IPaintable --+
|
object --+ |
| |
terminal.variable_owner.IVariableOwner --+
|
object --+ |
| |
terminal.sizeable.ISizeable --+
|
ui.component.IComponent --+
|
object --+ |
| |
event.method_event_source.IMethodEventSource --+
|
ui.abstract_component.AbstractComponent --+
|
InvientCharts
A Muntjac component representing charts. It is a the main class of
InvientCharts library.
A chart typically contains one or more series of same or different types.
This class allows us to specify series of different types say line and pie
and hence it makes it easy to build a combination chart.
After a chart L{InvientCharts} is created, the following changes to the
chart will be reflected rendered on the webkit.
* Set or update chart L{Title} and/or L{SubTitle}
* Modify chart size
* Add, update and remove one or more instances of L{PlotBand} and
L{PlotLine}
* Set or update axis categories
* Set or update axis min and max values
* Add, update and remove one or more instances of L{Series}
* Show or hide one or more instances of L{Series}
* Add and remove one or more instances of L{Point}
* Register and unregister event listeners
@author: Invient
@author: Richard Lincoln
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
CLIENT_WIDGET = Nonehash(x) |
|||
TYPE_MAPPING = 'com.invient.vaadin.charts.InvientCharts'
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Creates this chart object with given chart configuration @param chartConfig
|
Returns chart configuration object
|
Paints any needed component-specific things to the given UIDL stream. The more general paint method handles all general attributes common to all components, and it calls this method to paint any component-specific attributes to the UIDL stream.
|
Called when one or more variables handled by the implementing class are changed.
|
Adds the listener. If the argument seriesTypes is not specified then the listener will be added for all series type otherwise it will be added for a specific series type
|
Removes the listener. If the argument seriesTypes is not specified then the listener will be removed only for a series type SeriesType.COMMONSERIES otherwise the listener will be removed for all specified series types.
|
The data of a chart is defined in terms of Series. This method removes all previously set series of this chart and adds the argument series. If the argument series is null then no actions are taken.
|
Returns a series whose name matches the argument name.
|
Returns all series associated with this chart.
|
Adds the argument series to this chart.
|
Removes a series whose name matches the argument name or the argument seriesData from this chart.
|
After a series is added or removed, there is no need to call this method as it is handled implicitly. This method will send updates to the client. This method should be called after adding/removing plotbands and plotlines. This inconsistency will be fixed in next revision. |
Displays a Print dialog of the Webkit to print this chart. Invoking this method causes the Webkit to hide other widgets on the screen and only this chart widget will be visible. Also it prints this chart widget as it is displayed. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Jul 6 13:40:48 2013 | http://epydoc.sourceforge.net |