Commits

cleonello  committed ef448e5

Updated docs and tests for bugrelease 0.9.2 version.

  • Participants
  • Parent commits 143a0a3
  • Tags 0.9.2

Comments (0)

Files changed (4)

File src/changes.txt

 Title: Change Log
 
+0.9.2:
+
+* Fixed bug #45 where a plot could crash if series had different numbers of points.
+* Fixed issue #50, added option to turn off sorting of series data. 
+* Fixed issue #31, implemented a better axis autoscaling algorithm and added an autoscale option.
+
 0.9.1:
 
+* Fixed bug #40, when axis pad, padMax, padMin set to 0, graph would fail to render.
 * Fixed bug #41 where pie and bar charts not rendered correctly on redraw().
 * Fixed bug #11, filled stacked line plots not rendering correctly in IE.
 * Fixed bug #42 where stacked charts not rendering with string date axis ticks.

File src/jqplot.core.js

         this.max=null;
         // prop: autoscale
         // Autoscale the axis min and max values to provide sensible tick spacing.
-        // Overrides the pad, padMin and padMax values.  Set to false
-        // to use the pad, padMin and padMax options.  If both min and max
-        // are specified, will not autoscale.
+        // If axis min or max are set, autoscale will be turned off.
+        // The numberTicks, tickInterval and pad options do work with 
+        // autoscale, although tickInterval has not been tested yet.
+        // padMin and padMax do nothing when autoscale is on.
         this.autoscale = false;
         // prop: pad
         // Padding to extend the range above and below the data bounds.

File tests/multipleYAxesTests.php

 
 <pre class="prettyprint plot">
 var l1 = [2, 3, 1, 4, 3];
-var l2 = [1, 4, 3, 2, 2.5];
-var l3 = [14, 24, 18, 8, 22];
-var l4 = [102, 104, 153, 122, 138];
+var l2 = [1, 4, 3, 2, 2.5, 2];
+var l3 = [14, 24, 18, 22];
+var l4 = [102, 104, 153, 122, 138, 115];
 var l5 = [843, 777, 754, 724, 722];
 plot1 = $.jqplot('chart1', [l1, l3, l4, l5], {
-    title:'Default Multiply y axes',
+    title:'Default Multiple y axes',
     series:[
         {}, 
         {yaxis:'y2axis'}, 
 <div class="jqPlot" id="chart2" style="height:380px; width:680px;"></div>
 
 <pre class="prettyprint plot">
-var l1 = [2, 3, 1, 4, 3];
-var l2 = [1, 4, 3, 2, 2.5];
-var l3 = [14, 24, 18, 8, 22];
-var l4 = [102, 104, 153, 122, 138];
-var l5 = [843, 777, 754, 724, 722];
 plot2 = $.jqplot('chart2', [l1, l2, l3, l4, l5], {
-    title:'Customized Multiply y axes',
+    title:'Customized Multiple y axes',
     series:[
         {}, 
         {yaxis:'y2axis'}, 
-0.9.1
+0.9.2