Hello,
I'm trying to show difference between columns on Kendo chart. I made a js function and I have found solution for Kendo UI, I'm trying to rewrite it to Kendo MVC but some issue - with calling js method - occured and don't have idea how can I resolve it.
Part of the code:
.Series(series => series.Column(column => column.NewUsers)
.Name("New users")
.Color("#007DC5")
//.Visual("testFunc")) <- it's working
.Notes(n => n.Visual("testFunc"))) <- it doesn't
so for now the commented line is working, but I've got my values instead of columns. I think the last line should work, because if I understood it well Notes means additional info (and it won't replace with columns), but it doesn't even enter to my method.
My function in js is:
function testFunc(e) { (...) }
I tried to do it with something like:
.Notes(n => n.Visual("testFunc()"))
.Notes(n => n.Visual("testFunc(this)"))
but in first case 'e' is undefined and in the second case this parameter is not the same as parameter in line which is working (//Visual("testFunc")), so I can't get my data to handle logic.