Skip to main content

Basic Sample

Loading

Source Code

import { Chart } from 'singledivui';
import 'singledivui/dist/singledivui.min.css';

const options = {
type: "bar",
data: {
labels: ["January", "February", "March", "April", "May", "June", "July"],
series: {
points: [4, 7, 10, 15, 18, 21, 26]
}
}
};

new Chart('#chart-demo', options);