Hi,
Yes. You can use two layers, one of the line, and one for the symbols and labels.
For example, suppose you want to show only one symbol and label for every 4 points, the code in PHP is like:
$scatterData = array_pad(array(), count($myData), NoValue);
for ($i = 0; $i < count($scatterData); $i += 4)
$scatterData[$i] = $myData[$i];
$scatterLayer = $c->addScatterLayer(null, $scatterData, "". DiamondSymbol, 9, 0xff0000);
$scatterLayer->setDataLabelFormat("{value}");
$lineLayer = $c->addLineLayer($myData, "My Line", 0x8888ff);
$lineLayer->setLineWidth(2);
Hope this can help.
Regards
Peter Kwan |