echarts
oy123kai
这个作者很懒,什么都没留下…
展开
-
echarts饼图
这里写自定义目录标题option1: {tooltip: {trigger: ‘item’,position: [‘50%’, ‘0’],//提示框位置textStyle:{fontSize: 8,//字体大小color: ‘#AADDFF’//字体颜色},formatter: ‘{a} {b}: {c} ({d}%)’},series: [{name: ‘办理人数统计’,type: ‘pie’,radius: [‘55%’, ‘65%’],center:[‘45%’,‘55原创 2020-10-22 17:24:47 · 110 阅读 · 0 评论 -
echarts水球图
<div id="satisfaction"></div><div id="dissatisfaction"></div>import * as echarts from "echarts";//引入echartsimport "echarts-liquidfill";//引入echarts水球图methods: { creatGraph() { let satisfaction = echarts.init(docume原创 2020-11-12 16:01:39 · 188 阅读 · 1 评论 -
echarts折线图
<div id="main5" style="height: 330px; width: 100%"></div>import * as echarts from "echarts";option5: { tooltip: { trigger: "axis", }, xAxis: { type: "category", data: [ "1月"原创 2020-11-12 15:29:56 · 76 阅读 · 0 评论 -
echarts柱状图
<div id="main4" style="height: 330px; width: 100%"></div>option: { tooltip: { trigger: "axis", }, xAxis: { type: "category", data: [ "1月", "2月", "3月",.原创 2020-11-12 15:22:53 · 174 阅读 · 1 评论 -
echarts饼图(2)
option1:{ title:{ show:false, text:'土地使用面积' }, tooltip: { trigger: 'item', formatter: '{b}: {c} ({d}%)' }, legend:{ textStyle:{ fontSize: 12,//字体大小 color: '#AADDFF'//原创 2020-10-21 09:34:56 · 83 阅读 · 0 评论