Coin de Gamma
4 years ago
3 changed files with 44 additions and 11 deletions
@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"> |
||||
<meta content="utf-8" http-equiv="encoding"> |
||||
|
||||
<script src="../dist/index.js" type="text/javascript"></script> |
||||
</head> |
||||
<body> |
||||
|
||||
hello |
||||
<div id="chart" style="width: 500px; height: 500px;"></div> |
||||
|
||||
<script type="text/javascript"> |
||||
var pod = new ChartwerkGaugePod( |
||||
document.getElementById('chart'), |
||||
[{ target: 'test', datapoints: [[90, 5], [0, 10], [45, 15], [180, 20], [270, 25]], radius: 30 }], |
||||
{ usePanning: false, renderLegend: false, renderYaxis: false, renderXaxis: false, renderGrid: false } |
||||
); |
||||
pod.render(); |
||||
</script> |
||||
</body> |
||||
</html> |
Loading…
Reference in new issue