PHP Classes

zecimal values?

Recommend this page to a friend!

      baaChart  >  All threads  >  zecimal values?  >  (Un) Subscribe thread alerts  
Subject:zecimal values?
Summary:does it work?
Messages:2
Author:Cucos Sorin
Date:2006-06-15 12:02:11
Update:2006-06-15 19:19:41
 

  1. zecimal values?   Reply   Report abuse  
Picture of Cucos Sorin Cucos Sorin - 2006-06-15 12:02:11
I've noticed that I cannot use zecimal value as 32,200 or 102.30 to generate the grafic.


  2. Re: zecimal values?   Reply   Report abuse  
Picture of Barry Andrew Barry Andrew - 2006-06-15 19:19:41 - In reply to message 1 from Cucos Sorin
This works OK

include 'baachart.php';

$ch = new baaChart(600,400);
$ch->addDataSeries('L',3,array(1.5, 3.2, 2.7),'');
$ch->setXLabels(array(1,2,3));
$ch->setYAxis('', 0, 5, 2.5, 0);
$ch->display();