Jump to content

creating a graph


Jocka

Recommended Posts

whats the best way to do this? I'm not sure I want to use premade scripts on a site I'm building.

I was considering the possibility of being able to create graphs without images, just css. Would this be possible?

Say I save information in the database such as hit counts, registered (how many registered), etc. Could I pull that down and create a graph with css to stretch a div field to a certain length according to how many hits there are ?

Or is there a better way to do this? I looked into JpGraph but it's just a tad bit slow for what I need. I need the graph done in at least 1 second, JpGraph was taking up to 30. I figure if I didn't create images then this would be easiest on the load time. Again though, if you have any other suggestions on a better way, then please let me know.
Link to comment
Share on other sites

lol yea I saw that but like I said, I don't want to use premade scripts (anyone else's scripts). It might be a good script to look at to get an idea of how to do it with images but i'd prefer to do it without images right now. I found some things on google using CSS and it looked fairly easy to do so I think I'll go with it for now (easier is faster). After the competition is over i'll check out the scripts and see what they wrote that made them look so good.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.