Update pChartFactory.php