Update ChartMaker.php