This is a migrated thread and some comments may be shown as answers.

Programmatically get/change Note in Chart

1 Answer 103 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Luke
Top achievements
Rank 1
Luke asked on 07 Dec 2016, 11:54 PM

In this example, I can successfully change the properties/style of a Note on Chart on noteClick... http://dojo.telerik.com/@pagemedias/oVuWI

What I need to do is 'trigger' this from outside the Chart.

Example: I am outputting the same list of Notes that appear on the chart under the chart and when user clicks/hovers over note under chart I want to change colour/style of same Note in chart (see attached).

I have been able to highlight note under chart (has css class of 'key-A') when click on note in chart (get noteText which = 'A' and add a new styling class to 'key-A' under chart). But I also want to achieve the same thing, just the other way around (click note under chart and highlight note in chart).

How do I access e.visual of a particular note in chart?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 09 Dec 2016, 10:10 AM
Hello Luke,

Currently there isn't a public API to retrieve the notes but you can store the visuals in the visual function - example.

Regards,
Daniel
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Tags
Charts
Asked by
Luke
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or