home *** CD-ROM | disk | FTP | other *** search
- <?php
- /*----------------------------------------------------------*/
- /* */
- /* Very simple PHP script to demonstrate how data can be */
- /* supplied to the graph from a server side process. */
- /* */
- /* In reality this script would be extended to dynamically */
- /* acquire the data from a source such as a database. */
- /* */
- /*----------------------------------------------------------*/
-
- print "<!-- Pie Data --> \n";
- print "<!-- value,URL,Target Frame -->\n";
- print "data1series1: 1000,http://www.jpowered.com,_self\n";
- print "data2series1: 600,http://www.jpowered.com,_self\n";
- print "data3series1: 350,http://www.jpowered.com,_self\n";
- print "data4series1: 200,http://www.jpowered.com,_self\n";
- print "data5series1: 250,http://www.jpowered.com,_self\n";
- print "data6series1: 130,http://www.jpowered.com,_self\n";
- print " \n";
- print "data1series2: 300,http://www.jpowered.com,_self\n";
- print "data2series2: 100,http://www.jpowered.com,_self\n";
- print "data3series2: 500,http://www.jpowered.com,_self\n";
- print "data4series2: 250,http://www.jpowered.com,_self\n";
- print "data5series2: 130,http://www.jpowered.com,_self\n";
- print "data6series2: 210,http://www.jpowered.com,_self\n";
- print " \n";
- print "data1series3: 1300,http://www.jpowered.com,_self\n";
- print "data2series3: 700,http://www.jpowered.com,_self\n";
- print "data3series3: 850,http://www.jpowered.com,_self\n";
- print "data4series3: 450,http://www.jpowered.com,_self\n";
- print "data5series3: 380,http://www.jpowered.com,_self\n";
- print "data6series3: 430,http://www.jpowered.com,_self\n";
-
-
-
-
-
-
-
-
- ?>