eCharts bar柱状图单边圆弧

属性:borderRadius: [0, 15, 15, 0],

 {
          name: '值',
          type: 'bar',
          zlevel: null,
          stack: '1',
          itemStyle: {
            borderRadius: [0, 15, 15, 0],
            color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
              offset: 0,
              color: '#23FFE2',
            }, {
              offset: 1,
              color: '#0F86EB',
            }]),
          },
          barWidth: fontSize(20),
          data: [],
        },
效果
image.png

你可能感兴趣的:(eCharts bar柱状图单边圆弧)