Hello there,
When creating a horizontal bar chart, the actual bar is not as wide as the containing element.
As you can see in the screenshot, the controls for plotly are actually going up to the right border of the surrounding box, but the actual bar isn’t. The margin on the left of the bar is correct. Can I fix this somehow?
For reference, this is my layout object:
layout: {
showlegend: false,
font: {
family: "Nunito",
size: 16
},
barmode: "stack",
xaxis: {
zeroline: false,
showgrid: false,
showticklabels: false
},
yaxis: {
showticklabels: false
},
margin: {
l: 0,
r: 0,
b: 0,
t: 0
},
height: 80,
}
Thanks a lot in advance
Anabta