uber/react-vis

LabelSeries with Stacked Vertical Bar Series

Open

#1.037 geöffnet am 13. Nov. 2018

Auf GitHub ansehen
 (4 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)JavaScript (8.615 Stars) (868 Forks)batch import
bughelp wanted

Beschreibung

Hi, I have some issues with labelSeries when using it with a vertical Bar Series (so stackby="y"). The label seem to always go way above the bars like that:

image

I've done a codepen to show my problem. https://codesandbox.io/s/5kx21nk77l

Is there a way to get around the problem or maybe i'm doing this the wrong way (i used this tutorial ) ? I've tried negative values and reverse the labelSeries position in the XYplot but i don't have consistent result ...

Contributor Guide