| 1 | <!--#include virtual="header.html" --> |
| 2 | |
| 3 | <style> |
| 4 | .versions { |
| 5 | margin-top: 20px; |
| 6 | } |
| 7 | .versions td { |
| 8 | vertical-align: top; |
| 9 | } |
| 10 | td.notes { |
| 11 | padding-bottom: 20px; |
| 12 | } |
| 13 | .versions td:first-child { |
| 14 | text-align: right; |
| 15 | padding-right: 20px; |
| 16 | font-weight: bold; |
| 17 | } |
| 18 | .date { |
| 19 | font-size: small; |
| 20 | color: darkgray; |
| 21 | font-weight: normal; |
| 22 | } |
| 23 | </style> |
| 24 | |
| 25 | <h2>Version History</h2> |
| 26 | |
| 27 | <p>For links to download each release, see the <a href="/download.html">Downloads</a> page.</p> |
| 28 | |
| 29 | <table class="versions"> |
| 30 | <tr> |
| 31 | <td>2.1.0<p class="date">2017-12-08</p></td> |
| 32 | <td class="notes"> |
| 33 | New features: |
| 34 | <ul> |
| 35 | <li>Double click event can be captured and cancelled by plugins</li> |
| 36 | <li>setAnnotations's second parameter is now an optional boolean</li> |
| 37 | <li>Add `pixelRatio` option, which may allow improved performance on smaller screens by controlling the canvas' pixel ratio</li> |
| 38 | <li>X-axis label and tick logic can now operate at millisecond-level granularity</li> |
| 39 | </ul> |
| 40 | |
| 41 | Bug fixes: |
| 42 | <ul> |
| 43 | <li>Repair a bug in "Custom interaction modals" demo</li> |
| 44 | </ul> |
| 45 | |
| 46 | Internal refactors/fixes: |
| 47 | <ul> |
| 48 | <li>Fix various spelling mistakes</li> |
| 49 | <li>Fix a couple of type signatures in dygraph-externs.js</li> |
| 50 | </ul> |
| 51 | </td> |
| 52 | </tr> |
| 53 | <tr> |
| 54 | <td>2.0.0<p class="date">2017-01-11</p></td> |
| 55 | <td class="notes"> |
| 56 | Breaking changes: |
| 57 | <ul> |
| 58 | <li>JS files were renamed to dygraph.js and dygraph.min.js.</li> |
| 59 | <li>There's now a dygraph.css file that you must include.</li> |
| 60 | <li>Dropped support for OldIE and other non-standard browsers. dygraphs works in IE11. I'm not sure about IE9 and IE10.</li> |
| 61 | <li>Double-click to unzoom zooms all the way out (and ignores valueRange).</li> |
| 62 | <li>Dropped old-style per-axis/per-series options.</li> |
| 63 | </ul> |
| 64 | |
| 65 | New features: |
| 66 | <ul> |
| 67 | <li>Add a legendFormatter option</li> |
| 68 | <li>`this` is the Dygraph object in all callbacks</li> |
| 69 | <li>pass through (row, col) to valueFormatter</li> |
| 70 | <li>Option to not sync range in extras/synchronizer.js</li> |
| 71 | <li>Additional options for styling the range selector</li> |
| 72 | <li>getRowForX method</li> |
| 73 | <li>setVisibility can set the visibility of multiple series at once.</li> |
| 74 | <li>crosshair plugin extra</li> |
| 75 | <li>rebase/straw broom plugin</li> |
| 76 | <li>highlightSeriesBackgroundColor option</li> |
| 77 | <li>yAxisExtremes() method.</li> |
| 78 | <li>Passing strings in native format now throws. (Previously it kinda sorta worked.)</li> |
| 79 | </ul> |
| 80 | |
| 81 | Bug fixes: |
| 82 | <ul> |
| 83 | <li>Selections are always cleared with animations</li> |
| 84 | <li>synchronizer calls previously-set callbacks</li> |
| 85 | <li>synchronizer only syncs when graphs are ready</li> |
| 86 | <li>Reset on synchronized graphs failed </li> |
| 87 | <li>fix to improve synchronizer performance </li> |
| 88 | <li>binary search bug fix in synchronizer</li> |
| 89 | <li>Fix range selection when chart is located inside fullscreen element </li> |
| 90 | <li>fillAlpha can be set per-series when fillGraph is set.</li> |
| 91 | <li>xRangePad was ignored on unzoom </li> |
| 92 | <li>Allow selected points where canvas-y coordinate is 0</li> |
| 93 | <li>Using valueRange with Logscale and yRangePad has unexpected results </li> |
| 94 | <li>With "drawGapEdgePoints", unwanted point often drawn at beginning of chart </li> |
| 95 | </ul> |
| 96 | |
| 97 | Other user-visible changes: |
| 98 | <ul> |
| 99 | <li>“legend: follow” positioning changes</li> |
| 100 | </ul> |
| 101 | |
| 102 | Internal refactors: |
| 103 | <ul> |
| 104 | <li>Code moved into a “src/“ directory</li> |
| 105 | <li>Tests use Mocha instead of jstd</li> |
| 106 | <li>dygraphs is split into ES6 modules and uses some ES6 features (e.g. arrows and destructuring).</li> |
| 107 | <li>dygraphs is built using babel & browserify</li> |
| 108 | <li>Code coverage is tracked continuously</li> |
| 109 | <li>Bundle size is now tracked continuously</li> |
| 110 | </ul> |
| 111 | </td> |
| 112 | </tr> |
| 113 | <tr> |
| 114 | <td>1.1.1<p class="date">2015-06-01</p></td> |
| 115 | <td class="notes"> |
| 116 | <ul> |
| 117 | <li>Set <code>this</code> to the dygraph in all callbacks.</li> |
| 118 | <li>Minor bug fixes.</li> |
| 119 | </ul> |
| 120 | </td> |
| 121 | </tr> |
| 122 | <tr> |
| 123 | <td>1.1.0<p class="date">2014-12-03</p></td> |
| 124 | <td class="notes"> |
| 125 | Highlights include: |
| 126 | <ul> |
| 127 | <li>dygraphs is now "retina" compatible.</li> |
| 128 | <li>Dramatically improved performance for filled charts (i.e. fillGraph)</li> |
| 129 | <li>More sensible date ticks: "Jan 08"→"Jan 2008", "29Jan"→"29 Jan"</li> |
| 130 | <li>Using a non-existent option now throws (w/ dygraph-combined-dev.js)</li> |
| 131 | <li>x-axis log scales</li> |
| 132 | <li>The <code>labelsUTC</code> option forces UTC formatting for all labels.</li> |
| 133 | <li>The new DataHandler system allows for more flexibility in data loading.</li> |
| 134 | <li>"this" is set to the dygraph in all callbacks.</li> |
| 135 | <li>dygraphs has shrunk, because we moved some stuff into "extras" (133kb→122kb)</li> |
| 136 | </ul> |
| 137 | |
| 138 | This will be the last major release to support browsers without a native <canvas> implementation. See <a href="http://blog.dygraphs.com/2014/12/dygraphs-110.html">blog post</a> for more details. |
| 139 | </td> |
| 140 | </tr> |
| 141 | <tr> |
| 142 | <td>1.0.1<p class="date">2013-08-29</p></td> |
| 143 | <td class="notes">Minor bug fixes and updates to web site.</td> |
| 144 | </tr> |
| 145 | <tr> |
| 146 | <td>1.0.0<p class="date">2013-08-14</p></td> |
| 147 | <td class="notes">Initial Release. See <a href="http://blog.dygraphs.com/2013/08/announcing-dygraphs-100.html">blog post</a>.</td> |
| 148 | </tr> |
| 149 | </table> |
| 150 | |
| 151 | <!--#include virtual="footer.html" --> |