Opposite y-axis ignored in a horizontal bar chart
See original GitHub issueCodepen
https://codepen.io/anon/pen/OqRXGB?editors=0010
Explanation
Want to render categories on the right side, they are currently on the left side (S Korea, Canada…)
- What is the behavior you expect?
Setting
yaxis: { opposite:true }
would render the categories on the right side. - What is happening instead? It rendered on the left side
- What error message are you getting? None, but it only happens when:
bar: {
horizontal: true
},
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
yAxis.opposite | highcharts API Reference
The left position as the horizontal axis. If it's a number, it is interpreted as pixel position relative to the chart. Since Highcharts...
Read more >Chart.js - Draw charts with opposite bars - How to set both the ...
Chart.js - Draw charts with opposite bars - How to set both the y-axis ends to positive number? Ask Question.
Read more >Bar and horizontal bar reports
This field appears only when Custom chart title position is selected. Axis. Y axis and X axis, Axis to configure the titles, appearance,...
Read more >How to Sort Your Bar Charts - Depict Data Studio
You can format the horizontal axis. In the Format Axis dialog box, under “Labels” set that to “High”. That should drop the x-axis...
Read more >Options (Reference) > yaxis - ApexCharts.js
reversed: Boolean. Flip the chart upside down making it inversed and draw the y-axis from bigger to smaller numbers. logarithmic: Boolean.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I just tried drawing the bars opposite way and it was really easy to tweak with some additional code 😃
I will test some more, draw the y-axis to the opposite too and will release the feature soon.
Awesome, will take a look at it!