[77] | 1 | |
---|
| 2 | Backwards compatibility breaks and advisories |
---|
| 3 | =============================================== |
---|
| 4 | |
---|
| 5 | +---------------------------------------------------------------------------------------+ |
---|
| 6 | o [29-07-2011] | Stable release | |
---|
| 7 | +---------------------------------------------------------------------------------------+ |
---|
| 8 | |
---|
| 9 | o [30-07-2011] When using Line chart specific labels in conjunction with chart.ymin the label positioning |
---|
| 10 | has changed - the labels now start at the X axis vertical position. |
---|
| 11 | o [20-07-2011] The chart.segments option is no longer mmaintained - use obj.angles instead |
---|
| 12 | o [20-07-2011] When adding a Line chart to a Bar chart some of the Line chart properties are no longer set for you - |
---|
| 13 | you will need to set these yourself if you want them. They are (along with what they were set to): |
---|
| 14 | |
---|
| 15 | lineObj.Set('chart.noaxes', true); |
---|
| 16 | lineObj.Set('chart.background.barcolor1', 'rgba(0,0,0,0)'); |
---|
| 17 | lineObj.Set('chart.background.barcolor2', 'rgba(0,0,0,0)'); |
---|
| 18 | lineObj.Set('chart.background.grid', false); |
---|
| 19 | lineObj.Set('chart.ylabels', false); |
---|
| 20 | |
---|
| 21 | o [17-07-2011] The default CSS has been altered for tooltips. This affects all chart types. The changes are: |
---|
| 22 | o There is now no CSS border to the tooltip |
---|
| 23 | o The toltip is now transparent a small amount (opacity=0.9) |
---|
| 24 | o The tooltip shadow X & Y offsets are now zero |
---|
| 25 | |
---|
| 26 | If you wish to revert these changes you will need to use the tooltip CSS class: |
---|
| 27 | |
---|
| 28 | <style> |
---|
| 29 | .RGraph_tooltip { |
---|
| 30 | // ... |
---|
| 31 | } |
---|
| 32 | </style> |
---|
| 33 | |
---|
| 34 | +---------------------------------------------------------------------------------------+ |
---|
| 35 | o [12-07-2011] | Stable release | |
---|
| 36 | +---------------------------------------------------------------------------------------+ |
---|
| 37 | |
---|
| 38 | o [02-07-2011] The Tradar chart has been renamed to the Radar chart. This will make more identifiable. You WILL |
---|
| 39 | need to update you code to the new name! |
---|
| 40 | o [25-06-2011] The HBar default colors have changed. |
---|
| 41 | o [18-06-2011] The Rose chart has undergone significant changes, now supporting a "stacked" Rose chart as well as |
---|
| 42 | a "non-equi-angular" variant. It also now supports chart.colors.sequential property and |
---|
| 43 | the default chart.strokestyle value has been changed to rgba(0,0,0,0.5). You may need to set the |
---|
| 44 | chart.colors.sequential (to true) to maintain BC. |
---|
| 45 | |
---|
| 46 | +---------------------------------------------------------------------------------------+ |
---|
| 47 | o [04-06-2011] | Stable release | |
---|
| 48 | +---------------------------------------------------------------------------------------+ |
---|
| 49 | |
---|
| 50 | o [04-06-2011] MAJOR BREAK: The chart.gutter property has been split into four properties: |
---|
| 51 | o chart.gutter.left |
---|
| 52 | o chart.gutter.right |
---|
| 53 | o chart.gutter.top |
---|
| 54 | o chart.gutter.bottom |
---|
| 55 | This affects all graph types (except the LED chart) so rigorous testing will be necessary if |
---|
| 56 | you choose to upgrade. |
---|
| 57 | o [14-05-2011] If you're using chart.width/chart.height, please switch to the individual gutter settings. These |
---|
| 58 | provide finer grained and more intuitive control over the gutters and certain things are done for you |
---|
| 59 | automatically, like for example adjusting coordinates for tooltips and resizing. The chart.width and |
---|
| 60 | chart.height will cease to function starting immediately. |
---|
| 61 | o [02-04-2011] The default color for background bars on the Scatter has changed from white to transparent. This was |
---|
| 62 | necessary to facilitate background images |
---|
| 63 | |
---|
| 64 | +---------------------------------------------------------------------------------------+ |
---|
| 65 | o [26-03-2011] | Stable release | |
---|
| 66 | +---------------------------------------------------------------------------------------+ |
---|
| 67 | |
---|
| 68 | o [12-03-2011] The RGraph.Clear() API function now clears to transparent, not white. If you wanted it to clear to white |
---|
| 69 | you could call this function from the new onclear event: |
---|
| 70 | |
---|
| 71 | function myClear(obj) |
---|
| 72 | { |
---|
| 73 | obj.context.beginPath(); |
---|
| 74 | obj.context.fillStyle = 'white'; |
---|
| 75 | obj.context.fillRect(-10,-10,obj.canvas.width + 20, obj.canvas.height + 20); |
---|
| 76 | obj.context.fill(); |
---|
| 77 | } |
---|
| 78 | |
---|
| 79 | DO NOT simply use the RGraph.Clear() function in the onclear event listener function, as you will create an |
---|
| 80 | infinite loop. |
---|
| 81 | |
---|
| 82 | o [06-03-2011] The RGraph.getSegment() method has been moved to be a part of both the Pie and Rose objects. This means |
---|
| 83 | that if you use it you will have to change your code slightly. This change was necessary to facilitate |
---|
| 84 | Pie chart exploded segments. This change will also help prevent bugs in this function in the future. |
---|
| 85 | |
---|
| 86 | +---------------------------------------------------------------------------------------+ |
---|
| 87 | o [28-01-2011] | Stable release | |
---|
| 88 | +---------------------------------------------------------------------------------------+ |
---|
| 89 | |
---|
| 90 | o [22-01-2011] The RGraph.Clear() function now uses a square 2,000 pixels wide & high |
---|
| 91 | o [15-01-2011] The Gantt adjusting array (kept in the RGraph registry) now uses associative/textual keys instead of numeric ones |
---|
| 92 | o [08-01-2011] The default number of Line chart X tickmarks has been altered ever-so-slightly: Now if you don't have chart.hmargin |
---|
| 93 | set then the X tickmarks will line up with the points on the chart. See the first example on the line chart test |
---|
| 94 | page for an example: http://dev.rgraph.net/tests/_line.html |
---|
| 95 | o [08-01-2011] The custom RGraph event onannotatestart has been renamed to onannotatebegin. The previous name will still work, |
---|
| 96 | but will eventually be removed. |
---|
| 97 | |
---|
| 98 | +---------------------------------------------------------------------------------------+ |
---|
| 99 | o [24-12-2010] | Stable release | |
---|
| 100 | +---------------------------------------------------------------------------------------+ |
---|
| 101 | |
---|
| 102 | o [04-12-2010] chart.key.vpos is now silently converted to chart.key.position.y (note that these two properies behave slightly |
---|
| 103 | differently - chart.key.position.y is an absolute coordinate). ALSO; the key has been rewritten, so check that |
---|
| 104 | your graphs are working as you expect |
---|
| 105 | o [04-12-2010] The HBar labels (from chart.labels.above) now have an extra property (chart.labels.above.decimals) which controls |
---|
| 106 | how many decimals are shown. This defaults to 0, and as a result you may need to set this if you're expecting decimals. |
---|
| 107 | |
---|
| 108 | +---------------------------------------------------------------------------------------+ |
---|
| 109 | o [27-11-2010] | Stable release | |
---|
| 110 | +---------------------------------------------------------------------------------------+ |
---|
| 111 | |
---|
| 112 | o [20-11-2010] For the line/bar/scatter, when the X axis is at the bottom and there is a background bar with a |
---|
| 113 | negative start (or it results in a negative end value), you now get a warning. |
---|
| 114 | o [13-11-2010] All line chart labels are now shown, regardless of how many points on the line there are. |
---|
| 115 | o [06-11-2010] The HBar and Scatter have had their scaled handling changed slightly - now if you specify a maximum Y value, |
---|
| 116 | that is what is used. |
---|
| 117 | o [06-11-2010] The API function RGraph.getSCale(max, obj) now takes two arguments - the maximum value and the graph object. |
---|
| 118 | |
---|
| 119 | +---------------------------------------------------------------------------------------+ |
---|
| 120 | o [30-10-2010] | Stable release | |
---|
| 121 | +---------------------------------------------------------------------------------------+ |
---|
| 122 | |
---|
| 123 | o [30-10-2010] The Scatter chart can now only have 1/3/5 labels |
---|
| 124 | o [30-10-2010] The Line chart can now only have 1/3/5 labels |
---|
| 125 | o [23-10-2010] The Bar chart can now only have 1/3/5/10 labels |
---|
| 126 | o [23-10-2010] The default for chart.scale.decimals has changed, as such you may need to specify this: |
---|
| 127 | myScatter.Set('chart.scale.decimals', 0); |
---|
| 128 | o [09-10-2010] Scatter chart ticksize has changed behaviour slightly, you therefore may need to alter it slightly. |
---|
| 129 | |
---|
| 130 | +---------------------------------------------------------------------------------------+ |
---|
| 131 | o [25-09-2010] | Stable release | |
---|
| 132 | +---------------------------------------------------------------------------------------+ |
---|
| 133 | |
---|
| 134 | o [18-09-2010] For IE9 compatibility purposes, the IE8 DirectX shadow has been removed from the ModalDialog. This only affects |
---|
| 135 | MSIE8. The background is still semi-opaque. |
---|
| 136 | o [18-09-2010] The common function RGraph.isIE9() has changed to RGraph.isIE9up(). The old one will continue to work, but |
---|
| 137 | not indefinitely. |
---|
| 138 | o [11-09-2010] The Odometer properties chart.units.pre and chart.units.post have now changed to chart.value.units.pre |
---|
| 139 | and chart.value.units.post. The properties chart.units.post and chart.units.pre are now used for the main |
---|
| 140 | labels. |
---|
| 141 | o [04-09-2010] HBar and Pie charts have been moved to DOM2 event registration for tooltips |
---|
| 142 | o [04-09-2010] The RGraph.number_format() function has had its argument list changed |
---|
| 143 | o [04-09-2010] Now that RGraph is moving to DOM2 event handlers, tooltips will be incompatible with IE8 |
---|
| 144 | |
---|
| 145 | +---------------------------------------------------------------------------------------+ |
---|
| 146 | o [28-08-2010] | Stable release | |
---|
| 147 | +---------------------------------------------------------------------------------------+ |
---|
| 148 | |
---|
| 149 | o [28-08-2010] Removed option to have the labels on the outside of a Meter. Now they're always on the inside of the Meter |
---|
| 150 | and there's always 11 of them (including zero) |
---|
| 151 | o [14-08-2010] Changed the HBar property chart.strokecolor to chart.strokestyle |
---|
| 152 | o [07-08-2010] The Odometer property chart.needle.thickness has been changed to chart.needle.width. Work has been done on the |
---|
| 153 | needle head. |
---|
| 154 | o [07-08-2010] Progress bar has now been split into two different graph types: |
---|
| 155 | o HProgress |
---|
| 156 | o VProgress |
---|
| 157 | o [07-08-2010] Progress bar property chart.color is now chart.colors, and should be an array |
---|
| 158 | o [07-08-2010] Changed default Bipolar colors to just one - green |
---|
| 159 | |
---|
| 160 | +---------------------------------------------------------------------------------------+ |
---|
| 161 | o [31-07-2010] | Stable release | |
---|
| 162 | +---------------------------------------------------------------------------------------+ |
---|
| 163 | |
---|
| 164 | o [17-07-2010] Stepped line charts and their tickmarks have been marginally altered. No final tickmark is now shown (it looks |
---|
| 165 | odd being isolated) |
---|
| 166 | o [17-07-2010] Changed the Odo chart.needle.style to chart.needle.color |
---|
| 167 | o [17-07-2010] The Odo properties chart.start, chart.end and chart.value have all been changed to internal properties: |
---|
| 168 | obj.start, obj.end and obj.value |
---|
| 169 | o [09-07-2010] With the Odometer the old property chart.needle.style has been renamed to be chart.needle.color |
---|
| 170 | o [09-07-2010] The Progress bar has had it's properties chart.max and chart.value changed to class properties, this means |
---|
| 171 | that if you want to make use of these, you will now need to use myProgress.value and myProgress.max. |
---|
| 172 | myProgress being the name of your graph object. |
---|
| 173 | |
---|
| 174 | +---------------------------------------------------------------------------------------+ |
---|
| 175 | o [26-06-2010] | Stable release | |
---|
| 176 | +---------------------------------------------------------------------------------------+ |
---|
| 177 | |
---|
| 178 | o [08-05-2010] The Rose charts "chart.labels" property is now different to the "chart.key" property |
---|
| 179 | o [01-05-2010] The Donut chart is now a variant of the Pie chart (chart.variant = donut) |
---|
| 180 | o [24-04-2010] The radar chart has been renamed to Rose. The library is now called RGraph.rose.js and the constructor has |
---|
| 181 | been renamed. It has also been prettied up marginally and labels have been added. |
---|
| 182 | o [17-04-2010] All charts have had their property "chart.tooltip.effect" renamed to "chart.tooltips.effect". |
---|
| 183 | The Scatter chart has also had its property "chart.tooltip.hotspot" renamed to "chart.tooltips.hotspot" |
---|
| 184 | o [17-04-2010] Default chart.tooltips bar chart property has changed from an empty array to null. |
---|
| 185 | o [17-04-2010] The RGraph.common.js library has now been split into 5 separate files because it had |
---|
| 186 | become far too large. You can read the new implementation details here: |
---|
| 187 | http://www.rgraph.net/docs/index.html#implementation |
---|
| 188 | o [10-04-2010] The "coords" arrays (for each object) have been unified. Now you no longer need to take |
---|
| 189 | into account the margins. What you get in the coords arrays are as they are used on the |
---|
| 190 | graph. |
---|
| 191 | |
---|
| 192 | +---------------------------------------------------------------------------------------+ |
---|
| 193 | o [27-03-2010] | Initial stable release | |
---|
| 194 | +---------------------------------------------------------------------------------------+ |
---|