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时,图表异常