how to represent entered details using a bar chart

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ishakya
Forum Commoner
Posts: 40
Joined: Tue Jan 04, 2011 4:58 am

how to represent entered details using a bar chart

Post by ishakya »

Hello every one,
I need to represent entered details using a bar chart.
Assume:
If a user enter some values in to variables and once he press enter button,the user can see entered details by an chart.I think bar should represent the status of what he has entered.
Need some assistance to make use of that variables to draw the chart.
Or if he enter a single data and according to that single variable i need to make a chart using details which are related to what he has entered.
cpetercarter
Forum Contributor
Posts: 474
Joined: Sat Jul 25, 2009 2:00 am

Re: how to represent entered details using a bar chart

Post by cpetercarter »

You can code a bar chart in a number of ways, including using CSS, but why bother when google can do the job for you.
ishakya
Forum Commoner
Posts: 40
Joined: Tue Jan 04, 2011 4:58 am

Re: how to represent entered details using a bar chart

Post by ishakya »

Thanks cpetercarter,
But can u be more specific?.Because i know google can do it.but can it be done in php.because i need to represent a bar or pie chart when the user enter some values.
I hope u understood my matter.
If u have any ideas/codes please be kind enough to share them with me...
Thanks again. :D
Peter Kelly
Forum Contributor
Posts: 143
Joined: Fri Jan 14, 2011 5:33 pm
Location: England
Contact:

Re: how to represent entered details using a bar chart

Post by Peter Kelly »

From what I can gather from http://code.google.com/apis/chart/docs/ ... harts.html you just need to insert it as a regular image and then in the link for the image pass over the data. But I'd suggest you read up on that page about it for more info.
Post Reply