advanced line graph

R

riklaunim

I have to make a line graph of entries from last 30 days. I have the
graph but I can't make it look nice - the X line has the day of month
numbers like 29, 30, 1, 2, 3... But I want to group them by month:

....29,30 | 1, 2, 3
Oct | Dec

Is there somewhere a library somewhere that can makes such graphs?
 
E

Erwin Moller

I have to make a line graph of entries from last 30 days. I have the
graph but I can't make it look nice - the X line has the day of month
numbers like 29, 30, 1, 2, 3... But I want to group them by month:

...29,30 | 1, 2, 3
Oct | Dec

Is there somewhere a library somewhere that can makes such graphs?

Hi,

Javascript is not really suited to make graphs.
It can be done, but you need lots of positioned divs containing an image
or background color, which is heavy on the client, and takes a lot of
work to make them look nice.

I would advise you to go serverside and use a serverside language that
can make images.
In most serverside languages I have used it is not really difficult, eg
in PHP.
And also lots of good free libs around (eg JPGraph in PHP,
http://www.aditus.nu/jpgraph/).
What you want to do is a breeze in JPgraph, and the images are
autoscaled if you want and always look good, have optinal legendas,
scales, etc.

Regards,
Erwin Moller
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,147
Messages
2,570,833
Members
47,380
Latest member
AlinaBlevi

Latest Threads

Top