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

Chart Legend Labels - disable clickable

3 Answers 262 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Alexandru
Top achievements
Rank 1
Alexandru asked on 10 Jun 2013, 08:12 AM
Hi!
I'm developing a Kendo Mobile App for which I'm using Charts and Grids contained in a ScrollView Widget. The problem is when I swype, the labels from the pie chart legend interfere because they are clickable. Is there a way to disable this functionality. Disabling the legend is not an option... The API reference doesn't mention anything about this. Please help.

3 Answers, 1 is accepted

Sort by
0
Alexandru
Top achievements
Rank 1
answered on 10 Jun 2013, 09:29 AM
"Make legendItemClick cancellable"
It seems it has been added in the internal builds, so I downloaded the latest one. But can't figure it out how to disable.
0
Alexandru
Top achievements
Rank 1
answered on 10 Jun 2013, 09:54 AM
return false; won't do it
0
Accepted
Alexandru
Top achievements
Rank 1
answered on 10 Jun 2013, 11:32 AM
it was simple as e.preventDefault(); 

Tags
Charts
Asked by
Alexandru
Top achievements
Rank 1
Answers by
Alexandru
Top achievements
Rank 1
Share this question
or