如何让echarts 提示框浮层的背景颜色设为渐变色

如何让echarts 提示框浮层的背景颜色设为渐变色

 tooltip: {
     trigger: 'axis',
    textStyle: {
      color: "rgba(174, 34, 34, 1)"
    }
backgroundColor: "rgba(174, 34, 34, 1)"
//所需渐变色:background: linear-gradient(270deg, #19263B 0%, #0F244D 100%);

我这样设置后—— backgroundColor:'linear-gradient(270deg, #1D4A63 0%, #0F244D 100%)',背景颜色不显示了