Using P-Charts

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
dchaser88
Forum Newbie
Posts: 1
Joined: Wed Jan 18, 2012 11:13 am

Using P-Charts

Post by dchaser88 »

Hi Guys,

I am new to php and this is my second site Im dealing with. It is for project @ Uni. I need to make an Online election system.

I can do the Inset Update deletion parts easily,

and I was thinking to use _--Pcharts--- to represent the results using graphs and charts.

I gave it some serious tries to understand how can I integrate Pchatrs into my site and to generate graphs and all..
I read Pcharts documentation and probbaly everything in thire site.

But some words like : datapoints, serie1 , serie2 , etc.. etc... I dn not get it at all.

Can somebody explain me how to integrate a chart/graph to my website using pcharts,,,,only thing i know is to write the relevant SQL to extract data from mysql.

Gonna be a great help if u do so.....
awaiting for the reply
Thanx
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Using P-Charts

Post by Celauran »

Say you're tracking voter preferences for a number of candidates. One specific candidate's scores over time comprise a data series. A data point would be his/her score on any given day. Consider this image. The red line is a data series. The blue line is another data series. The dots on either line are individual data points.
Post Reply