You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrapping label text is done through using arrays, so this is correct. Unfortunately this is an issue with Vega as a Map() is used to calculate the position of the bars. Since an array is used as a key, getting the value of the key only works if the same reference is provided. I’ve tried converting the array to strings first but that introduces other problems I don’t know how to deal with yet.
Im leaving this comment as a pointer if anyone else takes a look. Issue starts here Encode.js (Line 47) after count = 150 here run.js (Line 71).
Bug Description
I want to create a stacked bar chart, but my axis labels are long so ideally I'd like to wrap the text.
Here is the desired output without wrapping vega editor link.
Now if I wrap the 'variable' text over multiple lines using a collection, the stacked bars break as in this example vega editor link:
Is there any way I can work around this? I'd really like to be able to wrap the label text.
Checklist
The text was updated successfully, but these errors were encountered: