The RGraph and SVG/canvas news and updates blog for the year 2014
Syndicate the RGraph blog
The RGraph blog contains information about canvas, SVG, RGraph and demonstrates things that can be done with canvas and SVG.View blog entries from:
An interactive example of the arcTo functionRead more...
10th May 2014
The canvas tags arcTo function is mysterious little function. The fact that it wasn't always implemented correctly didn't help but it is now and this interactive demo will help you to understand this function.
An example of canvas Path2D objectsRead more...
29th March 2014
An updated article about the Path2D object is now available. It goes through the new Path2D object, its API and has usage examples. The Path2D object is currently (March 2014) only available in the canary build of Google Chrome.
New text metrics for canvas available in Google ChromeRead more...
23rd March 2014
A new article is now available that looks at the new text metrics that have been added to Google Chrome. These metrics enable you to get more information about the dimensions of the text and most importantly they allow you to construct a bounding box. Keep in mind though that these metrics are new and may bite!
Using the drawimage() function to increase performance - caching draw commands on an offscreen canvasRead more...
23rd March 2014
Caching certain things that are drawn as part of your chart (most notably the background grid) will increase the performance a large amount. The next version of RGraph will include a "drawing cache" that will be used to avoid repeated drawing of parts of the chart. This is most notable when using the Bar chart Wave effect.
How to get a responsive canvas tagRead more...
1st February 2014
Why use semi-colons after functionsRead more...
8th January 2014
Confused about when to use semi-colons after functions and when they're not necessary? This tells you when to use them.