![]() | ![]() |
KoolChart - Excellent PHP Chart and GraphFullVersion 2.6.0.3 released on 05/19/2017
ChartTypes - PHP Area Chart
Description & Sample code
To add a line series to the chart, you do:
$series = new AreaSeries();
$series->Name = "Expenses";
$series->Appearance->BackgroundColor = "red";
$series->LabelsAppearance->DataFormatString = "$ {0}";
$series->TooltipsAppearance->DataFormatString = "$ {0} millions";
$series->ArrayData(array(30,20,65,40,30));
$chart->PlotArea->AddSeries($series);
![]() | ![]() |
