问题描述
智能标签"是彼此不重叠的标签.
"Smart Labels" are labels that do not overlap each other.
它们在文档中被提及: http: //docs.telerik.com/devtools/wpf/controls/radchartview/features/labels/smart-labels
They are mentioned in the docs: http://docs.telerik.com/devtools/wpf/controls/radchartview/features/labels/smart-labels
我的问题是关于智能标签"的,这是我们决定使用的Telerik UI功能.我需要使用Kendo UI Charts镜像Telerik UI Charts功能,因此智能标签"是必需的.
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.
推荐答案
不幸的是,Kendo UI Charts中没有这样的功能.您可以找到在Telerik论坛中与此相关的主题.
Unfortunately, there is no such feature in Kendo UI Charts. You can find a thread relating to this in the Telerik forums.
Telerik代表说的基本上是该功能不可用,并提出了其他几种解决方案:
Basically what the Telerik representative says is that the feature isn't available and suggests several other solutions:
- 使用
categoryAxis.labels.step
/categoryAxis.labels.skip
选项并仅显示一些标签 - 使用
categoryAxis.labels.template
并将标签修整为特定长度
- 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.
这篇关于Kendo UI Charts是否像Telerik UI Charts一样支持智能标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!