You are here: jpgraph: text X scale « PHP Programming Language « IT news, forums, messages
jpgraph: text X scale

Posted by vertigo on 01/03/08 10:02

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация