Refactoring: ChartCanvas has now more const methods. Windows build fix for external library wxJSON.