Loading
Options
Vertical Label
Source Code(Live update based on the above Options change)
- JavaScript
- HTML
import { Chart } from 'singledivui';
import 'singledivui/dist/singledivui.min.css';
const options = {
type: "area",
data: {
labels: ["January", "February", "March", "April", "May", "June"],
series: {
points: [150, 90, 250, 180, 310, 250]
}
},
graphSettings: {
xAxis: {
labelDistance: 15,
verticalLabel: true
}
}
};
new Chart('#chart-demo', options);
<div id="chart-demo"></div>