是否可以在高图表图例中插入一个中断? [英] Is it possible to insert a break in the high charts legend?

查看:127
本文介绍了是否可以在高图表图例中插入一个中断?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

随着时间的推移,我在HighCharts传奇中获得了相当多的元素。我想以简单的方式对它们进行排序,例如插入一个中断来排列元素。



我该怎么做?

提前致谢!

解决方案增加 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆