ECharts 设置背景图片

实现的思路:

  1. 设置 echarts 实例的背景为透明;
  2. 外层容器设置背景图片。
chartOptions = {
    backgroundColor: 'transparent'
}
.chart-wrap {
    background-image: url('图片');
}
posted @ 2020-03-20 14:28  月半流云  阅读(11899)  评论(0编辑  收藏  举报