src/utils/chart/chart-option.js
@@ -22,16 +22,27 @@
    animationDelayUpdate: function (idx) {
      return idx * 5;
    },
    // toolbox: {
    //   bottom: 0,
    //   feature: {
    //     dataZoom: {},
    //     magicType: {
    //       type: ['line', 'bar']
    //     },
    //     restore: {}
    //   }
    // },
    toolbox: {
      // bottom: 0,
      feature: {
        // dataZoom: {},
        // magicType: {
        //   type: ['line', 'bar']
        // },
        // restore: {
        //   title: '刷新'
        // },
        saveAsImage: {
          show: true,
          backgroundColor: '#122b54a9',
          name: '走航监测图',
          title: '保存为图片',
          iconStyle: {
            borderColor: '#fff'
          }
        }
      }
    },
    tooltip: {
      textStyle: {
        fontSize: fontSize