How to add padding on the left and right sides of the line/area chart?
Here’s how my chart looks like:
and this is how it should look like (the padding/margin part):
You’ll need to set layout.xaxis.range to achieve this
layout.xaxis.range