Re: Image_Graph Horizontal bar plot

From: Date: Fri, 19 Aug 2005 15:48:15 +0000
Subject: Re: Image_Graph Horizontal bar plot
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20484@lists.php.net to get a copy of this message
Jesper Veggerby Hansen wrote:
Hi Joshua, You being around the 10 millionth person asking for this an appropriate action must be imminent :) The horizontal bar was removed a loooong time ago due to some changes in the axis handling which rendered it broken (it was in the -devel days). No new method has been added for creating horz. plots (and this is the part I have explaining) because this _the_ one design flaw (discovered yet!) that exist in the package :( It's not easily accomplished creating the horizontal plot, I have though devised a way that is consistent with the current design, the problem is that it severely affects Image_Graph_Plotarea and Image_Graph_Axis which is the two largest and most complex classes in the package :( So it's basically a time issue... But in the last week or two several people (independently I guess/hope :p) have requested this feature (an "official" FMR exist http://pear.php.net/bugs/bug.php?id=5031) so as said it's probably about time... regards Jesper
Does anyone have an example of creating a horizontal bar blot in Image_Graph 0.5.0 at one point the code had a Horizontal_Bar plot type but it doesn't any more. I'm assuming this is because there is some generic way of doing horizontal graphing but i can't seem to find it in the docs. -josh -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
I ended up using a pie to show the data which works pretty good, but a horizontal bar is handy. Anyway thanks for the code it works great.
-josh

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