By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,337 Members | 2,234 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,337 IT Pros & Developers. It's quick & easy.

jpgraph: text X scale

P: n/a
Hello

i wanted to draw graph.
On X scale i have time (in seconds). I have measure points for everyday
from 8 AM to 4 PM.
On Y scale i have values.

For one day everything looks fine.
But i wanted to see a graph for two days.
The problem is that bars from the first day are narrowed on the left,
then there is a huge free space (night) and on the right there are bars
from second day.
I wanted to eliminate that free space between (night)
I tried to change X scale from int to text:
$graph->SetScale("textlin");

but it changed anything. Why ? How can i change to text scale to draw data
without caring about XScale ?

Thanx
Jan 3 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.