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

3 posts, 0 answers
  1. Andreas
    Andreas avatar
    19 posts
    Member since:
    Oct 2010

    Posted 18 Jun 2013 Link to this post

    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. Andreas
    Andreas avatar
    19 posts
    Member since:
    Oct 2010

    Posted 18 Jun 2013 Link to this post

    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.
  3. Andreas
    Andreas avatar
    19 posts
    Member since:
    Oct 2010

    Posted 19 Jun 2013 Link to this post

    This seems to solve it (not the best solution though)

    seriesHover: function(e) {
                e.notThere.preventDefault();
            }
Back to Top