KoolChart - Excellent PHP Chart and GraphKoolChart - Excellent PHP Chart and GraphFullVersion 2.6.0.2 released on 25/11/2016

ChartTypes - PHP Line Chart

* Note:Generate your own chart with Code Generator

Description & Sample code

To add a line series to the chart, you do:

    $series = new LineSeries();
    $series->Name = "Week 1";
    $series->Appearance->BackgroundColor="#2D6B99";
    $series->TooltipsAppearance->DataFormatString = "{0}% {1}";
    $series->LabelsAppearance->DataFormatString = "{0}% {1}";
    $series->LabelsAppearance->Position = "above";
    $series->MarkersAppearance->MarkersType = "Square";
    $series->ArrayData(array(20,30,15,70,50,40,55));
    $chart->PlotArea->AddSeries($series);