Refactoring: removed unused attributes of ChartCanvas.
Refactoring: replaced position information with class Position.
Refactoring: more attributes of ChartCanvas moved to private visibility.