March 2012 release notes
The March 2012 release of RGraph is now available. This release is very significant and as such has the RGraph2 moniker.
It introduces the ObjectRegistry which allows you to combine different charts on a single canvas. An obvious example is
the Line and Bar charts, though any combination is allowed. The combining charts docs page has an example and is
here. A less obvious example is the Bar chart combined with the VProgress bar and the
example is here. More HOWTO guides are available which take a
step-by-step approach to demonstrating some common tasks. Other changes include:
- There's now a tool that can help you to determine your gutters.
- There's now a tool that can help you when converting images to data: URLs.
- The Pie chart chart.strokestyle option can now be an array of colors as well as a single color.
- Added __index2__ to the Scatter chart
- Added the .getValue(e) method to the Bipolar chart.
- Added the .getValue(e) method to the Gauge chart.
-
Circular charts are now positioned using the gutter settings. The positioning can be overridden
though with chart.centerx, chart.centery and chart.radius.
- Added chart.border.gradient to the Gauge chart. Keep in mind though that Canvas gradients can slow down animations.
- Added a shrink effect to the Pie chart.
- Added the Thermometer Grow effect
- Added the Pie chart Explode effect to complement the Implode effect.
- Important: Tooltips and othe dynamic features have been moved to a new file: RGraph.common.dynamic.js
- The name of the coordinates for the interactive key has changed to: obj.coords.key
- The file RGraph.common.adjusting.js has been removed. Adjusting is now handled in each individual chart file.
- Thumbnail and area zoom have been removed.
- Added chart.border.inner to the VProgress and HProgress.
- Added chart.labels.specific to the VProgress.
- Added chart.labels.specific to the HProgress.
- Added chart.background.image.w and chart.background.image.h to the Bar, Line and Scatter charts.
- Added chart.radius to the LED display.
- The Gauge chart now has a shadow by default. You can turn this off for animations with chart.shadow
- Added the Bar chart .getShapeByX(e) method
- Added adjusting to the Gauge, Odometer, Fuel and Meter charts
- Annotating has been updated - if you use them check your charts.
- Added 3D highlighting to the Donut chart: http://dev.rgraph.net/tests/donut/highlight_style.html
- Removed the unused RGraph.lineByAngle() function
- Added more HOWTO guides
- The VProgress and HProgress chart.strokestyle property is now split into chart.strokestyle.inner and chart.strokestyle.outer
Keep in mind that with the addition of the ObjectRegistry this is a very significant update and
upgrades should be done with caution. You can read the changelog here and
(importantly) the BC file for details on backwards compatibility breaks here.
Download RGraph here: RGraph2_2012-03-28-stable.zip