4

Can any one point me to any resources for making graphs in HTML5? Most of resources I have seen through Google use animated graphs, I just want a simple static graph in HTML5. One more thing, I am really very weak in graphs, so a simple, easy to understand solution would be very helpful. I will be using this XML file to display data in graphical format. US Canada Mortality

Thanks in advance :-)

4

1 回答 1

3

Check out the new canvas tag. It allows you to draw shapes including rectangles and circles using javascript. Canvas Tutorials

If you're looking for just a standard bar chart, though, you can use the div tag with a specified width, height, and background color. This method avoids the use of javascript.

于 2012-07-30T19:35:47.360 回答