Thread: JPgraph
View Single Post
  #1 (permalink)  
Old 10-23-07, 03:08 AM
sandy1028 sandy1028 is offline
Newbie Coder
 
Join Date: Oct 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
JPgraph

Hi,

I have set the width as 850.
PHP Code:

$graph = new Graph(850,250,"auto");

$graph->SetScale("textlin",0,$max); 
How can I set the width as 250px and plot the values of array limit to 125px.

I want the width and height as 850 and 250. but the graph drawn should not cover the 250 spacing it should plot only till 125px.

How can I adjust the width and scaling to it

Last edited by Christian; 10-23-07 at 04:39 AM. Reason: Please use [PHP] tags when posting PHP code.
Reply With Quote