对数轴示例echarts 配置项内容和展示

yAxis type=log Data 中数据为0时,图表异常, 当图表叠加时,图表会超出范围!

配置项如下
      option = {
   title: {
       text: "对数轴示例",
       x: "center"
   },
   xAxis:{
           type: "category",
           name: "x",
           data: ["一", "二", "三", "四", "五", "六", "七"]
       },
   yAxis:{
           type: "log",
       },

   series: [
       {
           name: "2的指数",
           type: "bar",
           data: [100, 80, 0, 240, 4800, 5600, 12800]
       }
   ]
};
        

//yAxis  type=log

//Data 中数据为0时,图表异常
    
截图如下