✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

How to make the lines wider than the bars?

Hi friends! I want to draw some lines inside a Bar Chart, but my lines have to go from the start to the end of the chart, line this image:

But, if I just add the lines, they start at the center of the first bar and end at the center of the last bar, like this:

Is there an option to do it like the first image? Thanks!

Try this: https://codepen.io/etpinard/pen/yQzmba

That’s perfect, thanks!