LabelFormat in writeScatterLabel
I was in the need to change the label format on the writeScatterLabel-method.
I suggest a simple change in pScatter.class.php:
Code:
function writeScatterLabel($ScatterSerieID,$Points,$Format="")
{
$LabelFormat = isset($Format["LabelFormat"]) ? $Format["LabelFormat"] : '%s / %s'; // New Line
A bit down where it say:
Code:
$Caption = $XValue." / ".$YValue;
Change to:
Code:
$Caption = sprintf($LabelFormat,$XValue,$YValue);
This makes it possible to format the output as you please.