重叠数据标签线图高图 [英] Overlap datalabels line chart highcharts

查看:119
本文介绍了重叠数据标签线图高图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何解决下面的值(dataLabels)问题?

How i can solve the problem of the values (dataLabels) ​​below?

我的JSFiddle: http://jsfiddle.net/3kVJS/3/

My JSFiddle: http://jsfiddle.net/3kVJS/3/

 ...
     series: [{
         name: 'zzzzzz',
         data: [17.00, 1.00, 5.00, 0.00, 0.00, 35.00, 6.00, 13.00, 233.00, 2.00, 41.00],
         tooltip: {
             shared: true,
             useHTML: true,
             showInLegend: false,
             pointFormat: '<span style=\"color:{series.color}; text-shadow: 0 1px 1px #ddd;\">{series.name}</span>: <span style=\"font-size:14px!important\"> {point.y}</span><br/>'
         }
     }

谢谢!!!

推荐答案

只需在工具提示中添加此内容,您就可以了解该怎么做。

Just add this inside tooltips you will get it what to do.

工具提示:{
style:{
padding:20,
fontWeight:'bold',
fontSize:'30px' ,
}
},

tooltip: { style: { padding: 20, fontWeight: 'bold', fontSize: '30px', } },

这篇关于重叠数据标签线图高图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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