简体   繁体   English

Highcharts数据标签被切断

[英]Highcharts data label getting cut off

I'm having a small problem with Highcharts, I've got everything looking how I want it to but I can't find how to force the datalables to stay within the confines of the parent div. 我对Highcharts有一个小问题,我已经看到了我想要它的一切,但我找不到如何强制数据块保持在父div的范围内。

I've attached a basic example, as you can see the data labels are cut off, any help in this matter would be greatly appreciated! 我附上了一个基本的例子,因为你可以看到数据标签被切断,任何帮助都会非常感谢!

http://jsfiddle.net/FCHhS/3/ http://jsfiddle.net/FCHhS/3/

You can pull in or push out the labels by controlling the distance of the dataLabels . 您可以通过控制dataLabels距离来拉入或推出标签。 In the following example I set the distance to -1 which pulls the labels in. 在下面的示例中,我将距离设置为-1,从而拉入标签。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM