Factory class responsible for the creation of charts at run-time. More...
|GobChartsView *||createChart (GobChartsType type, QWidget *parent)|
|Creates a chart view of type "type". |
|static GobChartsFactory *||getInstance ()|
|Returns the singleton instance. |
Factory class responsible for the creation of charts at run-time.
This factory is implemented as a singleton and is responsible for the creation of the user-selected chart types at run-time. Care must be taken when using this factory as it does not maintain ownership of the chart views it creates and clean-up becomes the responsibility of the calling object when no parent is specified.
|GobChartsView * GobChartsFactory::createChart||(||GobChartsType||type,|