
echarts
echarts
疆~
这个作者很懒,什么都没留下…
展开
-
vue3中使用vue-echarts
vue-echarts详细介绍:https://github.com/ecomfe/vue-echarts/blob/HEAD/README.zh-Hans.mdhttps://github.com/ecomfe/vue-echarts/blob/HEAD/README.zh-Hans.md main.js中全局引入 使用原创 2022-10-05 15:14:40 · 7154 阅读 · 1 评论 -
vue3中使用echart
【代码】vue3中使用echart。原创 2022-10-05 13:36:50 · 383 阅读 · 0 评论 -
Echarts饼状图
基本饼状图option = { legend: {}, series: [ { type: 'pie', data: [ { value: 1048, name: 'a' }, { value: 735, name: 'b' }, { value: 580, name: 'c' }, { value: 484, name: 'd' }, { value: 300, name: '原创 2022-03-03 00:11:38 · 875 阅读 · 0 评论 -
Echarts折线图
效果图1:option:{ backgroundColor: "rgba(255,255,255,0)", tooltip: { trigger: "axis", axisPointer: { lineStyle: { color: { type: "linear", x: 0, .原创 2021-08-30 11:27:34 · 5492 阅读 · 2 评论 -
Echarts常见效果积累
1、 tooltip: { trigger: "axis", backgroundColor: "rgba(255,255,255,0.1)", borderColor: "rgba(255,255,255,0.1)", axisPointer: { type: "shadow", label: { .原创 2021-08-04 09:18:46 · 508 阅读 · 0 评论 -
Vue封装echarts组件-LjEchart-可自适应、切换主题、动态更换数据
组件目录结构:使用:<!--menu1--><template> <div> <el-button @click="setData()">更新</el-button> <LjEchart :options="options" width="600px"></LjEchart> </div></template><script>impor...原创 2021-08-02 17:31:30 · 1330 阅读 · 4 评论 -
vue大屏中的水球图
效果图:chart.vue:<template> <!-- 每一个图表都要设置height高度,如下 --> <Echart :options="options" height="4.5rem"></Echart></template><script>import Echart from "@/common/echart";export default { data() { return {原创 2021-03-17 19:43:02 · 985 阅读 · 1 评论 -
vue大屏中对echarts基础模板的封装
目录一、下载echarts 、vue-awesome、@jiaminghi/data-view、lib-flexible二、在main.js中引入三、封装echarts四、使用五、div包装六、引用模板七、使用一、下载echarts 、vue-awesome、@jiaminghi/data-view、lib-flexiblecnpm i -S dayjs echart@4.9.0 vue-awesome @jiaminghi/data-view lib-flexi.原创 2021-03-16 18:31:48 · 2387 阅读 · 2 评论 -
vue+echarts实现热力图
<!-- 热力图 --><template> <div id="myChart" style="width:1500px;height:700px"></div></template><script>import xinjiang from "echarts/map/js/province/xinjiang";...原创 2020-07-09 10:49:19 · 5306 阅读 · 2 评论 -
在Vue中使用echarts
一,安装echartscnpm i echarts -S二,新建echarts.vue内容如下:<template> <div class="chart-container"> <el-row> <el-col :span="12"> <div ...原创 2019-10-19 14:57:57 · 3018 阅读 · 4 评论 -
Echarts柱状图
图1:<template> <div id="chartBar" style="width: 700px; height: 300px"></div></template> <script>import echarts from "echarts";export default { data() { return { chartBar: null, category: [原创 2021-03-16 17:34:28 · 30476 阅读 · 2 评论 -
Echarts 中设置图表背景颜色
当使用使用'dark'系列主题时,图表为黑色背景色,如果需要将其背景颜色设置为半透明,用类选择器修改样式会发现修改不了。此时可用以下方式修改方法一:var option={ backgroundColor:'rgba(128, 128, 128, 0.1)' //rgba设置透明度0.1}方法二:var option={ backgroundColor:'' //设置无背景色}...原创 2020-09-23 16:10:12 · 24299 阅读 · 0 评论 -
vue中使用Mapbox+Echartsgl进行可视化
1,安装echarts和echartsglcnpm i echarts echarts-gl -S然后在main.js中引入://引入echartsimport echarts from 'echarts'import 'echarts-gl'Vue.prototype.$echarts = echarts2,引入mapboxgl在public/index.html...原创 2020-05-08 10:54:32 · 1705 阅读 · 1 评论