Sparklines 介绍
Generate useful inline sparklines directly in the browser without requiring
any server-side support. Cross-browser compatible (Firefox, Safari, IE, etc).
Easy to use, either with inline data:
<span class="sparklines">3,4,6,3,2,3,6</span> $('.sparklines').sparkline();
or with dynamic data:
<span id="mysparkline">Loading..</span> $('#mysparkline').sparkline([3,4,6,3,2,3,6]);
Check out the home page for live examples of the different types of sparklines
supported.