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

Chart in a Mobile App - touch on bar or pie disables scroll on view and hangs the app

2 Answers 116 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 18 Jun 2013, 08:12 AM
Hi!

We are developing an app using kendoMobileDataviz version 2013.1.319 and jQuery 1.9.1. We have a view with a kendoChart and it is showing a bar chart, and the user can select from a drop down to have the data presented as a pie chart as well.

The problem is that when the user touches any of the bars or the pie, the App sort of hangs. Is there any way to disable the click events for the whole chart? The events we find in the documentation are 'plotAreaClick' and 'seriesClick', we have tried using e.preventDefault() on both the events but that doesnt help.

- Any idea on why touching the chart hangs the app?
- How do we disable touch events on the whole chart?


Thanks!

2 Answers, 1 is accepted

Sort by
0
Andreas
Top achievements
Rank 1
answered on 18 Jun 2013, 02:16 PM
See test project, where we use column, like this view: data-role="view" id="tabstrip-test"

If you click the columns several times, the app hangs (cant scroll). This only seems to happen on iOS.
0
Andreas
Top achievements
Rank 1
answered on 19 Jun 2013, 08:18 AM
This seems to solve it (not the best solution though)

seriesHover: function(e) {
            e.notThere.preventDefault();
        }
Tags
Charts
Asked by
Andreas
Top achievements
Rank 1
Answers by
Andreas
Top achievements
Rank 1
Share this question
or