Do Kendo UI Charts support Smart Labels like Telerik UI Charts do?

落爺英雄遲暮 提交于 2019-12-11 01:38:04

问题


"Smart Labels" are labels that do not overlap each other.

They are mentioned in the docs: http://docs.telerik.com/devtools/wpf/controls/radchartview/features/labels/smart-labels

My question is about "Smart Labels", which is a Telerik UI feature we decided to use. I need to mirror Telerik UI Charts functionality using Kendo UI Charts and thus "Smart Labels" is a requirement.


回答1:


Unfortunately, there is no such feature in Kendo UI Charts. You can find a thread relating to this in the Telerik forums.

Basically what the Telerik representative says is that the feature isn't available and suggests several other solutions:

  • Use categoryAxis.labels.step / categoryAxis.labels.skip options and display only some of the labels
  • Use a categoryAxis.labels.template and trim the labels to a specific length

Another user preferred making the labels invisible altogether.



来源:https://stackoverflow.com/questions/42107679/do-kendo-ui-charts-support-smart-labels-like-telerik-ui-charts-do

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