home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 March / CMCD0305.ISO / Software / Shareware / Grafica / 3dpie / Examples / applet-javascript-pie-chart.txt < prev    next >
Text File  |  2004-07-08  |  3KB  |  73 lines

  1. <applet code="PiechartApplet.class" archive="Piechart.jar" width="280" height="160" mayscript>
  2.  
  3. <!-- Start Up Parameters -->
  4. <PARAM name="LOADINGMESSAGE" value="Creating Chart - Please Wait.">
  5. <PARAM name="STEXTCOLOR"     value="#000060">
  6. <PARAM name="STARTUPCOLOR"   value="#FFFFFF">
  7.  
  8. <!-- Pie Data --> 
  9. <!--                value,URL,Target Frame -->
  10. <PARAM name="data1series1" value="10320,combo('results'),javascript">
  11. <PARAM name="data2series1" value="6605,combo('results'),javascript">
  12. <PARAM name="data3series1" value="3480,combo('results'),javascript">
  13. <PARAM name="data4series1" value="1940,combo('results'),javascript">
  14. <PARAM name="data5series1" value="2420,combo('results'),javascript">
  15. <PARAM name="data6series1" value="1324,combo('results'),javascript">
  16.  
  17. <!-- Chart Switches -->
  18. <PARAM name="3D"                 value="true">
  19. <PARAM name="Slabels"            value="true">
  20. <PARAM name="displayPercentages" value="true">
  21.  
  22. <!-- Chart Characteristics -->
  23. <PARAM name="nPies"      value="1">
  24. <PARAM name="ndecplaces" value="0">
  25. <PARAM name="depth3D"    value="10">
  26. <PARAM name="3Dangle"    value="45">
  27.  
  28. <!-- Link Cursor --> 
  29. <!--  valid values are - crosshair, default, hand, move, text or wait -->
  30. <PARAM name="linkCursor" value="hand">
  31.  
  32. <!-- Popup segment Value Pre & Post Symbols -->
  33. <PARAM name="valuepresym"  value="$">
  34.  
  35. <!-- thousand seperater -->
  36. <PARAM name="thousandseparator" value=",">
  37.  
  38. <!-- Additional font information -->
  39. <PARAM name="popupfont"  value="Arial,B,10">
  40. <PARAM name="slabelfont" value="Arial,N,10">
  41.  
  42. <!-- Additional color information -->
  43. <PARAM name="bgcolor"      value="#FFFFFF">
  44. <PARAM name="labelcolor"   value="#323232">
  45. <PARAM name="popupbgcolor" value="#A0A0CC">
  46.  
  47. <!-- Title --> 
  48. <!-- title   text|xpos,ypos|Font|Color Defintion"> -->
  49. <PARAM name="title" value="Sales by Region|10,15|Arial,BI,12|#888888">
  50.  
  51. <!-- Pie Data --> 
  52. <!--  PieN   x,y,size,number of segments, seperation -->
  53. <PARAM name="Pie1" value="85,35,100,6,0">
  54.  
  55. <!-- Pie Segement Labels -->
  56. <PARAM name="pie1label1" value="N.America">
  57. <PARAM name="pie1label2" value="Europe">
  58. <PARAM name="pie1label3" value="Asia">
  59. <PARAM name="pie1label4" value="Africa">
  60. <PARAM name="pie1label5" value="Australia">
  61. <PARAM name="pie1label6" value="S.America">
  62.  
  63. <!-- Segment Data --> 
  64. <!-- segmentN       series color|legend label|URL|Target Frame -->
  65. <PARAM name="segment1" value="115,152,164|N.America">
  66. <PARAM name="segment2" value="99,99,156|Europe">
  67. <PARAM name="segment3" value="185,53,8|Asia">
  68. <PARAM name="segment4" value="239,214,115|Africa">
  69. <PARAM name="segment5" value="0,63,68|Australia">
  70. <PARAM name="segment6" value="17,97,158|S.America">
  71.  
  72.  
  73. </applet>