Revisiting Charts: HTML5 Attributes
Posted by: K. Scott Allen,
on 15 Feb 2011 |
View original | Bookmarked: 0 time(s)
The charting sample I wrote years ago rendered image tags like this: <img id="topDestinations" src="roller.gif" />
The roller gif was a spinning animation that let the user know some work was happening behind the scenes. JavaScript loaded into the page had the following responsibilities:
1) Identity the image tags to transform into charts.
2) Call a web service to generate the chart asynchronously.
3) Set the src attribute of each image the to image name returned by the web service...