To add a scatter line series to the chart, you do:
$series = new ScatterLineSeries("1.6C");
$series->AddItem(new ScatterItem(10,40));
$series->AddItem(new ScatterItem(17,50));
$series->AddItem(new ScatterItem(18,70));
$chart->PlotArea->AddSeries($series);
span style="color: #808080; font-style: italic;">/*
* This file is ready to run as standalone example. However, please do:
* 1. Add tags <html><head><body> to make a complete page
* 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder
*/
$KoolControlsFolder = "../../../../KoolControls";//Relative path to "KoolPHPSuite/KoolControls" folder
"/KoolChart/koolchart.php""chart");
$chart->scriptFolder=$KoolControlsFolder."/KoolChart";
$chart->Width = 740;
$chart->Height = 480;
$chart->Title->Text = "Charge Current vs. Charge Time""top";
$chart->PlotArea->XAxis->Title = "Time""{0}m";
$chart->PlotArea->YAxis->Title = "Charge""{0}%""0.8C""#EB6D17""{1}% in {0} minutes""below";
$series->MarkersAppearance->MarkersType = "Square""{1}% in {0} minutes""#EB6D17""1.6C""#90B720""{1}% in {0} minutes""below";
$series->MarkersAppearance->MarkersType = "Square""{1}% in {0} minutes""#90B720""3.1C""#5CB8E3""{1}% in {0} minutes""below""{1}% in {0} minutes""#5CB8E3""form1" method="post""color:#B8305E;" target="_blank" href="http://codegen.koolphp.net/generate_koolchart.php"