Hello dear group!
I am getting desperately....
For a display of three lineplots I made the array with the respective data inside.
$maxError, $ValuesMes and $minError
print_r show the data nicely.
Array
(
[0] => 0.6
[1] => 0.6
[2] => 0.6
[3] => 0.6
[4] => 0.7
[5] => 0.8
[6] => 0.9
[7] => 1.1
[8] => 1.2
[9] => 1.3
)
Array
(
[0] => 0.5
[1] => 0.1
[2] => 0.4
[3] => 0.2
[4] => 0.2
[5] => 0.2
[6] => 0.2
[7] => 0.2
[8] => 0.2
[9] => 0.2
)
Array
(
[0] => -0.6
[1] => -0.6
[2] => -0.6
[3] => -0.6
[4] => -0.7
[5] => -0.8
[6] => -0.9
[7] => -1.1
[8] => -1.2
[9] => -1.3
)
However using this data for a
$lineplot1 = new LinePlot($maxError);
$graph -> add($lineplot1);
$graph->stroke();
I get the 25121 error.
Now, if I add manualy
I get the image without any lines or points.
What am I doing wrong? I have copied the varable names to prevent spelling mistakes .. no succsess
Any help is mostly appreciated!
Thank you, Daniel