![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
echarts
真的不想哇
这个作者很懒,什么都没留下…
展开
-
echarts柱状图
<template> <div id="mainCH" style="width: 100%; height: 400px;"></div> </template> <script> let echarts = require('echarts/lib/echarts') // 引入柱状图组件 require('echarts/lib/chart/bar') // 引入提示框和title组件 require('echarts/lib.原创 2021-08-04 16:31:07 · 193 阅读 · 0 评论 -
Echarts柱状图
我这里的数据是随便写的,让后台给接口的时候,把排名从高到底给好 <template> <div id="main2" style="width: 460px; height: 280px;"></div> </template> <script> // 引入 echarts 核心模块,核心模块提供了 echarts 使用必须要的接口。 import * as echarts from 'echarts/core'; // 引入柱状图图表.原创 2021-08-04 11:51:13 · 691 阅读 · 0 评论