Home › forums › Chart Support › Reverse Y Axis Numerical Value in a Bar Chart
I there anyway to reverse a bar chart so the highest number is at the bottom of the y axis and the lowest at the top. Effectively the chart is based on rank so if you’re rank is 1 the bar would be at maximum height and if your rank is 6million out of 6 million your bar would barely be visible.
I’ve asked a similar question here https://stackoverflow.com/questions/64825092/apex-chart-reverse-bar-chart-so-0-is-the-highest-value but I’m just showing you the link so you can see the chart I’m trying to replicate.
yes, I just had to do this myself, well, mine was for the X but I think it would be the same. on the Y axis add :
this should work.
When axisY is reversed, columns are rendered from top to bottom.You can use multiple axisY to achieve your requirement share above as shown in this JSFiddle.
You must be logged in to reply to this topic.