iOS 内嵌WKWebView渲染图表 legend.scroll无效,一旦设置任何图表都被渲染成空地图echarts 配置项内容和展示

iOS 内嵌WKWebView渲染图表 legend.scroll无效,一旦设置任何图表都被渲染成空地图

配置项如下
      option = {
  "series" : [
    {
      "data" : [
        11,
        0,
        0,
        11,
        11,
        0
      ],
      "type" : "bar",
      "name" : "11",
      "markPoint" : {
        "data" : [
          {
            "name" : "最大值",
            "type" : "max"
          },
          {
            "name" : "最小值",
            "type" : "min"
          }
        ]
      }
    },
    {
      "data" : [
        0,
        25,
        0,
        0,
        0,
        0
      ],
      "type" : "bar",
      "name" : "25",
      "markPoint" : {
        "data" : [
          {
            "name" : "最大值",
            "type" : "max"
          },
          {
            "name" : "最小值",
            "type" : "min"
          }
        ]
      }
    },
    {
      "data" : [
        0,
        0,
        9,
        0,
        0,
        0
      ],
      "type" : "bar",
      "name" : "9",
      "markPoint" : {
        "data" : [
          {
            "name" : "最大值",
            "type" : "max"
          },
          {
            "name" : "最小值",
            "type" : "min"
          }
        ]
      }
    },
    {
      "data" : [
        0,
        0,
        0,
        0,
        0,
        4
      ],
      "type" : "bar",
      "name" : "4",
      "markPoint" : {
        "data" : [
          {
            "name" : "最大值",
            "type" : "max"
          },
          {
            "name" : "最小值",
            "type" : "min"
          }
        ]
      }
    }
  ],
  "legend" : {
    "y" : "bottom",
    "data" : [
      9,
      "11",
      "4",
      "9",
      11,
      "25",
      25,
      4
    ],
    "orient" : "horizontal",
    "show" : true,
    "type" : "scroll",
    "x" : "center"
  },
  "xAxis" : {
    "data" : [
      "从表1的字符串",
      "哈哈哈哈肥肥",
      "宋一伟_从表",
      "测试从表",
      "用于从表实例复制",
      "磊哥"
    ],
    "boundaryGap" : [
      0,
      0.01
    ],
    "type" : "category",
    "name" : "sub_字符串"
  },
  "animation" : true,
  "title" : {
    "show" : true,
    "text" : "",
    "x" : "left"
  },
  "grid" : {
    "botton" : "3%",
    "zlevel" : 0,
    "containLabel" : true,
    "show" : false,
    "z" : 0,
    "borderWidth" : 1,
    "left" : "3%",
    "right" : "4%"
  },
  "tooltip" : {
    "show" : true
  },
  "yAxis" : {
    "type" : "value",
    "name" : "sub_数字"
  }
};
    
截图如下