Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a full implementation of the HTML5 Canvas object for GWT?

Tags:

html

canvas

gwt

I'm looking to perform some dynamic charting based on a model via GWT on HTML5 compliant browsers.

I know that the following library exists :

GWT Canvas

The problem is that this library does not support drawing text within the canvas so I can draw lines but no write text on my charts.

I haven't been able to find any other plugin that works with the Canvas in GWT (which is really odd given the HTML5 push by Google).

Does such a component exist?

like image 856
Chris Avatar asked Oct 25 '22 12:10

Chris


2 Answers

You could take a look at the official canvas support in gwt-incubator. http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas

like image 54
Martin Avatar answered Nov 02 '22 06:11

Martin


The GWT incubator seems to be more focussed on browser support. If you don't require this and wish to use more of the HTML5 Canvas features, see: http://sourceforge.net/projects/html5canvas/

like image 22
Joe Homesh Avatar answered Nov 02 '22 04:11

Joe Homesh