kendo ui - How to highlight the axis? -


i have many axes in chart.

how highlight axis when hovering on line(axis-value)?

it necessary highlight axis line(axis-value) belongs (when hovering on line(axis-value))

(highlight = make bold or change color)

sorry bad english :)

enter image description here

you use serieshover event:

serieshover: function(e) {     var axis = e.sender.getaxis( e.series.axis);     (var i=0; i<e.sender.options.valueaxis.length; i++){         if (i ==axis._axis.axisindex){             e.sender.options.valueaxis[i].line.width = 3;         } else {             e.sender.options.valueaxis[i].line.width = 1;         }                        }     e.sender.refresh(); } 

from series can theassociated axis, set axis line width , refresh chart.

demo


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -