-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
point annotations where xaxis labels are an array #2012
Closed
elliotashton opened this issue
Nov 1, 2020
· 2 comments
· Fixed by TanDuy03/ntanduy-cloud#202 · 4 remaining pull requests
Closed
point annotations where xaxis labels are an array #2012
elliotashton opened this issue
Nov 1, 2020
· 2 comments
· Fixed by TanDuy03/ntanduy-cloud#202 · 4 remaining pull requests
Labels
bug
Something isn't working
Comments
I guess, this is a bug but I need a Codepen to confirm. Can you please create a Codepen example? |
I've created a pen here. Note that the xaxis hasn't rotated even though the attribute is set. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
I'm 100% sure if this is a bug (or a lack of capability on my part) but I am unable to add an annotation to a stack bar chart where the xaxis categories are an array for each category (used to create line feeds for long labels). I've confirmed that I am able to do this with a single string value for each category.
this is what I get for a string
this is what I get for an array
Note that the annotation no longer appears. It seems that the x value needs to be a string to match. I've tried to pass an array matching the category array but not achieved a match. This is the array that describes the xaxis categories:
Explanation
The text was updated successfully, but these errors were encountered: