ECharts
var chart = echarts.init(document.getElementById("main"));
chart.setOption({
title: { text: "Sales" },
xAxis: { data: ["Mon","Tue","Wed","Thu","Fri"] },
yAxis: {},
series: [{ type: "bar", data: [120, 200, 150, 80, 70] }]
});
Summary
- ECharts is a powerful charting library by Apache
- Supports bar, line, pie, scatter, and more
YouTip