Makro zur Prüfung" because it gets cut off in the end. If you don't use datalabels.nodeFormat the text will be wrapped inside the label automatically. Is there any solution for this?

问题描述 投票:0回答:1

According to this question show highcharts node text from beginning if the text is to long it is possible to use dataLabels.nodeFormat to display only the name which is correct. But the text stands ...

I think that using this CSS config is a solution to your issue:

Demo:
highcharts
1个回答
0
投票

根据这个问题

.highcharts-data-labels span {
  word-break: break-word !important;
  white-space: normal !important;
}

如果文字太长,则从头开始显示高图节点文字。可以使用dataLabels.nodeFormat只显示正确的名称。但是文本都是一行,你不能阅读整个文本 "Merkmale /jsfiddle.netBlackLabel36y52qcf"。

© www.soinside.com 2019 - 2024. All rights reserved.