Closed sixinli closed 6 years ago
In order to make room for the text above the label, you'll need to modify the y scale.
Try yscale.padProportion(0.2)
which will add more padding above the stacked bars.
and try yscale.snappingDomainEnabled(false)
which will prevent the domain from snapping to a "nice" value
We're not going to install a fix for this other than manually setting these values
Bug report
Live example URL: http://jsfiddle.net/2bzs9eoq/
Expected behavior
label
23
to show up in fullActual behavior
label `23 gets cut off
Possible Solution
Context
only happen when the chart is small - if change size to 600*400 this is fine
Environment