I would like to thank @kikon for the answer
box1: { type: "box", drawTime: "beforeDraw", yMin: 22, yMax: 40, backgroundColor: "rgba(255, 229, 153, 1)", borderColor: "rgba(100, 100, 100, 0.2)", },