Mam takie pytanie co zrobić aby phplot rozpoznawał dwie wartości zmeinnoprzecinkowe. W kodzie:
  1. <?php
  2. //Include the code
  3. include('./PHPlot.php');
  4.  
  5. //Define the object
  6. $graph =& new PHPlot();
  7.  
  8. //Define some data
  9. $example_data = array(
  10.  array('0,1234',2,'-2,345'),
  11.  array('1,3456',2,'3,456'),
  12.  array('1,456',3,'-3,2'),
  13.  array('1,23',3,'8,23'),
  14.  array('2,12',4,'-1,2')
  15.  
  16. );
  17. $graph->SetDataValues($example_data);
  18.  
  19. //Draw it
  20. $graph->DrawGraph(); // remember, since in this example we have one graph, PHPlot
  21. // does the PrintImage part for you
  22. ?>

Na osi Y mam wartości przecinkowe natomiast na osi X już nie. Jak to zrobić?