vue 常用的 Echarts 示例(1)

文章展示了两个图表比较了主煤流系统手动启动与智能启动的时长,以及智能配煤和非智能配煤的产量趋势。同时,分享了关于前端开发的学习资源,提供从入门到进阶的体系化学习资料目录。
摘要由CSDN通过智能技术生成

right: ‘2%’

},

series: [{

name: “主煤流系统手动启动时长”,

barWidth: 15,

type: ‘bar’,

data: [1,2,3,4,5,6],

itemStyle: {

normal: {

label: {

show: true, //开启显示

position: ‘insideLeft’, //在上方显示

offset: [-8, 0],

textStyle: { //数值样式

color: ‘#fff’,

fontSize: 10

}

},

color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{

offset: 0,

color: “#0069F5” // 0% 处的颜色

}, {

offset: 1,

color: “#35C3FF” // 100% 处的颜色

}], false)

}

},

}, {

name: “主煤流系统智能启动时长”,

barWidth: 15,

type: ‘bar’,

data: [2,3,4,5,6,7],

itemStyle: {

normal: {

label: {

show: true, //开启显示

position: ‘insideRight’, //在上方显示

offset: [8, 0],

textStyle: { //数值样式

color: ‘#fff’,

fontSize: 10

}

},

color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{

offset: 0,

color: “#03AC32” // 0% 处的颜色

}, {

offset: 1,

color: “#69EF00” // 100% 处的颜色

}], false)

}

},

}]

};

多条曲线图


在这里插入图片描述

option = {

color: [‘#1890FF’, ‘#FF7D00’],

tooltip: {},

legend: {

show: true,

top: 15,

right: 0,

align: ‘left’,

x: ‘center’,

y: ‘top’,

icon: ‘rect’,

itemHeight: 5,

itemWidth: 15,

data: [“智能配煤”,“非智能配煤”],

textStyle: {

color: ‘rgba(255, 255, 255, 0.8)’,

fontSize: 12

},

},

xAxis: {

axisTick: {

show: false

},

axisLine: {

lineStyle: {

color: ‘#0092D5’

}

},

axisLabel: {

color: ‘rgba(255, 255, 255, 0.8)’

},

data: [‘2020-01’,‘2020-02’,‘2020-03’,‘2020-04’,‘2020-05’,‘2020-06’]

},

yAxis: {

name: “(万元)”,

nameTextStyle: {

color: ‘rgba(255, 255, 255, 0.8)’,

align: ‘right’

},

splitLine: {

lineStyle: {

type: ‘dashed’,

color: ‘#0092D5’,

opacity: 0.3

}

},

axisLine: {

show: false,

},

axisLabel: {

color: ‘rgba(255, 255, 255, 0.8)’

},

},

grid: {

top: ‘25%’,

bottom: ‘10%’,

left: ‘10%’,

right: ‘2%’

},

series: [{

name: “智能配煤”,

barW

  • 19
    点赞
  • 23
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值