There is something missing in my understanding so maybe someone knows the answer.
I am trying to add a box in the middle underneath the chart.
I thought that the total width (1000) minus 500 = 500 would mean that the box’s X position is in the middle, but it’s not. (see JS line 159 onwards)
Any idea why?