pChart 2.x forum
http://wiki.pchart.net/forum/

How to integrate Pcharts to a website
http://wiki.pchart.net/forum/viewtopic.php?f=3&t=2330
Page 1 of 1

Author:  Dchaser88 [ Mon Jan 23, 2012 6:55 am ]
Post subject:  How to integrate Pcharts to a website

Dear all, :o :o


Please teach me how to integrate a Pchart to my site

Here is the prob: I have to develop an online election system for my project.

I live in Sri Lanka and It has 22 'electoral districts' {EDs} so my district table comes with:

ed_id int , ed_name varchar(200),

one ED has a varying amount of Polling Divisions. ( stupid ha?)
Pollig Division Table :

pd_id int,pd_name,pd_address,pd_officer1,pd_officer2,

Results of the poll will be in
Results table:

res_id int, res_pd ( says which polling division the results belong to), res_elector(name of the elector), res_party(name of political party)

I want a make a graph to show the results of one Electoral District with regard to the changes in Political Parties, Elector names , etc

I can manage to write the SQL statements.But I need a step by step procedure on how to integrating a Pchart / graph to the site.

I already did the downloading. And please guide me through the rest( Or direct me to the right place to learn Pcharts from the beginning)
I gave some serious tries in reading the documentation. But I do not understand the words such as Datapoints, Serie1, serie2 etc etc

Please help and I will help you back in every way I can

Step 1) I downloaded the Pcharts module
step 2) Write the SQL query
step 3) Include the relevant Pcharts classes in your file
step4) that is all I know.............

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/