<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>
<div id="chart" style="width: 500px; height: 500px;"></div>
<script type="text/javascript">
new ChartwerkLineChart(document.getElementById('chart'), [{ datapoints: [[100, 1590590148], [200, 1590591148]] }])
</script>
</body>
from
/demo.html:I think it would be to do following:
new Chartwerk.LineChart()