echarts
小瓶子
前端小菜菜
展开
-
echarts 实现legend添加icon
实现的最终效果高中低是icon图,后面的数字是根据接口动态变化,可切换图例查看不同图例的数据。原创 2022-08-12 16:58:06 · 2825 阅读 · 0 评论 -
echarts tooltip自定义添加背景图+动态渲染
实现的最终效果,echarts版本使用的是5.3.1主要用的是 extraCssText属性添加的背景图片 tooltip: { trigger: 'axis', axisPointer: { type: 'line', crossStyle: { color: '#999' } }, formatter: function (params) { let result原创 2022-03-22 16:47:19 · 5643 阅读 · 0 评论