开发者

In GWT, how can I create the drawing for poll results? Are there any widgets/libraries for this or do I?

Are there any libraries for drawing poll results or do I have to use the canv开发者_StackOverflow中文版as to do this? Any suggestions are highly welcome.

Thanks!


If you want to do charts, you should check out the Google Visualization API for GWT.


For a simple bar graph, I achieved some very satisfactory results by placing SimplePanels in an AbsolutePanel. You can set arbitrary positions and dimensions, add a stylename to access them through CSS and style them to the max. Works in every browser down to IE 6, at least. You'd have to do the positioning math yourself.


I would suggest glfot. It is more than capable of doing bar charts, and doesn't rely on connecting to google every time you want to calculate results.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜