Commits

Anonymous committed e5b4d93

Some additions and tweaks to examples.

  • Participants
  • Parent commits 323e0f0

Comments (0)

Files changed (2)

examples/OHLC.html

           showMarker:false,
           tooltipAxes: 'xy',
           yvalues: 4,
-          formatString:'<table class="jqplot-highlighter"><tr><td>date:</td><td>%s</td></tr><tr><td>open:</td><td>%s</td></tr><tr><td>hi:</td><td>%s</td></tr><tr><td>low:</td><td>%s</td></tr><tr><td>close:</td><td>%s</td></tr></table>'
+          formatString:'<table class="jqplot-highlighter"> \
+          <tr><td>date:</td><td>%s</td></tr> \
+          <tr><td>open:</td><td>%s</td></tr> \
+          <tr><td>hi:</td><td>%s</td></tr> \
+          <tr><td>low:</td><td>%s</td></tr> \
+          <tr><td>close:</td><td>%s</td></tr></table>'
       }
     });
 });</script>
           yvalues: 5,
           formatString:'<table class="jqplot-highlighter"> \
           <tr><td>date:</td><td>%s</td></tr> \
-          <tr><td>open:</td><td>%s</td></tr> \ <tr><td>hi:</td><td>%s</td></tr> \
+          <tr><td>open:</td><td>%s</td></tr> \
+          <tr><td>hi:</td><td>%s</td></tr> \
           <tr><td>low:</td><td>%s</td></tr> \
           <tr><td>close:</td><td>%s</td></tr> \
           <tr><td>letter:</td><td>%s</td></tr></table>'

examples/trendlineDragableCustomization.html

 <script language="javascript" type="text/javascript">
   
   $(document).ready(function(){
-      $.jqplot.config.enablePlugins = true;
+      // $.jqplot.config.enablePlugins = true;
 
     s1 = [['23-May-08',1],['24-May-08',4],['25-May-08',2],['26-May-08', 6]];
     s2 = [['23-May-08',2],['24-May-08',3],['25-May-08',7],['26-May-08', 4]];
                   color: '#ff3366',
                   constrainTo: 'x'
               },
+              isDragable: true,
               trendline: {
                   show:true,
                   label: 'trendline 1',
                     color: '#cccccc'
               }
-            }, {
-              isDragable: false
+            }, 
+            {
+              isDragable: false,
+              trendline: {
+                  show:true
+              }
             }
             ],
             legend: {show:true}