Hi Guys,
Not sure if your familiar withe the libchart class.
I want to be able to add a title on my x axis and my y axis.
The code I am currently using is below, hope you can help 🙂
$chart = new VerticalChart();
$chart->addPoint(new Point("1", $percent1));
$chart->addPoint(new Point("2", $percent2));
$chart->addPoint(new Point("3", $percent3));
$chart->addPoint(new Point("4", $percent4));
$chart->setTitle("Total percentage(%) for each element");
$chart->render("charts/generated/demo2.png");