About this article
I’ve been using CanvasXpress for real time graphing for a corporative website.
As a team, we learned a lot about this library and how browsers interact with the canvas element, so this article is about sharing our gained experience and introducing the mostly unknown canvasXpress library.
I’ll looking forward to read your thoughts about any of this topics; other libraries, other technologies (like SVG) and of course you’re welcome to mail me any doubt you have and I’ll try to help.
About the author
I’m currently working for a multinational electric company. My focus is on RESTful web services, Spring MVC and HTML5.
Index
- 1 - Introduction to the Canvas element
- 2 - Examples of the Canvas element
- 3 - Canvas vs SVG
- 4 - CanvasXpress library
- 5 - Browser support
- 6 - Basic usage
- 7 - Real world scenario
- 8 - End
Introduction to the Canvas element
HTML5 brought to the web development world a huge amount of useful features. One of those features is the Canvas element.
The Canvas element allows dynamic content and scriptable rendering of 2D shapes and bitmap images. It is a low level, procedural model, that updates a bitmap and does not have a built in scene-graph.
We can say that Canvas is a drawable region in HTML code with a height and width attributes. Javascript code may access this region, allowing us to generate fully dynamic content as graphics, games, animations and so on.
