+----------------------+
| The RGraph CHANGELOG |
+----------------------+
31st March 2013
===============
o [API] Added X axis drawing API object
o [API] Added Y axis drawing API object
o [API] *** The RGraph.getGutterSuggest function has been removed ***
o [API] Added the ObjectRegistry function RGraph.ObjectRegistry.Iterate() which can be used to iterate through all of the
objects in the ObjectRegistry. It takes an optional second argument of a comma separated string of chart types to
run the function for.
o [API] Added the ObjectRegistry function RGraph.ObjectRegistry.ClearbyType(type) - which clears the ObjectRegistr of the given
type of object.
p [API] Added the ObjectRegistry function RGraph.ObjectRegistry.List() which shows the object types that is held in the registry
o [API] Added the RGraph.sequentialIndexToGrouped(index, data) function which can make converting sequential indexes (eg the
coords array) to grouped arrays (eg the data in a stacked or grouped bar chart) easier.
[API] Added the function RGraph.sequentialIndexToGrouped(idx, data) - which takes a sequential index and returns an approprizte
group/index based on the data supply. It can be used to convert sequential indexes (such as those of the .coords array
into ones that you can use with the data arrays.
o [BAR] Fixed slightly wrong coords being stored in grouped bar charts (which use chart.hmargin.grouped)
o [BAR] Added a bevel effect option to the Bar chart: http://www.rgraph.net/demos/bar01.html
o [BAR] Added the demos/bar19.html demo - which shows a bar chart made up of the Rect, XAxis and YAxis drawing objects
o [BAR] The Bar chart now supports any number of Y labels.
o [BASIC] A new basic example of a vertical CSV has been added
o [CROSSHAIRS] Crosshairs can now wsnap to the nearest point with chart.crosshairs.snap
o [DEMOS] The gauge chart AJAX demo has been updated
o [DOCS] Added new 3D Pie chart HOWTO
o [DOCS] Added new Pie chart explode HOWTO
o [HBAR] The default chart.gutter.top setting has changed from 35 to 25.
o [MISC] Set methods can now be chained like this:
obj.Set('chart,gutter.left', 25)
.Set('chart.linewidth', 2)
.Set('chart.title', 'A chart!');
o [HBAR] The HBAR options chart.labels.colors and chart.xlabels.colors have been removed
o [LINE] The Line chart now supports any number of Y labels.
o [PIE] The default colors have been updated to gradients
o [RADAR] Added new properties: chart.labels.specific
chart.labels.count
chart.axes.bold
chart.axes.bold.zero
chart.axes.boxed
chart.axes.boxed.zero
o [MISC] The scale geration function has been rewritten. With scaled charts you can now have as many labels as you
wish - the name of the property in question will vary from chart to chart.
o [MISC] This has been optimised using loacl variable instead of globals:
http://www.rgraph.net/docs/updating-charts-dynamically.html
o [MISC] The text function has been rwritten. Coordinates for the text are now stored in obj.coordsText. So by using
the drawing API rect object you can place a "hotspot over the text and therefore make clickable text. This doesn't
work for angled text.
o [VPROGRESS] The defaults for the VProgress title have changed. spaecifically chart.title.vpos and chart.title.hpos have been
removed.
o [TOOLTIPS] The RGraph.HideTooltip() function can now take a canvas as an optional parameter (the same as what you get back
from document.getElementById()). If given the tooltip will only be hidden if the UIDs match (ie the tooltip
originates from that canvas).
o [WEBSITE] The forum has been updated. Email has now gone - to keep uptodate you will need to use RSS
o [ZOOM] The ZoomWindow and ZoomArea function have now been removed from RGraph altogether
IMPORTANT:
o [MISC] The text rendering function has been overhauled. Before you upgrade you MUST test your charts as this update affects
ALL chart types! As a result of this change there's lots of spurious comments in the files - so you are highly
recommended to minify and/or compress the files before use. This change is VERY significant so you MUST test
your charts!
31st January 2013
=================
o [API] The getObjectsByType() and getFirstObjectByType() ObjectRegistry methods have been updated. They now accept just
the desired type as the sole argument and return the applicable object(s).
o [BAR] chart.labels.colors and chart.ylabels.colors have been removed
o [CORNERGAUGE] Added title option
o [DRAWXAXIS] The RGraph.DrawXAxis() function now has four new properties:
o axis.noendtick.left
o axis.noendtick.right
o axis.noxaxis
o axis.scale.invert
o [DRAWYAXIS] The RGraph.DrawYAxis() function now has four new properties:
o axis.noendtick.top
o axis.noendtick.bottom
o axis.noyaxis
o axis.scale.invert
o [DRAWXAXIS] You can now use axis. and also chart. as a prefix for properties interchangably
o [DRAWYAXIS] You can now use axis. and also chart. as a prefix for properties interchangably
o [EFFECTS] The Bar chart Wave effect has been rewritten and sped up - most noticeably in Firefox. You will probably notice
speed differences in all browsers though. This speed up will be most apparent in effects but anything that
uses text will benefit.
o [GAUGE] Add chart.labels.specific so you can set your own labels
o [HBAR] Removed Firebug warnings
o [HBAR] Added chart.noaxes and
o [LINE] Added the Trace2 effect which achieves the same effect as the Trace effect but using a different method
o [METER] Added chart.angles.start and chart.angles.end - please check your charts are as they should be
o [MISC] The Radar, RScatter and Rose chart background grids have been updated so that they line up with tickmarks. See the new
look here: http://dev.rgraph.net/tests/2013-01-13/circular-chart-sticks.html
o [API] Added pseudo-constants for easier browser checking: ISIE ISIE6 ISIE7 ISIE8 ISIE9 ISIE9UP ISIE10 ISIE10UP ISOLD So you could
do this: if (ISIE9UP) { ... }
o [RADAR] chart.background.circles.spacing has been removed
o [ROSE] Added chart.background.grid.spokes.overhang which defaults to 0, so now there is no overhang
o [ROSE] Fixed spokes being drawn out of alignment by 90 degrees
o [SCATTER] The Scatter chart custom tick function is now passed the dataset index as well as the data index as arguments;
See here for details: http://www.rgraph.net/docs/scatter.html#custom.tickmarks
31st December 2012
==================
o [ANIMATIONS] The rotateIn animation now rotates in from the left (10px)
o [API] The DrawXAxis() and DrawYAxis() functions now support an axis.linewidth option
o [DOCS] Added range inputs (sliders) to the 3D example. For best results use Chrome or Safari to view the page:
http://www.rgraph.net/docs/howto-3d-effect.html
o [DOCS] Added a Contract/Expand HOWTO: http://www.rgraph.net/docs/howto-make-a-contract-expand-transition.html
o [EFFECTS] Added the Contract effect - the opposite of the Expand effect
o [HPROGRESS] Added chart.bevel
o [EFFECTS] You can now turn the bounce effect off in the Expand() effect
o [LINE] The chart.backdrop option now supports splines
o [LINE] The way that the Y coordinates for lines has changed significantly. There shouldn't be any visible changes.
o [MISC] The minify PHP script has been removed - the jsmin C program should be used instead.
o [MISC] Automated all docs pages for charts
o [RADAR] The default for chart.axes.color has changed from black to rgba(0,0,0,0)
o [RADAR] The default for chart.background.circles.poly has changed to true
o [RADAR] The Radar chart now has a Trace effect
o [ROSE] Added ability to set the density and the color of the background concentric circles
o [VPROGRESS] Added chart.bevel
30th November 2012
==================
o [API] The DrawAxes() function has been renamed to DrawYAxis() and a DrawXAxis() function has been added.
o [API] The RGraph.Reset() method has been updated so that it now removes all relevant objects from the ObjectRegistry. You may find
it easier to use and more clear then manually clearing the ObjectRegistry. In many cases you can just replace your .Clear()
call with a .Reset() call. Note that any translation that has been performed will be lost as well. If you want the old Reset
method it's very easy to make one (or use this):
function myReset (canvas)
{
canvas.width = canvas.width;
}
o [BAR LINE SCATTER] When you use a background image - the background image will set a property
(obj.__rgraph_background_image_loaded__) when the image has loaded.
o [EFFECTS] The Expand effect now has a small bounce effect. It also takes less time to run.
o [EFFECTS] Added a new CSS animations library. Recent browsers support these (eg IE10+, Chrome, Firefox, Opera, Safari)
o [HOWTOS] The VProgress/Bar HOWTO doc now redraws the X axis when all of the vprogress bars have been drawn
o [HPROGRESS] The default for chart.tickmarks.zerostart has changed to true
o [LINE] Fixed bug with filled line chart tickmarks (the end* variants)
o [LICENSE] The non-commercial license has been formalised as the Creative Commons Attribution NonCommercial license
o [MISC] The method of antialiasing has changed. Instead of a function that rounds to the nearest
half-pixel - the canvas is translated by half a pixel and then values are rounded.
o [RADAR] The default for chart.labels.boxed has changed from true to false
o [VPROGRESS] The default for chart.tickmarks.zerostart has changed to true
o [MISC] The way the multiline angled text is rendered has changed - you may need to change your labels if you're
using multi-line angled labels. If you need large labels you could also consider using a key, switching
from the Bar chart to the Hbar chart or using tooltips to display the extra information.
31st October 2012
=================
o [MISC] Stable release
o [RADAR] The horizontal alignment of the Radar chart labels has been adjusted. Labels look better - particularly when not boxed.
27th October 2012
=================
o [EVENTS] Events have been moved back to DOM2 but with a key difference. Now the events are installed once only - similar
to how the DOM1 events were. As a consequence the RGraph.ClearEventListeners has been re-implemented so that you
can clear the window or the canvas event listeners.
o [FUNNEL] The Funnel chart has been converted to new style Hit testing which is faster, more accurate and far less
complicated - though the difference in speed is unlikely to be norticeable.
o [HBAR] The HBar settings chart.vmargin and chart.vmargin.grouped for grouped HBars have been updated to act the same as the Bar chart.
The chart.vmargin setting is used to seperate the groups of bars whilst the chart.vmargin.grouped setting is used to seperate
individual bars within the group.
o [KEY] The position of the key in gutter mode has been updated - it's now centered regardless of the gutter settings
o [MISC] As an example of the faster and more accurate click-testing that is planned for the November stable release, the Marker1
object and Funnel chart have already been converted. So now, in the case of the Marker1 object, not only can you click
on the circular part - but also the curvy pointer part too. You can see an example here:
http://www.rgraph.net/docs/drawing-api-intro.html
o [MISC] The API functions RGraph.LinearGradient() and RGraph.RadialGradient() can now take more than two colours if you wish to
specify them.
o [ODO] The chart.green.solid, chart.yellow.solid and chart.red.solid options have been removed.
o [RADAR] Added chart.labels.background.fill and chart.labels.boxed
o [THERMOMETER] Now ALL of the "mercury" in the Thermometer is clickable and highlighted. See this page:
http://www.rgraph.net/examples/thermometer.html for a demonstration
16th October 2012
=================
o [MISC] Certain tooltips are now placed above the bar. Or below in the case of negative values on the Bar chart.
o [MISC] Added support for easy events specification for charts that support chart.events.click and chart.events.mousemove:
myChart.$1.onclick = function (e, shape)
{
// Handle the click event
}
myChart.$1.onmousemove = function (e, shape)
{
// Handle the mousemove event, eg:
e.target.style.cursor = 'pointer';
}
Also added basic examples of this for the Bar/Line/Pie chart and a HOWTO doc
o [MISC] Added support for "dollar" specification of events. So if you just want to add an event
listener to the third bar you can do this:
bar.$2.onclick = function (e, shape)
{
// Put your code here...
}
It's $2 because it is zero-indexed (ie the counting starts at zero). There are a few basic examples of
them being used here: http://www.rgraph.net/docs/basic-index.html
o [MISC] Added support for easy and simple gradients: Gradient(white:red)
o [MISC] Tooltips are now placed above the relevant bar (bar related chart tpes).
o [CORE] The RGraph.getMouseXY(e) function will now accommodate borders and padding on the canvas
o [LINE] The interactive key will now work when the key is placed outside of the chart area
5th October 2012
================
o [GANTT] IMPORTANT: How you specify the Gantt chart events has changed. Instead of using the chart.events property the events are
now given as the second argument to the constructor. The array is the same format. The constructor of the
Gantt chart now looks something like this:
var myGantt = new RGraph.Gantt('cvs', [
[0,15, null, 'Richard', '#afa'],
[31, 28, null, 'Gerry', '#afa'],
[0, 31, null, 'Tom', '#afa']
]);
o [HPROGRESS] Now when the cusor is over the whole chart area (including the background), charts "behind" the progress bar do not
fire their events
o [VPROGRESS] Now when the cusor is over the whole chart area (including the background), charts "behind" the progress bar do not
fire their events
o [THERMOMETER] Now when the cusor is over the whole chart area (including the background), charts "behind" the progress bar do not
fire their events
28th September 2012
===================
o [MISC] Stable release
19th September 2012
===================
o [API] Added axis.numlabels to the RGraph.DrawAxes() function
o [API] Added axis.scale.decimals to the RGraph.DrawAxes() function
o [BIPOLAR] Added .getXCoord(value) method. This function returns two values, one for each side
o [CORNERGAUGE} Added a getAngle() method
o [DRAWING API IMAGE] Added chart.alpha allowing you to set the image as semi-transparent
o [DRAWING API MARKER1] This marker now defaults to being center aligned
o [GAUGE} Added a getAngle() method
o [LINE] The chart.curvy option is now chart.spline - though chart.curvy will still work. Additionally, it's been improved so that
it doesn't lose any accuracy because of the curves. The chart.curvy.factor option is now redundant and not used.
o [LINE] The adjusting example (http://www.rgraph.net/docs/adjusting_line.html) has been updated to be a spline that can be adjusted
o [METER] Added a .getAngle(value) method
o [ODO] Added a .getAngle(value) method
o [ODO] Documented missing shadow properties
o [RADAR] Added chart.numyticks and chart.numxticks
o [THERMOMETER] Added a .getYCoord(value) method
o [WATERFALL] Added a .getYCoord(value) method
o [WEBSITE] Added a "Recent news" boxout to the website
8th September 2012
==================
o [DOCS] Added a HOWTO document showing interactively how to use the .bezierCurveTo() function
o [DOCS] Added a HOWTO document showing interactively how to use the .quadraticCurveTo() function
o [FUEL] The Fuel chart nows has a .getAngle(value) method that you can use to get the appropriate angle (in radians) for a
given value
o [KEY] The strokeStyle for the box enclosing the key has been changed to #999
o [HBAR] The HBar now has a .getXCoord(value) method that you can use to get the approriate X coordinate for a value
o [HPROGRESS] Added obj.getXCoord(value) method
o [LINE] chart.curvy is now a proper spline and no longer loses accuracy. Keep in mind though that sometimes the curves may go
outside of the chart area.
o [SCATTER] The Scatter chart now supports null Y values
o [WATERFALL] The Waterfall now has a .getYCoord(value) method
o [WEBSITE] Added new support forum - http://www.rgraph.net/forum
30th August 2012
================
o [API] Added a RGraph.MeasureText(text, bold, font, size) function which adds DOM text to the page and then gives you
the .offsetWidth and .offsetHeight of the resulting DIV.
o [API] Added drawing API which allows you to add various shapes to your charts: www.rgraph.net/docs/drawing-api-intro.html
o [DOCS] Added information about DOM1 style addition of pseudo standard events - for example:
myBar.onclick = function ()
{
}
Note that the onclick function is being added to the RGraph object - not the canvas tag.
o [EFFECTS] Added HScissors.Open and HScissors.Close effects
o [EFFECTS] Added VScissors.Open and VScissors.Close effects
o [KEY] The default positioning for the key in gutter mode has changed to be at the bottom of the top gutter
o [MISC] The skeleton file has been removed. If you wish to create your owm chart type then the drawing API files are a good
starting point - eg the RGraph.common.drawing.rect.js file.
o [VPROGRESS] Added a .getYCoord(value) method
19th August 2012
================
o [API] Added axis.scale.formatter, axis.units.pre and axis.scale.post to the RGraph.DrawAxes() function
o [BIPOLAR] The property chart.colors.sequential has been added
o [DEMOS] Added a new Bar chart demo (bar08) showing how you can have charts in tooltips
o [DOCS] Added missing chart.tooltips.coords.page option
o [EFFECTS] Added Scissors effects
o [HOWTO DOCS] Add a HOWTO that shows using JSON data with RGraph
o [MISC] Added the trigonometry related function RGraph.getRadiusEndPoint(cx, cy, angle, radius);
o [MISC] Added new options to the RGraph.DrawAxes() function: axis.scale.formatter
axis.units.pre
axis.units.post
o [MISC] Now, as well as setting the chart.events.click and chart.events.mousemove properties, you can also do this:
myChart.onclick = function (e, shape)
{
}
And this:
myChart.onmousemove = function (e, shape)
{
}
This is the same as setting the properties, though may be to your taste more.
o [SCATTER] Added Date/Time HOWTO
4th August 2012
===============
o [BAR] Added chart.ylabels.colors and chart.labels.colors
o [BIPOLAR] There are two new properties for the individual sides bar coordinates:
obj.coordsLeft
obj.coordsRight
o [BIPOLAR] Shadow for higher barws is no longer drawn over lower bars
o [BIPOLAR] Added (as yet undocumented) options to the Bipolar:
chart.linewidth
chart.noaxes
chart.xlabels
o [DOCS] Added HOWTO document for having multiple Y axes
o [HBAR] Added chart.xlabels.colors and chart.labels.colors
o [PIE] Added chart.labels.colors
o [SCATTER] Added chart.noyaxis
26th July 2012 (STABLE)
==============
o [DOCS FUEL] Added scale properties to the Fuel chart
o [DOCS SCATTER] Added Bubble chart HOWTO
21st July 2012
==============
o [EVENTS] Added DOM1 style event support for the RGraph events so adding them is significantly easier:
myBar.ontooltip = function (obj)
{
// ...
}
o [GAUGE] Added chart.angles.start and chart.angles.end
o [SCATTER] The Scatter mark coordinates are now calculated even when not drawn.
o [SCATTER] There is a new Scatter chart demo that shows you how to create a Bubble chart:
http://www.rgraph.net/demos/scatter03.html
15th July 2012
==============
o [API] Added RGraph.DrawAxes() which allows you to draw extra axes like this: http://dev.rgraph.net/demos/line08.html
o [DOCS] Seperated out the DOCS into separate pages
o [EFFECTS] Added callback support to the Bar chart Grow effect
o [EFFECTS] Added Rose chart Grow effect
o [FUEL] The Fuel chart can now have a scale
o [KEY] Added chart.key.position.graph.boxed
o [MISC] Added note about CSV data
o [MISC] Added chart.title.yaxis.color to Bar, HBar, Gantt, Line, Waterfall
o [SCATTER] There is now a getXValue() method
o [SCATTER] Added a new HOWTO regarding the getXValue() method
o [SCATTER] The getValue() method has been renamed to getYValue()
8th July 2012
=============
o [CORNERGAUGE] Added Grow effect
6th July 2012
=============
o [BAR] Added chart.variant.sketch.verticals
o [BAR] Added chart.labels.above.specific
o [DOCS] Docs index page has been split into seperate pages
2nd July 2012
=============
o [BAR] The BC check for chart.labels.abovebar has been removed. The name that you should be using is chart.labels.above
o [WEBSITE] General updates
25th June 2012
==============
o [MISC] The charts libraries are moving away from the .Get() method. This is being done for performance reasons. The .Set()
method is unaffected. The Pie chart and part of the Bar chart have already been converted.
o [PIE] The Pie chart Wave effect has been removed
o [PIE] The Pie chart has been heavily optimised - please check your charts before upgrading
22nd June 2012
==============
o [DOCS] Added archived docs. This means that docs at stable release points will be available as they were.
o [MISC] Added option for Priority support. You can read about this here: http://www.rgraph.net/support.html
o [SCATTER] Added the Scatter chart Trace effect: RGraph.Effecs.scatter.jQuery.Trace(obj) Like the Line chart Trace effect it
gradually reveals the tickmarks.
14th June 2012
==============
o [DOCS] Added the ondraw method to the HOWTO for drawing images
o [DOCS] Added chart.key.color to thedocumentation
o [FUEL] The default color is now a gradient (white -> red)
o [HPROGRESS] The first default color is now a gradient (white -> #0c0)
o [PIE] chart.segments has been removed - use obj.angles instead
o [VPROGRESS] The first default color is now a gradient (white -> #0c0)
6th June 2012
=============
o [DOCS] Added demos folder, which contains straight-forward demos of RGraph charts
o [DOCS] Added information about using multiple charts on a canvas and clearing:
http://www.rgraph.net/docs/misc.html#clear.canvas
o [FUNNEL] Documented chart.labels.x and chart.labels.sticks
o [PIE] The Pie chart Explode() method no longer resets chart.exploded when it's called
1st June 2012
=============
o [MISC] Stable release
29th Mar 2012
=============
o [DOCS] Added RGraph.LinearGradient() and RGraph.RadialGradient() to the color docs page
o [GAUGE] Added various Gauge chart properties:
chart.background.color
chart.background.gradient
chart.labels.count
chart.border.outline
chart.needle.size
chart.needle.colors
chart.needle.type
chart.tickmarks.small.color
chart.tickmarks.medium
chart.tickmarks.medium.color
chart.tickmarks.big.color
o [HBAR] Added chart.vmargin.grouped
o [MISC] The compressed version of ExCanvas is no longer supplied as part of the archive
o [ROSE] Added chart.background.axes.color
o [ROSE] Added chart.background.axes
o [ROSE] Added chart.background.grid.spokes
26th May 2012
=============
IMPORTANT: Starting from this release the documentation and examples will no longer be a part of the archive. They will only be
available on the rgraph.net website.
o [BAR] Added chart.hmargin.grouped
o [GAUGE] the Gauge chart now has more configuration options which can be used to change how the Gauge looks.
It also now supports multiple pointers (still to be documented)
o [RADAR] The radar chart background circles can now be a polygon
o [RADAR] The Radar chart can now have dots highlighting the points
o [THERMOMETER] The Thermometer is now graduated by default
o [WEBSITE] Added an updates page (runs off the news.xml feed)
15th May 2012 (STABLE)
=============
o [API] Added the RGraph.RotateCanvas() method which can be used BEFORE you draw your chart to rotate your canvas. There's a
demo available here: http://dev.rgraph.net/tests/rose/spinny.html
o [FUNNEL] The chart.taper option is no longer supported - so Funnel charts do not taper
o [FUNNEL] The shadow is no longer supported with IE7/IE8
o [PIE] The Pie chart now has an option for a centerpin. This can be useful when you have a thicker than normal stroke - the
new options are: chart.centerpin
chart.centerpin.stroke
chart.centerpin.fill
12th May 2012
==============
o [BAR] The Bar chart now has support for having one Y label
o [DOCS] The 3D effect HOWTO is now animated
o [DOCS] Added the H/VProgress grow effects to the documentation
o [DOCS] The transition effect HOWTO has been updated with information on using different RGraph effects
o [FUEL] The order of the image (the icon) loading has been updated - please check your charts
o [MISC] All charts involving Pi have been converted to three "constants": HALFPI, PI and TWOPI IMPORTANT: Please check your charts
if you're upgrading.
o [MISC] Certain smaller functions in the core library are now minified by default.
o [MISC] Defaults for some charts have been changed:
o Bipolar - The default strokestyle is now transparent
o Funnel chart - the default strokestyle is now transparent
o Radar chart - the default strokestyle has been changed to #aaa, rgba(255,0,0,0.5) has been added to the default colors
o Rose chart - the default colors have been changed
o [RESIZING] Resizing event listeners are now only installed ONCE - please check your charts
o [SCATTER] The Scatter chart now has a .getXCoord() method
o [TOOLTIPS] All tooltips now point to the center of the relevant segment/rect
o [TOOLTIPS API] The RGraph.Tooltip() function now takes an extra argument - the event object
6th May 2012
============
o [DOCS] Misc documentation updates
o [WEBSITE] Misc website updates
5th May 2012
============
o [API] If you use the ObjectRegistry API the RGraph.ObjectRegistry.Clear() function can take be given an optional
parameter of either a canvas tag ID or the canvas tag itself. The ObjectRegistry is only then cleared of objects that
pertain to that canvas tag.
o [MISC] The default overflow: CSS setting for tooltips is now set to '' in each charts .positionTooltip() function
o [PIE] Added charts.variant.donut.width Makes nesting donut charts easier.
o [TOOLTIPS] The img pointer in tooltips now has an id. This you can hide if you wish with:
2nd May 2012
============
o [HBAR] The default strokestyle has changed from black to transparent
o [LINE] The order of array based tickmarks and how they corrrespond with lines has been reversed
o [MISC] The expand, contract and snap effects for tooltips have been removed. The effects are 'fade' (the default) and 'none'
o [MISC] The following charts have been converted to a new tooltips style: Bar Donut Gantt
Line Pie Rscatter
Scatter Skeleton Bipolar
HBar Funnel HProgress
VProgress Radar Thermometer
Waterfall Rose
See the chart on the front page for an example of the new style for tooltips.
o [PIE] Pie chart tooltips now point to the center of the segment
o [RADAR] The coords array is now single dimensional instead of multi to match other chart types
o [ROSE] Rose chart tooltips now point to the center of the segment
25th April 2012
===============
o [DOCS HOWTOS] Added new HOWTO document showing how you can customise the appearance of tooltips
o [DOCS HOWTOS] Added new HOWTO document showing how you can add CSS 3Deffects (currently Chrome an Mozilla only)
to your canvas tags
o [EFFECTS] The Pie chart RoundRobin effect has been slowed down by increasing the number of frames from 60 to 90.
See the .BC.txt file for how to specify 60 frames
o [GANTT] Added new options: chart.labels.inbar
chart.labels.inbar.font
chart.labels.inbar.size
chart.labels.inbar.color
chart.labels.inbar.bgcolor
chart.labels.inbar.align
chart.labels.inbar.above
o [GANTT] Documented and fixed chart.vmargin
o [HPROGRESS] The Grow effect now works with multiple segments
o [LICENSING] Added OEM licensing option
o [LINE] Added the UnfoldFromCenterTrace effect - which is shown on the front page of the website
o [LINE] The Line chart fillStyle can now be a gradient
o [PIE] The Pie chart RoundRobin duration has been changed to roughly 1.5 seconds (90 frames)
o [THEMOMETER] Documented chart.units.pre and chart.units.post
o [VPROGRESS] The Grow effect now works with multiple segments
12th April 2012
==============
o [API] Added RGraph.LinearGradient(obj, x1, y1, x2, y2, color1, color2);
o [API] Added RGraph.RadialGradient(obj, x1, y1, r1, x2, y2, r2, color1, color2);
o [LINE] Added chart.tooltips.hotspot.size
o [WEBSITE] Miscellaneous website updates
7th April 2012
==============
o [BAR] Added new method - .getYCoord(value)
o [BAR] Some of the defaults for the Bar chart have changed. As a result you charts appearance may change
o [DOCS] Added new HOWTO guide for using images as tickmarks
o [DOCS] Added new HOWTO guide for anti aliasing.
o [DOCS] Correctly document the ObjectRegistry method RGraph.ObjectRegistry.getFirstObjectByXY()
o [DOCS] Added note in issues.html about elements on your page that can affect the smoothness of animations. An example is
the Facebook widget on the rgraph.net site that causing the Trace effect to be a little jerky in some browsers. Delaying
the loading of this by 1.5 seconds resolves the jerkiness.
o [DOCS] Added a Line to the chart on the combining charts docs page
o [EFFECTS] The Rose chart Grow effect has been renamed to RoundRobin
o [GAUGE] Documented shadow controls
o [HBAR] Added chart.noyaxis
o [KEY] The defaults for the key have all been synchronised as null
o [LINE] Added new method - .getYCoord(value)
o [METER] Added chart.background.color
o [MISC] Added the RGraph.AJAX(url, callback) function, which is the same as the AjaxCall function that was documented on the site.
o [RADAR] The option chart.text.diameter is now called chart.text.size
o [RESIZING] If you use a combined Bar/Line chart the RGraph.CombinedChart(bar, line) now adds an onresizebeforedraw event
listener for you.
o [ROSE] Renamed the Rose chart Grow effect to RoundRobin
o [SCATTER] Added new method - .getYCoord(value)
o [WATERFALL] Changed Waterfall Grow effect to not do horizontal Growing
o [WEBSITE] The Facebook 'Like' widget is now loaded after a 1.5 second delay. This allows the effects to be smoother
28th March 2012 (STABLE)
===============
o [API] Added API method RGraph.ObjectRegistry.getObjectsByType(canvas, type)
o [API] Added API method RGraph.ObjectRegistry.getFirstObjectByType(canvas, type)
o [DOCS] The highlighting HOWTO has been updated with an easier alternative - using null tooltips
o [METER] The Meter chart methods .getValue() and .getObjectByXY() now check th click was within the charts radius
o [ROSE] The Rose chart method .getObjectByXY() now checks the Hypoteneuse length (th length of the line from a
point to the center of the chart
23rd March 2012
===============
o [DOCS] Added documentation about the new ObjectRegistry
o [DOCS] Added new HOWTO guides
o [HPROGRESS] The chart.strokestyle property is now split into chart.strokestyle.inner and chart.strokestyle.outer
o [VPROGRESS] The chart.strokestyle property is now split into chart.strokestyle.inner and chart.strokestyle.outer
12th March 2012
===============
o [DOCS] Added HOWTO guides for debugging with Chrome and
o [DOCS] Removed the unused RGraph.lineByAngle() function
o [DOCS] Added the ObjectRegistry and trigonometry functions to the API docs
o [DOCS] Updated the Combining Charts page
o [DONUT] 3D highlighting now works with the Donut chart: http://dev.rgraph.net/tests/donut/highlight_style.html
o [DOCS] Added details of the new ObjectRegistry to the API docs
o [LINE] Added chart.noendytick
o [PIE] Fixed problem with multiple Pie chart Wave effects on the same page
o [ROSE] If no label axes are given zero is no longer shown
2nd March 2012
===============
o [ANNOTATING] The cross-browser annotation example has been removed
o [ANNOTATING] Annotating has been partially rewritten - check yours are OK
o [ANNOTATING] Firefox can now evidently use persisent annotations with offline pages
o [ADJUSTING] Adjusting has been updated - you may need to check or update your charts
o [ADJUSTING] Added the ability to adjust Gauge charts
o [ADJUSTING] Added the ability to adjust Fuel charts
o [ADJUSTING] Added the ability to adjust Meter charts
o [ADJUSTING] Added the ability to adjust Odo charts
o [BAR] The Bar chart method .getBarByX(e) is now called .getShapeByX(e)
o [BAR] Added chart.background.image.w and chart.background.image.h
o [EFFECTS] The Trace effect now covers the canvas in a trnaparent DIV to prevent any interaction whilst animating.
o [FUEL] The Fuel chart icon is now painted on the canvas using .DrawImage()
o [GAUGE] The Gauge chart now has a shadow by default. If you're using the Grow effect you want to turn this off with chart.shadow
for a faster frame rate.
o [HPROGRESS] Added chart.boder.inner
o [HPROGRESS] Implemented chart.labels.specific
o [LED] Added chart.radius which allows you to specify the radius of the lights
o [LINE] Add chart.background.image.w and chart.background.image.h
o [LINE] Added chart.tooltips.coords.page
o [RSCATTER] Added chart.tooltips.coords.page
o [SCATTER] Added chart.tooltips.coords.page
o [SCATTER] Added chart.background.image.w and chart.background.image.h
o [THERMOMETER] The thermometer now displays the correct minimum value instead of 0 all the time
o [VPROGRESS] Implemented chart.labels.specific
o [VPROGRESS] Added chart.border.inner
o [ZOOM] Thumbnail and area zoom have been removed
19th February 2012
==================
o [API] There is now a RGraph.getHypLength(x1, y1, x2, y2) function that returns the straight line distance between two points.
o {API] o The core API function RGraph.lineByAngle has been removed
o {API] o The core API function RGraph.getMouseXY is now located in the RGraph.dynamic file
o [ADJUSTING] Adjusting for the Bar, Line and Gantt chart has been temporarily removed.
o [FUEL] The Fuel chart pointer is now drawn on top of the labels
o [GAUGE] Added chart.border.gradient to the gauge chart. The default for this false (ie disabled). Keep in mind that this can
have a negative impact on animations
o [KEY] The name of the coordinates for the interactive has changed to: obj.coords.key
o [MISC] IMPORTANT: Tooltips and a few other dynamic features are being moved to a new file: RGraph.common.dynamic.js
You may need to include this file from this point on
o [PIE] The explode style of tooltip highlighting has been removed. Highlighting now defaults to 3d - 2d for the Donut
o [PIE] Added the Pie chart Explode effect to complement the Implode effect
o [RSCATTER] The default RScatter title positioning has changed - so check your charts.
9th February 2012
=================
o [API] There is now an RGraph.ObjectRegistry.getObjectByXY(e) method, which can be used if you have multiple charts
on a canvas to get the relevant object.
o [BIPOLAR] Added a .getValue method(). This allows you to click on the chart and get the relevant value.
o [GAUGE] Added .getValue method. This allows you to click on the chart and get the relevant value.
o [GAUGE] Added new properties: chart.centerx, chart.centery and chart.radius. There's an example here that shows
three animated interactive (by way of the .getValue method) Gauges on the same canvas achieved using
the new ObjectRegistry:
http://dev.rgraph.net/tests/2012-03-25/center_gauge.html
o [GAUGE] Added the option chart.border.graduated, which defaults to true.
o [LINE] When chart.tooltips.hotspot.xonly is in use tooltips now appear next to the point
o [METER] How the Meter chart works out the centerpoint has changed. Now you shouldn't get Meter charts that are
too big for the canvas. Also, if you want to, you can spcify these to control the size and position of
the Meter:
o chart.centerx
o chart.centery
o chart.radius
o [ODO] How the Odometer works out the centerx and centery has changed. Though can override these if you wish with:
o chart.centerx
o chart.centery
o chart.radius
o [PIE] The Pie chart now prmarily uses the gutters to calculate the center X/Y position, though you still
stipulate them with chart.centerx, chart.centery and chart.radius if you wish.
o [PIE] The Pie chart now has Shrink effect to complement the Grow effect
o [RADAR] The way the centerx/centery is calculated is now based on the gutters. You can also override them with:
o chart.centerx
o chart.centery
o chart.radius
o [ROSE] The way the centerx/centery is calculated is now based on the gutters. You can also override them with:
o chart.centerx
o chart.centery
o chart.radius
o [THERMOMETER] Added Grow effect
o [WEBSITE] Going forward, the website will be based on the stable version of RGraph.
It's currently based on a beta version.
3rd February 2012
=================
o [DOCS] Updated the combining charts page
o [MISC] Added a tool to make working with separate gutters easier
o [MISC] Added a tool to ease converting images to data: URLs Using data: for static images URLs can help improve the performance
your website
o [MISC] Background images are now achieved by placing an image tag behind the canvas - instead of painting the image onto the canvas.
This increases performance and reduces flicker in effects.
o [PIE] chart.strokestyle can now be an array of colors as well as a string
o [PIE] The Pie chart is now positioned by using the gutters (first and foremost). The chart.align property is no longer used.
o [SCATTER] Added __index2__ to the Scatter chart
o [WEBSITE] Updated the front page chart to a Pie/Line combination
28th January 2012
=================
o [GAUGE] You can now show the value as a text label with chart.value.text
o [GAUGE] You can now have medium sized tickmarks with chart.tickmarks.medium
o [MODALDALOG] When the .Hide or .Close methods are called, the ModalDialog is now removed from the DOM instead of just being hidden
o [MODALDALOG] The ModalDialog is now created from scratch every time it is shown
o [MODALDALOG] The ModalDialog can now be given as a string, like this: ModalDialog.Show('string:
My Dialog
')
o [HOTSPOTS] The way that hotspots are handled has changed. eg For tooltip highlighting, the hotspot is calculated
using coordinates, and then the relevant area is covered with a semi opaque DIV. This is instead of
drawing on the canvas itself. Doing so increases performance (far fewer redraws are needed) and also,
more importantly, means it is much easier to incorporate multiple charts on one canvas. So far the
following charts have been changed:
o Thermometer
o [MISC] chart.highlight.stroke is now deprectaed
o [MISC] All chart types have now been converted to the new object registry. This means that you can mix and match different
chart types on the same canvas and still have dynamic features. This involved:
o Objects now have a UID created in their constructors
o Objects no longer clear event listeners when the .Draw() method is called
o Objects are now ALWAYS registered for redrawing
o The majority of charts use common mehods to install tooltiip event listeners ( RGraph.AllowTooltips() )
o Each object has it's own .Highlight() method for highlighting the chart.
o The .getShape methods now return textual array keys as well as numeric ones
o There is a new ObjectRegistry in RGraph. Objects are always registered with it in their constructors.
The objects are then redrawn by calling the RGraph.Redraw() method.
o [THERMOMETER] Added tooltips
13th January 2012 (STABLE)
=================
o [DOCS] Added HOWTO for making a transition effect
o [GAUGE] The positioning of the titls has been tweaked slightly. You can now also override the positioning completely
with chart.title.top.pos and chart.title.bottom.pos. These are decimals (which are null by default) and are
multiplied with the radius to get the exact position.
o [VPROGRESS} Properties to individually control the side title have been added:
o chart.title.side.bold
o chart.title.side.font
o chart.title.side.size
o chart.title.side.color
[WEBSITE] Added RSS feed for releases
6th January 2012
================
o [LINE] Fixed slight bug with negative/filled Line charts: http://dev.rgraph.net/tests/line/negative_filled.html
o [LINE] Slight adjustment to the Trace effect - now the key is revealed as well as the lines.
o [MISC] Fixed "conflict" with user events and tooltips
o [MODALDIALOG] The ModalDialog has been altered so that it is ALWAYS (re)created when it is shown - ie it is no
longer cached once it has been created
30th December 2011
==================
o [DOCS] Documented the Bar chart Wave2 effect
o [GANTT] Y axis title is now bold by default
o [GAUGE] Added chart.centerpin.radius
o [GAUGE] Added chart.tickmarks.small
o [GAUGE] Added chart.tickmarks.big
o [GAUGE] Added chart.title.align (default is top)
o [GAUGE] Added chart.title.x
o [GAUGE] Added chart.title.y
o [MISC] The test area is undergoing a revamp - if you would like me to add your chart to it please email it to
me at the support address. Keep in mind that the chart should be self-contained, and that the actual data
is largely irrelevant (so replace sensitive data with junk data). Keep in mind that the test area is not private.
o [MISC] The two scale properties chart.scale.point and chart.scale.thousand have been synchronised across all chart libraries.
18th December 2011
==================
o [BAR] Added new background images properties:
o chart.background.image.stretch
o chart.background.image.x
o chart.background.image.y
o chart.background.image.align
o [DOCS] Added basic example of the new pseudo-events
o [DOCS] Lots of documentation updates - in particular with object methods
o [DOCS] Added HOWTO regarding the various linking methods
o [DOCS] Added HOWTO regarding showing images in your charts
o [DOCS] Documented all the new obj.getValue() methods
o [DOCS] The dynamic example (http://www.rgraph.net/docs/dynamic.html) scroll speed has been slowed down. This was
done by simply increasing the number of data points shown from 100 to 250.
o [EFFECTS] Added an opposite effect of Reveal - Conceal. These two effects can be combined to make a transition effect.
o [LINE] Added new background images properties:
o chart.background.image.stretch
o chart.background.image.x
o chart.background.image.y
o chart.background.image.align
o [MISC] The getValue() methods can either take an event object as its argument or a two element array
of the coordinates to return the value for.
o [SCATTER] Added new background images properties:
o chart.background.image.stretch
o chart.background.image.x
o chart.background.image.y
o chart.background.image.align
Happy Christmas!
12th December 2011
==================
o [BAR] Added a .getValue() method to the Bar chart
o [BAR] Added chart.numxticks
o [BIPOLAR] Added chart.events.onclick and chart.events.mousemove
o [FUNNEL] Added chart.events.mousemove and chart.events.click
o [GANTT] Autofit for the background grid now defaults to being on
o [GANTT] Antialiasing should now be a little better for this chart
o [GANTT] chart.events.click and chart.events.mousemove have been added
o [GANTT] The Gantt chart default for chart.tooltips has been changed to null.
o [GANTT] Added chart.labels.align
o [GANTT] Added chart.tooltips.event
o [GANTT] Added a Grow effect for the Gantt chart - RGraph.Effects.Gantt.Grow(obj)
o [HBAR] The HBar now supports the chart.events.click and chart.events.mousemove properties
o [HBAR] The HBar now has a .getValue() method for retrieving the value at the mouse cursor
o [HPROGRESS] The HProgress now supports the chart.events.click and chart.events.mousemove properties
o [HPROGRESS] The HProgress now has a .getValue() method for retrieving the value at the mouse cursor
o [LINE] Added a .getValue method to the Line chart
o [LINE] If you use a larger than default font the line chart will now handle this
o [RADAR] The Radar chart labels are no longer linked to the number of data points - ie you could have 12 datapoints
but only 4 labels and the labels will be spaced equally around the Radar chart. The labels are also now
place at a fixed radius around the chart.
o [RADAR] Added chart.radius - allowing you to set the size of the Radar chart
o [RADAR] The Radar chart .getPoint() method no longer checks to see if there is an appropriate tooltip defined
o [RADAR] Added chart.events.onclick and chart.events.mousemove
o [RADAR] Added chart.accumulative. This allows "stacked" Radar charts
o [ROSE] Added Explode effect
o [ROSE] Added Implode effect
o [ROSE] Added chart.events.onclick and chart.events.mousemove
o [RSCATTER] Added chart.events.onclick and chart.events.mousemove
o [RSCATTER] The RScatter .getPoint() method no longer checks to see if there is an associated tooltip defined for a particular point.
o [SCATTER] Added chart.events.onclick and chart.events.mousemove
o [SCATTER] Added a .getValue() method to the Scatter chart
o [THERMOMETER] Added a .getBar method that can be used within generic event listener functions to determine if the
thermometer itself was clicked on
o [THERMOMETER] Added chart.events.click and chart.events.mousemove
o [THERMOMETER] Added .getValue method. This returns the value at the point of the click regardless of whether it's
over the bar or not.
o [VPROGRESS] Added chart.events.mousemove and chart.events.click
o [VPROGRESS] Added obj.getValue() method for getting the value when the chart is (for example) clicked on
o [VPROGRESS] Added chart.title.side
o [WATERFALL] Added chart.events.onclick and chart.events.mousemove
3rd December 2011
=================
o [BAR] Implemented chart.events.click and chart.events.mousemove
o [BAR] Fixed chart.labels.above text appearing too low when used in-conjunction with chart.variant=3d
o [EFFECTS] Implemented the wave2 effect, which utilises the requestAnimationFrame() and .bing() functions. Fallbacks are
provided so that this effect works with Opera and Safari.
o [LINE] Implemented chart.events.click and chart.events.mousemove
o [PIE] Implemented chart.events.click and chart.events.mousemove
o [PIE] When exploding segments they will now be drawn on top of the title
o [RADAR] The origin is now the "North" axis, not the "East" axis
o [RADAR] When all datasets have the same number of points you can now have a stacked radar chart using chart.accumulative
26th November 2011 (STABLE)
==================
o [ADJUSTING] The Rose chart adjusting has been removed
o [DOCS] Added an example of financial data represented using the Scatter chart:
http://www.rgraph.net/docs/financial.html
o [DOCS] Added an example of getting data from an XML file on the server
o [EFFECTS] The slide in and slideout have each had the argument used to stipulate the direction renamed:
RGraph.Effects.jQuery.Slide.In(obj, {'from': 'right'});
RGraph.Effects.jQuery.Slide.Out(obj, {'to': left'});
o [LED] Added more punctuation characters
o [SCATTER] chart.boxplot.width is now a SCALE value, not a PIXEL value. Therefore, if your chart.xmax value is 28 (for four
weeks say) 1 week would be represented by a value of 7, whereas before that would simply be 7 pixels.
17th November 2011
==================
o [KEY] Separated out the key functionality into its own file - RGraph.common.key.js. If you use the key you will need to
include this file. If you dn't use the key this will save roughly 30k.
o [MISC] The charts libraries have a new technique that avoids you getting blurry lines that appear to be thicker than a
single pixel. This roughly affects roughly 12 of the charts libraries.
o [ZOOM] Added chart.zoom.mode.thumbnail.fixed that fixes the thumbnail zoom window in the top left of the canvas
12th November 2011
==================
o [DOCS] Added paragraph to miscellaneous docs regarding log scales.
o [DONUT] The Donut chart is now done correctly instead of being a big white hole in the center of the Pie. If you use the
Donut - check your charts, particularly if you use a coloured center as it is no longer coloured. If desired
though, you can still get a coloured center by utilising the ondraw custom event to draw a big white circle
that's half the radius in size. The shadow will now work correctly. For an example see here:
http://www.rgraph.net/examples/donut.html
o [GAUGE] Added four new peoperties for controlling the colors: chart.border.inner
chart.border.outer
chart.centerpin.color
chart.needle.color
o [LINE] When tooltips are triggered by the mouse X position only, the cursor will now only change if it's actually
over the point.
o [MISC] IE7 is now supported with ExCanvas
o [MISC] The latest stable Chrome (released on 10th November 2011 appears to be back up to speed when using the
requestAnimationFrame() function - as such the Pie chart animation on the front page has been improved.
o [PIE] There is now a Pie chart Wave effect
o [PIE] IMPORTANT: The Pie chart .getSegment(e) method now returns angles measured in radians, not in degrees. Roughly, 1 radian = 57.29
degrees (or 180/Math.PI ).
o [ROSE] IMPORTANT: The Rose chart .getSegment(e) method now returns angles measured in radians, not in degrees. Roughly, 1 radian = 57.29
degrees (or 180/Math.PI ).
o [WEBSITE] There's now an example of the Pie chart RoundRobin and Implode effect on the front page of the website
4th November 2011
=================
o [BAR] Added the Bar chart Wave animation. It's smoothest in MSIE9+ and FF7+
o [FUEL] Rewrote the Fuel chart Grow animation. It now "Grows" from the last position - not zero all the time. NB To get
rid of the flicker when using the Grow animation you must set chart.icon to null
o [FUNNEL] Fixed the Funnel chart tapering when it shouldn't in MSIE
o [HPROGRESS] Added the HProgress Grow animation
o [LINE] Lines are now restroked (if they're filled and accumulative)
o [VPROGRESS] Added the VProgress Grow effect
27th October 2011
================
o [BAR] The bar now has support for chart.colors.sequential with grouped and stacked charts
o [MISC] Animations in Chrome 15 can be rather slower than Chrome 14. jQuery (ie CSS) based animations are unaffected, as are some
canvas based animations.
o [ROSE] The Rose chart Grow frame rate is now set at 60 frames over 1 second
20th October 2011
=================
o [BAR] Added chart.ymin - regular and grouped bar charts are supported - not stacked
o [LINE] Multiple filled Line charts now work with the Trace effect
o [METER] Tweaked the Grow animation. Test your charts before upgrading (if you use the Grow animation)
o [MISC] IMPORTANT: Default positioning for titles has changed - see .BC.txt file
o [PIE] Added chart.key.interactive
15th October 2011
=================
o [GAUGE} Added Grow effect. Like the Odo (now) it animates from the last reading, not zero all the time.
o [LINE] Added FoldToCenter effect
o [MISC] Converted crosshairs to use DOM2 event handling
o [MISC] Added: chart.crosshairs.vlines
chart.crosshairs.hlines
o [ODO] Changed Grow animation function so that it animates from the last reading - not constantly from zero
o [PIE] Added .Explode() method to pie chart for programmatically exploding segments
o [RADAR] Added Grow effect
o [SCATTER] Added chart.ylabels.inside
o [WATERFALL] Added Grow effect
11th October 2011
=================
o [NOTE] The Pie chart chart.segments array is being removed (probably November or December) - use obj.angles instead.
o [PIE] IMPORTANT: The Pie chart has been altered so that the start point is now the "north"axis. Please check your
charts - particularly if you use the Pie chart internals. If you want to stick with the older version of the
Pie chart - it's in the libraries/ folder named RGraph.pie.js.old and will be there for a few releases.
You're highly recommended to use the newer version though as the old version will bew only kept for a few
months.
o [PIE] Added RGraph.Effects.Pie.Implode animation - combining it with the RoundRobin animation looks good
o [ROSE] The Rose chart Grow animation also now gradually increases the angle of the segments as well as their size. See
this page for an example: http://www.rgraph.net/examples/index.html Regular and stacked Rose charts are supported
8th October 2011
================
o [HBAR] Added easing to the HBar grow effect - the effect is very subtle
o [PIE] Added RoundRobin effect
o [MISC] Added chart.title.font chart.title.xaxis.font chart.title.yaxis.font
chart.title.size chart.title.xaxis.size chart.title.yaxis.size
chart.title.bold chart.title.xaxis.bold chart.title.yaxis.bold
o [SCATTER] Added Scatter chart boxplot tooltips
4th October 2011
================
o [LINE] Added Trace animation
o [WEBSITE] Added more testimonials
1st October 2011
================
o [FUNNEL] Added chart.taper for Funnels that don't taper to a point
o [FUNNEL] Added chart.labels.sticks that shows indicator lines for the labels
o [GANTT] Added the ability to have multiple "events" per line. For an example see here:
http://www.rgraph.net/examples/gantt.html
Note that if you start adding multiple events then the tooltips order may need attention
o [GAUGE] Added Gauge chart - another meter variant
o [LINE] Added chart.tooltips.hotspot.xonly. This makes the tooltips trigger by the X mouse position only
o [MISC] Not very noticable, but the snap tooltip effect now uses jQuery if it's available.
o [ODO] Note that Firefox 7 had issue with the gradient used in the Odometer border - so you may find that it has changed very
very slightly
o [PIE] Fixed a pie chart bug which presented itself when clicking canvas tags that had nothing to do with RGraph
24th September 2011
===================
o [WEBSITE] Social icons updated
22nd September 2011 (STABLE)
===================
o [DOCS] Documented how to retrieve just the PNG image from the canvas
o [LICENSE] Added PayPal donation button. If you're covered by the free license but still want to contribute to
help keep RGraph going you now can. All donations are gratefully received.
o [METER] Meter chart title size is now always two points larger than chart.text.size
o [METER] Fixed little bug with Meter chart grow animation not respecting minimum value
o [MISC] STABLE release
o [SCATTER DOCS] Documented chart.line.linewidth
o [WEBSITE] Added testimonial from Cisco Ireland
18th September 2011
===================
o [LICENSE] If you want to buy multiple licenses (eg you're a web designer with multiple clients that you want
to get RGraph licenses for), then there's now a bulk licenses option with the discount increasing
the more you buy. If you're interested in this then you can inquire about it by emailing
licensing@rgraph.net
o [LINE] Filled line charts and the X axis at the top now works correctly
o [METER] Added Meter chart Grow effect
12th September 2011
===================
o [HBAR] chart.background.grid.autofit has been turned on by default.
o [LINE] Added chart.curvy and chart.curvy.factor. Curvy lines are NOT exact, and the inaccuracy increases with
the severity of the curve. chart.curvy.factor can be a decimal from 0 (not curvy) to 0.5 (quite curvy)
9th September 2011
==================
o [BAR] The background grid autofit has been turned on by default. The number of horizontal grid lines has been
changed to 5.
o [EFFECTS] Fade in now operates over a period of 0.5 seconds
o [LICENSE] Revamped the license page - this should make it clearer
o [LINE] Added UnfoldFromCenter() animation
o [LINE] The background grid autofit has been turned on by default. The number of horizontal grid lines has been
changed to 5.
o [ODO] Added Grow animation effect
o [PIE ZOOM] A change has been made to the Pie chart when using tooltips and the full canvas zoom - please test your charts
if you're upgrading and you use tooltips in conjunction with the zoom.
o [PIE] Fixed a Pie chart label/seperation bug where chart.exploded is a number
o [ROSE] Added Grow() animation. This only works with regular and stacked Rose charts.
o [SCATTER] You can now have an X scale. If you specify that the X axis should be scaled then you don't have to specify an
xmax - one will be calculated for you. It may not be what you want though - so you might have to specify the
xmax anyway.
o [SCATTER] Minor bug fixed when hiding the lest tick when the X axis is at the right
o [SCATTER] The background grid autofit has been turned on by default. The number of horizontal grid lines has been
changed to 5.
o [WATERFALL] Added ability to have the X axis in the center
o [WATERFALL] The Waterfall property chart.background.grid.autofit now defaults to true (instead of false)
o [ZOOM] Changed the frame rate for the full canvas zoom
30th August 2011
================
o [LINE] Added chart.animation.unfold.initial
o [MISC] Support is now via email - support@rgraph.net - not the forum
27th August 2011 (STABLE)
================
o [MISC] Stable release
25th August 2011
================
o [WEBSITE] Misc website changes
22nd August 2011
================
o [LINE] Added RGraph.Effects.Line.Rise(obj) animation function. This is a nice effect made simple because of the
.Animate() function
o [LINE] A bug has been fixed for stepped line chart, but please be cautious when upgrading
20th August 2011
================
o [MISC] Changed the RGraph.Clear() method to use .clearRect() method
o [LINE] IMPORTANT Significant change to the way that filled multi-line charts are drawn. Formerly
the lines were stacked on top of each other. Normally this wasn't too much of an issue
unless you wanted semi-transparent colours. Because the lines were stacked on top of
each other the colors wouldn't be exactly right. This has now changed so you CAN now use
semi-transparent colors.
As a result the order in which the lines are drawn has been changed, so whilst the data
will remain the same, the "stacking" order if the datasets may change. Also, if you use
an array of shadow colors, they may need reversing.
o [MISC] The download archive now works "out-of-the-box" with IE9. Formerly the DOCTYPE wasn't the first line
in the files so it choked. Only offline IE9 was affected.
o [MISC] Added showcase of requestAnimationFrame(): http://dev.rgraph.net/tests/anim.html
13th August 2011
================
o [BAR] Added chart.numyticks
o [HPROGRESS] Added .getBar method
o [HPROGRESS] Added chart.strokestyle
o [LINE] Added chart.numyticks
o [METER] Added chart.segment.radius.start which allows you to specify a start point for the green/yellow/red coloured segments
o [METER] Added chart.border
o [METER] Added chart.linewidth.segments (for the lines between the segments
o [METER] Added chart.labels (a boolean controlling whether the labels are shown or not)
o [METER] Added chart.needle.linewidth
o [METER] Added chart.needle.radius
o [METER] Added chart.needle.tail
o [PIE] Added Pie chart Grow effect
o [RADAR] Completely removed chart.tooltips.coords.adjust
o [RADAR] Added .getPoint(e) method
o [RADAR] Fixed a bug with the __dataset__ property that is added to tooltips
o [RADAR] The chart.colors property has changed to: ['red', 'green', 'blue']
o [RADAR] Added chart.labels.specific
o [RSCATTER} Converted to use a .getPoint(e) method for tooltips
o [SCATTER} Completely removed chart.tooltips.coords.adjust
o [SCATTER] Added chart.numyticks
o [VPROGRESS] Added .getBar method
o [VPROGRESS] Added chart.strokestyle
o [WATERFALL] Added chart.tooltips.event
o [WATERFALL] Added .getBar(e) method for tooltips
10th August 2011
================
o [ANIM] Revamped the animation page and added the RGraph.Effects object. This allows you to add animation and wipes
to your RGraph charts.
6th August 2011
===============
o [BAR LINE] Tooltips highlighting now works with combined bar/line charts
o [METER] Added chart.centery, chart.centery and chart.radius
o [METER] Added chart.colors.ranges - an alternative to the red/yellow/green areas
o [METER] Added chart.strokestyle - default is null
o [SCATTER] Added chart.boxplot.capped - this controls the horizontal lines at the end of boxplots
o [THERMOMETER] The thermometer now supports a scale with chart.scale.visible, chart.scale.decimals and chart.ylabels.count
o [TOOLTIPS] The internal function RGraph.getTooltipText() has been renamed to RGraph.getTooltipTextFromDIV()
o [WEBSITE] Added animation samples to front page and example index page
29th July 2011 (STABLE)
==============
o [BAR] Added chart.noendxtick
o [BAR] Fixed a bug with specific labels vertical positioning with a center X axis
o [LINE] Documented chart.noendxtick
o [LINE] Added chart.tickmarks.linewidth
o [LINE] When using specific labels and a ymin, the first label is now placed where "0" would go
25th July 2011
==============
o [CONTEXT] Added onbeforecontextmenu RGraph event
o [KEY] Noted Line chart interactive key
o [PIE] Shadow now works correctly with exploded segments
o [SCATTER] Added chart.labels.above, chart.labels.above.size and chart.labels.above.decimals to the Scatter chart
20th July 2011
==============
o [BIPOLAR] Converted tooltips to use the new obj.getBar(e) method.
o [PIE] The option chart.exploded can now be a number, which is then applied to each segment (as well as the prior array)
o [PIE] Outlining now works with exploded segments - http://www.rgraph.net/docs/you-dont-need-to-spend-a-lot-of-money.html
o [BAR] When adding a line chart on top of a bar chart, the following are no longer set.
If you want them you will need to set them yourself (the former values are also shown):
line.Set('chart.noaxes', true);
line.Set('chart.background.barcolor1', 'rgba(0,0,0,0)');
line.Set('chart.background.barcolor2', 'rgba(0,0,0,0)');
line.Set('chart.background.grid', false);
line.Set('chart.ylabels', false);
There are a few things that are still set for you:
chart.gutter.top
chart.gutter.bottom
chart.gutter.left
chart.gutter.right
chart.ymax
o [FUNNEL] Converted tooltips to use the new obj.getSegment(e) method.
o [LINE] The Line chart now has a .__index2__ property which can be used in your ontooltip event handlers. This is the index
in the individual array for a particular line. If you're not using multiple lines in your chart, this won't affect
you.
17th July 2011
==============
o [BAR] Added chart.colors.reverse for reversing the order in which colors are used (stacked bar charts only)
o [FUNNEL] Added a .getSegment(e) method - which greatly simplifies retrieving the segment that has
been clicked on (or the mouse is over etc).
o [LINE] Added chart.key.interactive - this allows you click on a key item and it will be highlighted on the chart
o [TOOLTIPS] Small fix to snap effect when you have multiple charts one one page, both with tooltips
o [TOOLTIPS] The default CSS has been altered for tooltips. This affects all chart types. The changes are:
o There is now no CSS border to the tooltip
o The toltip is now transparent a small amount (opacity=0.9)
o The tooltip shadow X & Y offsets are now zero
12th July 2011
==============
o [MISC] Stable release
11th July 2011
==============
o [WEBSITE] Website updates
10th July 2011
==============
o [CONTEXT] Added the registry variable: RGraph.Registry.Get('chart.contextmenu').__shape__
This is the underlying hotspot (eg bar/segment/point), if any, that was clicked on.
Objects that have a .getXXX() method now also have a .getShape() method, which is
exactly the same, but can be used if you don't know what object type you have,
(since it's the same name across all object types).
8th July 2011
=============
o [DOCS] Documentation updates
o [COMMON] Fixed a slight bug when formatting negative numbers at 1,000 and over
o [METER] Added Meter options: chart.value.label
chart.value.text.decimals
chart.value.text.units.pre
chart.value.text.units.post
29th June 2011
==============
o [WEBSITE] Website changes
28th June 2011
==============
o [RADAR] The Tradar has been renamed to Radar - you WILL need to update your code slightly.
o [RADAR] Fixed a bug with tooltips and multiple datasets
o [TOOLTIPS] The 'snap' effect now snaps on the first view, moving in from the top left - see the front page line chart
for an example of its use.
25th June 2011
==============
o [LINE] "10 labels" with a chart.ymin value now works with X axis at the top and bottom
o [PIE] The chart.tooltips.coords.adjust property has been removed
o [ZOOM] Added ability to fire the full canvas zoom by just a click - no context menu
23rd June 2011
==============
o [LINE] The chart.tooltips.coords.adjust property has been removed
o [ROSE] The Rose chart getSegment() return value has changed. Instead of just one radius value, there are now two
radius values - the start and end values. This change was necessary to facilitate stacked Rose charts.
Subsequent values have "moved up one" in the array (ie what was index 3 is now 4, what was 4 is now 5
and what was 5 is now 6)
o [SCATTER] The chart.tooltips.coords.adjust property has been removed
21st June 2011
==============
o [DONUT] Added chart.variant.donut.color for the center hole
o [HBAR] The default colors have changed
o [HBAR] Added sequential color support to grouped and stacked HBars
18th June 2011
==============
o [HBAR] Added chart.colors.sequential for regular hbars (not stacked or grouped)
o [HBAR] Converted to .getBar(e) method for tooltips
o [LINE] Added triangle and filledtriangle tickmark types
o [ODO] Added chart.green.solid and documented
o [ODO] Added chart.yellow.solid and documented
o [ODO] Added chart.red.solid and documented
o [ODO] Documented chart.green.color
o [ODO] Documented chart.yellow.color
o [ODO] Documented chart.red.color
o [PIE] Added chart.variant.donut.color - this controls the color of the hole
o [ROSE] Implemented stacked Rose chart (see below)
o [ROSE] Added chart.colors.sequential (which, if you upgrade, you need to set to true to maintain BC)
o [ROSE] When using tooltips, the highlight will now appear "over" the axis labels. This makes the
highlighted segment more identifiable.
o [ROSE] Tooltips can now be a single function, or an array of functions as well as an array of strings
o [ROSE] Added chart.variant - the value can be either null (for a normal or stacked Rose chart) or "non-equi-angular" for a
Rose chart that has unequal segment sizes. See an example here:
http://dev.rgraph.net/tests/2011-07-30/non-equi-angular_rose.html
o [ROSE] Added chart.labels.offset
o [ROSE] Added chart.tooltips.event
o [SCATTER] Added in-graph labels to Scatter chart
The Rose chart has undergone significant changes in order to facilitate stacked and non-equi-angular charts.
In particular, the color handling has changed, and as such you may need to specify chart.colors.sequential in
your chart configurtion to get the colors to behave as they used to. Changing the way colors behave brings the Rose chart
into line with other chart types. Also, the Rose chart .getSegment() return value has changed - now instead of just one radius
value, you get a start radius and end radius value.
7th June 1011
=============
o [LINE] Documented chart.filled.accumulative
o [WEBSITE] Removed redundant checks from graph libraries
4th June 2011 (STABLE)
=============
o [MISC] Stable release - see .BC.txt, and look through this files entries since the last stable release (25-03-2011)
28th May 2011
=============
o [LINE] You may need to adjust your titles vertical positioning using chart.title.vpos
o [MISC] Added example of adding a subtitle to your graph
21st May 2011
=============
o [BIPOLAR] Tooltip handling has changed. If none is set for a particular bar, none will now be shown
o [COMMON] Check your graph titles - the vertical positioning has changed. To reposition you can
use chart.title.vpos
o [HBAR]The X axis title positioning may have changed slightly - if you use it you should check your title is as you expect
o [HBAR] chart.labels.above has been fixed in respect of drawing text in a stacked HBar for sections that it shouldn't do
o [HBAR] Fixed a very minor bug when the chart is redrawn (after being drawn once) and the scale wasn't correctly reset
o [LINE] This chart type may be particularly buggy because of the gutter changes
o [MISC] Individual gutters are now settable with all graph types
o [MISC] The settings chart.width and chart.height are now deprecated in favour of the new individual gutter settings
o [ODO] Added key - helpful for multiple pointers
o [RESIZE] Repositioning the resize handle is no longer necessary with the introduction of independent gutter settings.
Starting with the May release this setting should no longer be used.
o [SCATTER] Added an obj.getPoint(e) method which eases getting the point (if any) that is currently being hovered over
o [WATERFALL] Documented chart.scale.formatter
Keep in mind that individual gutter settings and using chart.width/chart.height are not meant
to be used together - chart.width/chart.height will cease to be user facing properties and will
(starting this release) stop functioning and be removed completely. The addition of individual
gutter settings is a fundamental change so testing of your graphs is imperative. The
requirement of translating to reclaim lost space is reduced (if not eliminated
entirely) with the addition of these settings.
7th May 2011
============
o [API] Added RGraph.Reset() function, which both clears the canvas AND resets any .translate() that has been performed
o [INVOICE] Improved the appearance of the invoice
o [LINE] Added individual gutter settings:
chart.gutter.left
chart.gutter.right
chart.gutter.top
chart.gutter.bottom
Keep in mind that these settings are experimental currently. In particular they may cause dynamic features
not to work 100% correctly.
o [MODALDIALOG] Added an example of covering the scroll bars to the ModalDialog page
o [ODO] Kength of extra pointers is now supported, eg: odo.Set('chart.needle.extra', [[16, 'yellow', 50]]);
o [WATERFALL] Added this new chart type
o [WEBSITE] Changed pages to use uncompressed version of ExCanvas - now works offline
30th April 2011
===============
o [METER] Added chart.scale.decimals - default is 0
9th April 2011
==============
o [BAR] Added support for chart.background.image
o [BAR] Added ability to have X axis at the top for entirely negative data sets, eg:
obj.Set('chart.xaxispos', 'top');
o [LED] Added chart.width and chart.height. Also changed the sizing so now the letters should always fit the canvas size
o [LINE] Added support for chart.background.image
o [LINE] Added ability to have X axis at the top for entirely negative data sets, eg:
obj.Set('chart.xaxispos', 'top');
o [MSIE] MSIE 8 now clears to white by default, not transparent
o [PIE] Added chart.tooltips.coords.adjust
o [PIE] Segment separation is now available as a tooltip highlight mode (exploded segments)
o [SCATTER] Added support for chart.background.image
o [SCATTER] Documented chart.ylabels.invert
o [THERMOMETER] Added adjusting
o [THERMOMETER] Added chart.text.color
o [THERMOMETER] Added chart.value.label, which allows to not display the label (true/false)
25th March 2011 (STABLE)
===============
o [COMMON] The default for chart.key.halign is now null, by default the position for the
key depends on the position of the Y axis
o [COMMON] Changed chart.title.yaxis.align to chart.title.yaxis.position
o [MSIE] Positioning tweaks for IE9 final
20th March 2011
===============
o [LINE] Added workaround for Chrome bug when specifying different line widths for lines
o [MISC] Added chart.key.halign (when using graph mode) which can be left or right (default)
o [TRADAR] Fixed tradar and interactive adjusting (thrown out by the addition of multiple datasets)
12th March 2011
===============
o [COMMON] The RGraph.Clear() function has been changed to a transparent colour to transparent instead of white. Also,
a new event has been added called onclear which fires when the function is called. You can use this function
to draw a white (or a color of your choice) rectangle over the canvas. Effectively clearing the canvas to
your color, for example:
function myClear(obj)
{
obj.context.beginPath();
obj.context.fillStyle = 'white';
obj.context.fillRect(-10,-10,obj.canvas.width + 20, obj.canvas.height + 20);
obj.context.fill();
}
DO NOT simply use the RGraph.Clear() function in the onclear event listener function, as you will create an
infinite loop.
o [COMMON] Added chart.title.yaxis.align to the common background code. This is usable by:
- Bar
- Line
- Scatter
o [LINE] A bug has been fixed that is apparent when you're using chart.outofbounds and have null values. If you have this
combination, please test your graphs! An example is here: http://dev.rgraph.net/tests/null.html
o [ODO] Added chart.border.color1
o [ODO] Added chart.border.color2
o [ODO] Added chart.border.color3
o [ROSE] Corrected a bug in the Rose chart, introduced in the prior beta
o [METER] Added the following tickmark controls to the Meter chart:
chart.tickmarks.small.num
chart.tickmarks.big.num
chart.tickmarks.small.color
chart.tickmarks.big.color
o [RESIZING] Tooltips for the icons are now limited to Google Chrome and MSIE because of reliability issues. The cursor will
still change in all browsers though
o [THERMOMETER] Added chart.title.side
o [TRADAR] Added multiple dataset support. eg: http://www.rgraph.net/examples/tradar.html
o [TRADAR] Added key
5th March 2011
==============
o [COMMON] The default color for by the RGraph.Clear() function has been changed to transparent.
o [COMMON] The RGraph.getSegment() function has been moved to be a method of both the Rose and the Pie charts, instead of part
of the common object. ie Supposing your object is called myObj, it will now be myObj.getSegment(e), instead of
RGraph.getSegment(e)
o [INVOICE] Added Paypal button to invoice
o [PIE] Added exploded segments. http://www.rgraph.net/docs/animation_segments.html Certain Pie chart options won't work
with this feature
o [THERMOMETER] Added initial implementation of this visual variation on the progress bar
26th February 2011 (STABLE)
==================
[MISC] Stable release
19th February 2011
==================
o [BAR] Added chart.noaxes
chart.noxaxis
chart.noyaxis
o [KEY] Added new test example of an interactive key. This feature isn't finished yet and has limited use cases.
o [WEBSITE] Added facebook sharing icon
14th February 2011
==================
o [DOCS] Added example of persistent annotations
o [HBAR] Updated docs
11th February 2011
==================
o [HBAR] Added chart.xmin
o [MISC] Added chart.width and chart.height properties to remaining libraries
o [LINE] Fixed slight bug in line when multiple lines are specified as one argument
o [SCATTER] Added chart.labels.specific.align which allows you to center align labels
28th January 2011 (STABLE)
=================
o [BAR] Added chart.background.grid.autofit.align, for making the grid lines line up with the ticks. Any chart.hmargin will
throw the alignment out.
o [DOCS] Added note to animation page about CSS vs