是否可以在高图表图例中插入一个中断? [英] Is it possible to insert a break in the high charts legend?
本文介绍了是否可以在高图表图例中插入一个中断?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我该怎么做?
提前致谢!
解决方案增加
itemWidth
和 itemMarginTop
应该能够平均分配图例。 API参考:
http://api.highcharts.com/highcharts/legend .itemWidth
http://api.highcharts.com /highcharts/legend.itemMarginTop
示例:
http://jsfiddle.net/015fzv3a/
Over time i have gotten quite alot of elements in my HighCharts legend. I would like to sort them in a simple way, like insert a break to arrange the elements.
How can i do this?
Thanks in advance!
解决方案
Increasing itemWidth
and itemMarginTop
should do the trick and divide legend items evenly.
API Reference:
http://api.highcharts.com/highcharts/legend.itemWidth
http://api.highcharts.com/highcharts/legend.itemMarginTop
Example:
http://jsfiddle.net/015fzv3a/
这篇关于是否可以在高图表图例中插入一个中断?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文