<?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 "<!-- Chart Switches -->\n";
print "3D:              true\n";
print "grid:            true\n";
print "axis:            true\n";
print "xlabels:         true\n";
print "outline:         true\n";
print "legend:          true\n";
print "autoscale:       false\n";
print "gradientfill:    true\n";

print "<!-- Chart Characteristics -->\n";
print "width:              330\n";
print "height:             320\n";
print "nCols:              4\n";
print "nRows:              5\n";
print "ndecplaces:         0\n";
print "nSeries:            3\n";
print "chartScale:         3000\n";
print "chartStartY:        0\n";
print "labelsX_offset:     15\n";
print "bar_spacing:        5\n";
print "barwidth:           15\n";
print "depth3D:            10\n";
print "linkcursor:         hand\n";
print "BackgroundColor:    #FFFFFF\n";
print "barOutlineColor:    #333333\n";

print "<!-- Grid properties -->\n";
print "gridxpos:          50\n";
print "gridypos:          250\n";
print "hSpace:            30\n";
print "gridStyle:         2\n";
print "gridColor:         #444488\n";
print "axisColor:         #444444\n";
print "floorColor:        #44FF44\n";
print "gridbgcolor:       #408888\n";

print "<!-- Label and popup value properties -->\n";
print "xlabel_font:       Arial,N,10\n";
print "ylabel_font:       Arial,N,10\n";
print "popupfont:         Arial,B,12\n";
print "labelColor:        #4444FF\n";
print "popupbgcolor:      #BBBBBB\n";
print "popup_pre:         $\n";
print "popup_post:     \n";
print "xlabel_pre:        $\n";
print "xlabel_post:     \n";
print "thousandseparator: ,\n";

print "<!-- Bar Labels -->\n";
print "label1:    Qrtr 1\n";
print "label2:    Qrtr 2\n";
print "label3:    Qrtr 3\n";
print "label4:    Qrtr 4\n";

print "<!-- Legend Information -->\n";
print "legendfont:         Arial,N,10\n";
print "legendposition:     220,32\n";
print "legendtitle:        Legend Title\n";
print "LegendBackground:   #EEEEEE\n";
print "LegendBorder:       #999999\n";
print "LegendtextColor:    #333333\n";

print "<!-- Titles - Main, x and y -->\n";
print "<!--     text,xpos,ypos,font-type,font-style,font-size,Color -->\n";
print "title:     Sales by Quarter|70,15|Arial,BI,18|#8888BB\n";
print "xtitle:    Year 2004|100,310|Arial,B,16|#8888BB\n";
print "ytitle:    Value $|2,100|Arial,B,16|#8888BB\n";

print "<!-- Series Data -->\n";
print "<!--      series color|legend label -->\n";
print "series1:    #FF8844|Series 1|http://www.jpowered.com|new\n";
print "series2:    #33CCCC|Series 2\n";
print "series3:    #88FF88|Series 3\n";



?>