Highcharts Pie Chart.How to set labels in two lines

╄→гoц情女王★ 提交于 2019-12-04 01:22:06

You can simply set width for dataLabels, see: http://jsfiddle.net/Fusher/fSjnD/1/

style: {
    width: '100px'
}

You can simply insert
in the data labels:

 data: [
      ['Firefox jandler glander <br><b>gramenauer gramen</b>',   45.0],

Note, for some reason, the second line loses the bold formatting unless you addit back in using tags.

http://jsfiddle.net/ZMLSW/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!