用echarts实现进度条

今天有个需求需要实现类似这种进度条在这里插入图片描述
渐变,指示点,背景这些都比较容易实现,前面这段有个高度逐渐增大的地方卡住了,半天没想到用什么方式去实现,搜了一圈,发现可以用echarts来实现


let icon1 = 'image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABGdBTUEAALGPC/xhBQAACklpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAAEiJnVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWw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0h7XMFY99E4vK40KNkPo0+BWUhV0SziL1amBB2kZqJqxHSYQHHMaV8M/ACxa3vCdX3XiUr6GiaVHZVIksrMFIzqdPKIY2sj9xleFCG04vCwrR6JAORy1tPI9mWE0QvTFusbMogBXNBScjIBeIZ5Bfcgjj7B/GEbAFwgIPqEydWIyWH+5C1axSDRy0udZEd8GPAU8DvgV8TXsMVJ1JIlcJnEMIvRelcbPnwS0rpWoR0UBgaJ9qVvrVI9X0ksjC/AvEhZPfsAL4BfAWpiO9m/hXxXljIqeduJMZ/jMtUEZ/DHuSAvQE5nWxF/PcLyOZTDHkL2eg2IuWPY8gRsKtIeRcR1588XOAf6rMCuY3fjriy3L9ajiPx7WngHWQzs4ElyJ1QPVK2cB1wk2rXDXyNK/BfLV4MIqetJxHf+CFgFTJaDcgtXiniUs4jybdx5Ac5DvwdcTWx/28JPH74vYL/A+K/O8PQf/1+AAAAAElFTkSuQmCCtH2K93/H70tXUY8yQwAAAABJRU5ErkJggg==';
let color1 = new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 0,color: '#0A3869'},{offset: 1,color: '#93E68F'}
]);
let color2 = new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 0,color: '#0A3869'},{offset: 1,color: '#F5C682'}
]);
let dataArr = [{value: 100,name: '10-30',itemStyle: {color: color1}
},
{value: 90,name: '10-31',itemStyle: {color: color2}
},
{value: 80,name: '11-01',itemStyle: {color: color1}
},
{value: 60,name: '11-02',itemStyle: {color: color2}
}
];
let dataArr1 = [{value: 100,name: '10-30',symbol: icon1
},
{value: 90,name: '10-31',symbol: icon2
},
{value: 80,name: '11-01',symbol: icon1
},
{value: 60,name: '11-02',symbol: icon2
}
];
let dataArr2 = [{value: 100,itemStyle: {color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 1,color: '#00000000'},{offset: 1,color: '#0A3869'},{offset: 1,color: '#0A3869'}])}
},
{value: 100,itemStyle: {color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 0.9,color: '#00000000'},{offset: 0.9,color: '#0A3869'},{offset: 1,color: '#0A3869'}])}
},
{value: 100,itemStyle: {color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 0.8,color: '#00000000'},{offset: 0.8,color: '#0A3869'},{offset: 1,color: '#0A3869'}])}
},
{value: 100,itemStyle: {color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 0.6,color: '#00000000'},{offset: 0.6,color: '#0A3869'},{offset: 1,color: '#0A3869'}])}
}
];option = {backgroundColor: '#021334',xAxis: {show: false},tooltip: {show: true},yAxis: [{triggerEvent: true,show: true,data: ['10-30', '10-31', '11-01', '11-02'],axisLine: {show: false},splitLine: {show: false},axisTick: {show: false},axisLabel: {show: true,margin: -40,interval: 0,inside: true,padding: [0, 0, -5, 0],color: '#ffffff',fontSize: 14,align: 'left'}},{show: true,offset: 0,data: ['100', '90', '80', '60'],axisLine: {show: false},splitLine: {show: false},axisTick: {show: false},axisLabel: {show: true,margin: -40,interval: 0,inside: true,padding: [0, 0, -5, 0],color: '#ffffff',fontSize: 14,align: 'right'}}],series: [{type: 'pictorialBar',barMinWidth: '10',symbol: 'path://M 0 5 L 17 0 L 17 10 z',symbolOffset: [0, 5],yAxisIndex: 0,data: dataArr,barWidth: 2,z: 1,itemStyle: {normal: {barBorderRadius: 20}}},{data: dataArr1,type: 'pictorialBar',barMaxWidth: 20,symbolPosition: 'end',symbolOffset: [15, 0],symbolSize: [30, 30],zlevel: 2,silent: true},{type: 'bar',barGap: '-100%',yAxisIndex: 0,data: dataArr2,barWidth: 10,itemStyle: {barBorderRadius: 0},z: 0,silent: true}]
};

改造一下就可以用了


let icon1 = 'image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABGdBTUEAALGPC/xhBQAACklpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAAEiJnVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFi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J81n7FO//PWS9l1w3i+IAAAAASUVORK5CYII=';
let color1 = new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: 0,color: '#0A3869'},{offset: 1,color: '#93E68F'}
]);let process = 10
let dataArr = [{value: process,name: '10-30',itemStyle: {color: color1}
},];
let dataArr1 = [{value: process,name: '10-30',symbol: icon1
},];
let dataArr2 = [{value: 100,itemStyle: {color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{offset: process/100,color: '#00000000'},{offset: process/100,color: '#0A3869'},{offset: 1,color: '#0A3869'}])}
},];option = {backgroundColor: '#021334',xAxis: {show: false},tooltip: {show: true},yAxis: [{triggerEvent: true,show: false,data: ['10-30'],},{show: false,offset: 0,data: ['100',],}],series: [{type: 'pictorialBar',barMinWidth: '10',symbol: 'path://M 0 5 L 17 0 L 17 10 z',symbolOffset: [0, 5],yAxisIndex: 0,data: dataArr,barWidth: 2,z: 1,itemStyle: {normal: {barBorderRadius: 20}}},{data: dataArr1,type: 'pictorialBar',barMaxWidth: 20,symbolPosition: 'end',symbolOffset: [15, 0],symbolSize: [30, 30],zlevel: 2,silent: true},{type: 'bar',barGap: '-100%',yAxisIndex: 0,data: dataArr2,barWidth: 10,itemStyle: {barBorderRadius: 0},z: 0,silent: true}]
};

在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/585881.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

AIGC浪潮下,鹅厂新一代前端人的真实工作感受

AIGC 这一时代潮流已然不可阻挡,我们要做的不是慌乱,而是把握住这个时代的机会。本文就和大家一起来探索在 AIGC 下,前端工程师即将面临的挑战和机遇。聊聊从以前到现在,AIGC 给我们带来了怎么样的变化,下一代前端工程…

Towhee

文章目录 关于 Towhee✨ 项目特点🎓 快速入门流水线预定义流水线自定义流水线 🚀 核心概念 关于 Towhee Towhee 是一个开源的 embedding 框架,包含丰富的数据处理算法与神经网络模型。通过 Towhee,能够轻松地处理非结构化数据&am…

从入门到实战:vue3路由知识点

本人在B站上关于vue3的尚硅谷的课程,以下是整理一些笔记。 1.两个知识点 1.路由组件通常存放在pages 或 views文件夹,一般组件通常存放在components文件夹。 组件可以分为: 1. 一般组件:亲手写标签出来的 2. 路由组件&#…

蓝桥杯练习笔记(十五)

蓝桥杯练习笔记(十五) 一、 首先要会欧拉函数去找到对应数字的所有互质的数的个数,然后要会快速幂去计算这种指数超级大的数字的幂积结果。 先学会第一个:欧拉函数。这个博主讲得不错,很清晰易懂。能够理解以下的公式…

ICLR 2024 | 鸡生蛋蛋生鸡?再论生成数据能否帮助模型训练

ChatGPT狂飙160天,世界已经不是之前的样子。 新建了人工智能中文站https://ai.weoknow.com 每天给大家更新可用的国内可用chatGPT资源 发布在https://it.weoknow.com 更多资源欢迎关注 随着生成模型(如 ChatGPT、扩散模型)飞速发展&#x…

【MATLAB源码-第21期】基于matlab的BCH码编码译码仿真,调制使用QPSK,对比编码与未编码的误码率曲线。

操作环境: MATLAB 2022a 1、算法描述 QPSK调制解调:QPSK(Quadrature Phase Shift Keying)调制解调**是一种数字调制技术,通常用于数字通信系统。 调制: 1. 首先,将数字信号分成两路&#xff…

量化交易入门(三十八)CCI指标Python实现和回测

今天我们先单纯用CCI指标来完成策略的编写,后续我们会改进这个策略,将CCI指标和前面讲到的MACD和RSI相结合来优化,看看我们优化后的效果会不会更好。 一、量化策略 CCI指标在量化交易中的策略: 在以下情况下生成买入信号&#…

Qt元对象系统

第二章Qt元对象系统 文章目录 第二章Qt元对象系统1.什么是元对象?2.元对象系统组成3.信号与槽信号和槽的本质绑定信号与槽自定义槽定义槽函数必须遵循一下规则槽函数的类型自定义槽案例 自定义信号自定义信号需要遵循以下规则信号和槽重载二义性问题 4.内存管理1. 简…

C++ | Leetcode C++题解之第6题Z字形变换

题目&#xff1a; 题解&#xff1a; class Solution { public:string convert(string s, int numRows) {int n s.length(), r numRows;if (r 1 || r > n) {return s;}string ans;int t r * 2 - 2;for (int i 0; i < r; i) { // 枚举矩阵的行for (int j 0; j i &l…

GDC回顾与MAU前瞻丨Flat Ads开启开发者流量变现新篇章

3月18日-22日,全球游戏行业最具规模、最有影响力的盛会——GDC 2024 在美国旧金山 Moscone Convention Center 成功举办,Flat Ads作为参展商亮相GDC大会,向全球游戏开发者展示我们的最新技术与服务。此次Flat Ads团队不仅洞察了行业最前沿的技术和发展趋势,同时也与诸多一线开发…

GWO-CNN-BiLSTM多输入回归预测|灰狼群算法优化的卷积-双向长短期神经网络|Matlab

目录 一、程序及算法内容介绍&#xff1a; 基本内容&#xff1a; 亮点与优势&#xff1a; 二、实际运行效果&#xff1a; 三、算法介绍&#xff1a; 四、完整程序下载&#xff1a; 一、程序及算法内容介绍&#xff1a; 基本内容&#xff1a; 本代码基于Matlab平台编译&…

电梯四种事故检测YOLOV8

电梯四种事故检测&#xff0c;采用YOLOV8训练得到PT模型&#xff0c;然后转换成ONNX&#xff0c;OPENCV调用&#xff0c;支持C/PYTHON/ANDORID开发 电梯四种事故检测YOLOV8