<script>
import 'echarts/lib/chart/bar'
var data = {
title: [
'<15岁',
'15-20岁',
'20-25岁',
'25-30岁',
'30-35岁',
'35-40岁',
'40-45岁',
'45-50岁',
'>50岁'
],
plan_production: [10, 20, 50, 500, 40, 200, 100, 90, 80]
}
function getTableLine(num) {
// table
const list = []
const bottom = 26 // 控制线的位置
const height = 20
for (var i = 0; i < num; i++) {
list.push({
type: 'line',
bottom
echarts 柱状图带底部table表格
最新推荐文章于 2024-07-01 10:49:56 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)