Re: Auto-generating a graphs Y scale

From: Date: Mon, 25 Aug 2008 14:52:57 +0000
Subject: Re: Auto-generating a graphs Y scale
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-278674@lists.php.net to get a copy of this message
> First, the y scale is the one that runs up and down and not right to left. > :-) Yes I know. > Second, the physical length of the y scale should be static and whatever you > want it to be (i.e., 5 inches, 10 inches, etc.). That gives a poor range IMO. JPGraph generates one which is better, since it doesn't correspond exactly to the highest value. For example for a bar graph with the value 2,6,7,7,4,8,7 it would (might) go from one to ten and then plot appropriate marks. This is really what I want to achieve. But it should be able to accommodate all sorts of values, from small to large. -- Richard Heyes http://www.phpguru.org

« previous php.general (#278674) next »