Commits

Anonymous committed 1b5bf54

update some docs and examples.

  • Participants
  • Parent commits 4904344

Comments (0)

Files changed (2)

examples/donutTest.html

   <body>
 <?php include "nav.inc"; ?>
 <div id="code"></div>
+    <p>To create donut plots, you have to include the "jqplot.donutRenderer.js" file in your source.  You can view the javascript that generated these plots by clicking the "View Code" button below.</p>
     <button id="seecode" onclick="$('#code').dialog('open');">View Code</button>
 
     <p>Below is a default donut plot.  Slices will highlight on mouseover.  Events are triggered when you mouseover a slice and also when you click on a slice.  Here We capture the 'jqplotDataClick' event and display the clicked series index, point index and data values.<p>

src/plugins/jqplot.donutRenderer.js

      * x values, if present, will be used as slice labels.
      * y values give slice size.
      * 
+     * To use this renderer, you need to include the plugin, for example:
+     * 
+     * > <script type="text/javascript" src="plugins/jqplot.donutRenderer.js"></script>
+     * 
      * Properties described here are passed into the $.jqplot function
      * as options on the series renderer.  For example:
      *