Is there a way to sort Axis-Y values (Axis Left) as descending at Nivo/Bump? #1922
Unanswered
baris-finixio
asked this question in
Q&A
Replies: 1 comment
-
A workaround to reverse the order y axis is to multiply values of y-axis by -1, then add a formatter to y axis so appears positive in the chart itself.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
Currently, at the Bump chart, values order as ascending, so the small (number) values are placed higher than bigger values.
Here is an example from Nivo's storybook: https://nivo.rocks/storybook/?path=/story/bump--default
As you can see in the example, on the left axis, the values start from "1" at the top.
Unfortunately, I couldn't find a way the re-order it. I need higher values on the top, very similar to an ordinary line chart. If I have to example my question over the given example above, I need "6" at the very top.
Thank you so much in advance.
Beta Was this translation helpful? Give feedback.
All reactions