Skip to content

Stacked Bar X-Axis (vertical) Annotation Line not working #514

Answered by stockiNail
Jacyle asked this question in Q&A
Discussion options

You must be logged in to vote

@Jacyle use value: 22 instead of value: 49.

https://codepen.io/stockinail/pen/KKXwoMb

The access to the scale value by number uses the value passed as the index in the scale.
In this case, the labels as numbers but using the value as number, is looking for 50th value in the scale and not the numeric value 50.

I don't know if you can transform the labels from numbers to strings. in this case, you should be able to use the value: '49'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jacyle
Comment options

Answer selected by Jacyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #513 on December 01, 2021 13:51.