e-charts-builder-test
v1.1.5
Published
echarts builder
Downloads
38
Readme
e-charts-builder-pro
echarts builder pro
USED
this.chart = new Charts({container: this.charts})
.title({text: 'Api', left: 20})
.color(['#FF5B00', '#0060FF', '#00A74F'])
.grid({left: 50, right: 20, top: 30, bottom: 40})
.yAxis({splitNumber: 6})
.tooltip({})
.legend({icon: 'bar', data: ['api'], itemWidth: 12, itemHeight: 2})
.xAxis({
type: 'category',
axisLabel: {formatter: (value) => value.substring(11)},
showMaxLabel: true
})
.series([{type: 'line', name: 'api', data: timeLine}])
.render();