PHPlot Sample - Scatter Plot with Colored Points
This sample shows a scatter plot (points plot) where the point colors are set using the number in a column, which selects from 1 of 3 colors. (2013-11-14)
Reference: Discussion forum thread
The Plot:

The Code:
~~~~
:::php
SetDataType('data-data');
$plot->SetDataValues($data);
$plot->SetPlotType('points');
// Set colors for 3 data sets:
$plot->SetDataColors(array('blue', 'red', 'green'));
// Use the same point shape for all data sets:
$plot->SetPointShapes('dot');
$plot->DrawGraph();
~~~~~
?>