Line break in category label of kendo-ui chart

后端 未结 2 1854
陌清茗
陌清茗 2021-01-04 11:19

I have a chart where the labels contain two parts, a name an a number. I want the number to appear below the name, illustrated by the
tag:

<

2条回答
  •  醉酒成梦
    2021-01-04 12:04

    Finally implemented by Telerik

    See http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-categoryAxis.title.text

    The text can be split into multiple lines by using line feed characters ("\n").

    Happens to text, titles, labels, notes anywere!

提交回复
热议问题