multi-crowbar.js
into the browser developer consolemultiCrowbar
function and pass a selector for the container divmultiCrowbar(".my-chart")
if you want to include html labels or captions you can pass another selector as second argument
multiCrowbar(".my-chart", "h2.my-caption")
xxxxxxxxxx
<html>
<head>
<meta charset="UTF-8">
<title>Multi-Crowbar</title>
</head>
<style>
.bookmarklet {
padding: 3px 8px;
font-size: 12px;
font-weight: bold;
text-decoration: none;
border-radius: 1em;
background: #2b8cbe;
color: white;
}
.center {
padding: 70px 0;
text-align: center;
}
</style>
<body>
<p class = "center">
<a class="bookmarklet" href="javascript:(function(){s=document.createElement('script');s.type='text/javascript';s.src='https://cdn.rawgit.com/nstrayer/6c702f7f57c08b01f3edfd7474cf77ba/raw/ca571c282fb14922916b3281f72bba0442c528de/bookmarklet.js?v='+parseInt(Math.random()*99999999);document.body.appendChild(s);})();">Multi-Crowbar</a> <span>← Drag me to your bookmarks bar.</span>
<p>
</body>
</html>