Echarts:自定义柱状图(两组数据+颜色渐变)
摘要:环境:Vue3+JS+Vite+scss 示例: 一: 图形绘制 可根据需求在左侧面、右侧面、顶面的三个函数中设置各个面的四角位置 // 绘制左侧面 const CubeLeft = echarts.graphic.extendShape({ shape: { x: 0, y: 0, }, buil
阅读全文
posted @
2022-12-30 11:36
香香鲲
阅读(4170)
推荐(0)
ECharts:学习可视化
摘要:折线图: <script src="../echarts.min.js"></script> <script> var box = document.querySelector('#dig') var echarts = echarts.init(box) var option = { title:
阅读全文
posted @
2022-07-27 13:34
香香鲲
阅读(45)
推荐(0)