Image_Graph

From: Date: Sat, 09 Apr 2005 18:15:08 +0000
Subject: Image_Graph
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18656@lists.php.net to get a copy of this message
Hi, I have a problem when using image_graph.The maximum in Y Axis is incorrect in regard of the data I have. I print_r the dataset : image_graph_dataset_trivial Object ( [_data] => Array ( [0] => Array ( [X] => nameTest [Y] => 4 [ID] => ) ) [_posX] => 0 [_minimumX] => nameTest [_maximumX] => 1 [_minimumY] => 4 [_maximumY] => 4 [_count] => 1 [_name] => ) As you can see, the maximum is 4 in Y. I draw a bar chart but the the bar goes to 4.5. Any idea about this gap ?

« previous php.pear.general (#18656) next »