-
-
Save cuibonobo/2a243ac5f2f3eaddfb4f to your computer and use it in GitHub Desktop.
Stuart Langridge's Simple SVG sparklines — http://kryogenix.org/days/2012/12/30/simple-svg-sparklines — but using an object element instead of an embed. Worth investigating whether having many of these on a page will create many HTTP requests.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset=utf-8> | |
<meta name=description content="Stuart's Sparklines"> | |
<meta name=viewport content="width=device-width, initial-scale=1"> | |
<title>Sparklines</title> | |
</head> | |
<body> | |
<h1><a href="http://kryogenix.org/days/2012/12/30/simple-svg-sparklines">Stuart's Simple SVG sparklines</a> using an object element:</h1> | |
<object data="sparkline.svg?1,8,1,8,1,8" type="image/svg+xml" width="100" height="15"></object> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment