Skip to content

boundaryGap

boundaryGap

js
 xAxis: {
    type: "category",
    data: ["06-01", "06-07", "06-13", "06-19", "06-25", "07-01"],
    boundaryGap: true, // Add
    axisLabel: {
      interval: 0
    },
    axisLine: {
      lineStyle: {
        color: "#000"
      }
    }
  },