added ChartFrame class