Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Set bar width for stacked bar charts

How to set the bar width for stacked bar charts to some value.
With bar width I imply the amount of the x-axis it takes to show the graph.

Have you tried https://plot.ly/javascript/reference/#bar-width ?

Interestingly if I use the package from npm in angular for plotly, it does not offer width feature. However, with cdn it does. Can you tell the reason why?

which npm package? There’s a few angular wrappers in the wild.

That makes sense. But, is there a way with angular and plotly we can make isolated web applications. By that I mean including plotly in angular in some other way than other than cdn.