Lazy-loading of the ExportDialog in the EnchancedChart
|Reported by:||pfleck||Owned by:||abeham|
The ExportDialog is currently instantiated during the constructor of the EnhancedChart. Because the ExportDialog is not always used, it should be loaded lazily.
This can be an issue if many charts are created (e.g. a 10x10 grid of charts).
Times to instantiate 10 000 EnhancedCharts:
- regular: ca 1m16s
- lazy: ca 3s