Change ChartPanel method