Instead of showing the legend on the bottom under my chart, I want to show it to the left of the y axis, rotated 90 degrees. How do I do that?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
You can set a custom legend:
Use this property in CSS to rotate the legend:
Please check the following example:
Be sure to deactivate Highcharts' legend in CSS:(otherwise, you will get two legends)