0.0.4 • Published 3 years ago

smallchart v0.0.4

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

smallchart

Demo

Installing

Using npm:

$ npm install smallchart

Example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>smallchart</title>
</head>
<body>
<div id="chart"></div>
</body>
</html>
// get dom
let chart = SmallChart.init(document.getElementById('chart'))
let op = {
    series: [{
        data: [820, 932, 901, 934, 1290, 1330, 1320],
        type: 'line',
        fill: '#8956FF',
        stroke: '#8956FF',
        smooth: true
    }]
}
chart.setOption(op)
0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago