Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我想在剑道图表栏javascript上显示图标_Javascript_Angularjs_Kendo Ui - Fatal编程技术网

我想在剑道图表栏javascript上显示图标

我想在剑道图表栏javascript上显示图标,javascript,angularjs,kendo-ui,Javascript,Angularjs,Kendo Ui,我在javascript中使用剑道图,我想在每个栏上显示图标,下面是我想用剑道图实现的图表。下面是我在剑道中使用的代码 下面是剑道图的javascript代码 $("#chart").kendoChart({ title: { // text: "Comparison of Drying Methods", }, lege

我在javascript中使用剑道图,我想在每个栏上显示图标,下面是我想用剑道图实现的图表。下面是我在剑道中使用的代码

下面是剑道图的javascript代码

$("#chart").kendoChart({
                     title: {
                        // text: "Comparison of Drying Methods",
                     },
                     legend: {
                         position: "bottom",
                         item: {
                             visual: createLegendItem
                         }
                     },
                     seriesDefaults: {
                         type: "column",
                         stack: true,
                         highlight: {
                             toggle: function (e) {
                                 // Don't create a highlight overlay,
                                 // we'll modify the existing visual instead
                                 e.preventDefault();

                                 var visual = e.visual;
                                 var opacity = e.show ? 0.8 : 1;

                                 visual.opacity(opacity);
                             }
                         },
                         visual: function (e) {
                             return createColumn(e.rect, "#0099CC")// e.options.color);
                         }
                     },
                     series: [{
                         data: [Math.round(data.noTreatmentLA * 10) / 10, Math.round(data.afterCoolerLA * 10) / 10, Math.round(data.refrigerantLA * 10) / 10, Math.round(data.membranceLA * 10) / 10, Math.round(data.desiccantLA * 10) / 10] 
                     }],
                     panes: [{
                         clip: false
                     }],
                     valueAxis: [
                        {
                            title: { text: "Water Content" }
                        }
                     ],
                     categoryAxis: {
                         categories: ["Treatment", "Cooler", "Refri", "Membra", "Disi"],
                         majorGridLines: {
                             visible: false
                         },
                         line: {
                             visible: false
                         }

                     }, 
                     tooltip: {
                         visible: true
                     },
                     seriesDefaults: {
                         labels: {
                             visible: true,
                             template:'water'
                         }
                     },
                     seriesClick: onSeriesClick
                 }); 

你在剑道ui的图表api中找到什么了吗?你的形象真的不是你想要表达的东西的理想模型。试着找一个更好的例子。如果没有更多的细节,你很难确切地知道你想要什么。查看系列笔记:或使用视觉功能绘制所需内容,例如: