Friday, October 2, 2009

GWT graphics

If you were considering how to draw graphs and pie-charts in GWT, wait no more:



DrawingArea canvas = new DrawingArea(400, 400); panel.add(canvas);


Circle circle = new Circle(100, 100, 50); circle.setFillColor("red"); canvas.add(circle);
Examples: