Kendo ui 剑道条形图自定义工具提示

Kendo ui 剑道条形图自定义工具提示,kendo-ui,kendo-tooltip,Kendo Ui,Kendo Tooltip,是否可以使用数据源中的自定义工具提示文本 我有这样一个数据源模式: schema: { data: "d", model: { fields: { text: { type: "string" }, value: { type: "number" },

是否可以使用数据源中的自定义工具提示文本

我有这样一个数据源模式:

           schema: {
                data: "d",
                model: {
                    fields: {
                        text: { type: "string" },
                        value: { type: "number" },
                        desc: { type: "string " }
                    }
                }
            }
我想使用文本作为基本栏值,使用desc作为工具提示,因此我有以下配置:

            series: [{
                field: "value",
                categoryField: "desc"
            }],
            categoryAxis: [{
                field: "text"
            }]
            tooltip: {
                visible: true,
                template: "#= category # : #= value # minutes"
            }
在工具提示配置中:

            series: [{
                field: "value",
                categoryField: "desc"
            }],
            categoryAxis: [{
                field: "text"
            }]
            tooltip: {
                visible: true,
                template: "#= category # : #= value # minutes"
            }

此配置似乎不起作用。是否有任何方法可以仅将
desc
字段用于工具提示?

仅使用剑道模板中的dataItem对象:

tooltip: {
    visible: true,
    template: "#= dataItem.desc # minutes"
}

这里是dojo示例:。

这背后的原因是我需要显示轴值的ID(因为带有旋转的长描述在剑道条形图上不太有效),并使用desc text在工具提示上显示该ID的描述。