You are here: Re: Table Drawing with jpgraph « PHP Programming Language « IT news, forums, messages
Re: Table Drawing with jpgraph

Posted by Erwin Moller on 09/30/05 14:08

JÿGius³ vs ::NRG::ius wrote:

> Hi all.
>
>> Look in the examples in JPGraph.
>>
>> look for a folder named: scr/Examples
>> It contains a zillion examples.
>
> Ehmmm...
> Yes... a lot of examples, but there isn't any table.
> I would like to draw something like...
>
> +col 1 | col 2 |col3 +
> | row | | |
> | row | | |
> | | | |
>
> A simple table...
>
> I tried to reuse a gantt graph - erasing the right side... but it is
> not so simple.
>
> Bye.
>
> G.

Hi,

Ok, now I got it: You want a plain table.
Sorry to be slow.
Indeed, it is not in jpgraph.

Well, in that case: draw it yourself using the PHP functions.
It is some more work, but can be done.

One tip: Have a look at imagefontheight and imagefontwidth to calculate the
space needed. Maybe you have to implement word-breaks to fit in a wide
string in a column.

Maybe you can find a package that draws tables at www.phpclasses.org.

Good luck.

Regards,
Erwin Moller

 

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

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