Commits

Anonymous committed f55384d

minor updates to examples.

Comments (0)

Files changed (3)

examples/pointLabels.html

        seriesDefaults: {
            renderer: $.jqplot.BarRenderer,
            pointLabels: {
-               location: 's'
+               location: 's',
+				ypadding: 15
            }
        },
        series: [

examples/stackedBar2.html

       $.jqplot.config.enablePlugins = true;
 
 		
-var line1 = [6.75, 14, 10.75, 5.125, 10];
+var line1 = [6.75, 14, 10.75, 0, 10];
 var line2 = [4.88, 9.63, 7.25, 15.5, 11.75];
 
 var tickers = ['2008-03-01', '2008-04-01', '2008-05-01', '2008-06-01', '2008-07-01'];
                     // barPadding: 6,
           // barMargin: 15,
           barWidth: 20
+				},
+				pointLabels: {
+					hideZeros: true
 				}
         // shadowAngle: 135
 			},

examples/trendlineDragableCustomization.html

   <script language="javascript" type="text/javascript" src="../src/plugins/jqplot.dateAxisRenderer.js"></script>
   <script language="javascript" type="text/javascript" src="../src/plugins/jqplot.dragable.js"></script>
   <script language="javascript" type="text/javascript" src="../src/plugins/jqplot.trendline.js"></script>
+  <script language="javascript" type="text/javascript" src="../src/plugins/jqplot.enhancedLegendRenderer.js"></script>
   <!-- END: load jqplot -->
 
 <script language="javascript" type="text/javascript">
               }
             }
             ],
-            legend: {show:true}
+	       legend:{
+	           renderer: $.jqplot.EnhancedLegendRenderer,
+	           show:true,
+			}
       });
   });
 </script>