Refactoring: ViewPort now mostly handled as const reference, interface of ChartCanvas more const.