Page 1 of 1

Using P-Charts

Posted: Mon Jan 23, 2012 12:17 am
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

Re: Using P-Charts

Posted: Mon Jan 23, 2012 5:45 am
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.