Help with Image_Graph

From: Date: Fri, 30 Dec 2005 02:09:05 +0000
Subject: Help with Image_Graph
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22380@lists.php.net to get a copy of this message
Hi all: I'm not sure if this is where I should go for assistance using Image_Graph or not; if not, please let me know. I've got my application written, but have two "bugs" that I need to correct that both lie with my usage of Image_Graph. First, I am plotting two lines, each with their own axis. I have two axis drawing on the map; most of the time they are each on opposite sides, which is what I want. Sometimes, however, they both draw on the left side, which results in the secondary Y axis' lables being covered by the plots. How can I force this axis to appear on the right side of the graph (or figure out what's making it switch sides)? Second, the font for the lables is too small. I see from the API on pear.php.net that there are font calls, but I can't figure out from that how I actually use it; i.e., how do I attach a font to my labels, and how do I specify the information in the "multi-array" that the values are supposed to be in? All I'm interested in is increasing the size. I looked at the "complex" example, but dies unless I comment out the font lines, and they don't seem to match with the API documentation at all. I'd greatly appreciate any assistance, or a pointer to where I should go to get said assistance! Thanks! --Jim php newbe

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