Multiple data source operations with only a single redraw

2 posts, 0 answers
  1. Boris
    Boris avatar
    1 posts
    Member since:
    Nov 2013

    Posted 27 May 2015 Link to this post

    Hello. I have a line chart created via the MVC extender. I have various controls on the page to display data for a given year-long interval. This is done by using the filter() method on the chart's data source object. There are also multiple sources of data that can be selected by the user. These are implemented by calling the read() method. Now not all sources have data for the same time periods, so rather than leave the user staring at an empty chart I want to reset the date range when the data source read is called. Unfortunately calling both read() and filter() redraws the chart. Is there any way to prevent that?




  2. T. Tsonev
    T. Tsonev avatar
    2817 posts

    Posted 29 May 2015 Link to this post

    Hello Boris,

    The chart doesn't provide much control over the response to binding operations apart from the autoBind property.

    A cancellable dataBinding event would be ideal in this case, but this is not available right now. Please, file a request for this feature on our UserVoice portal if you have minute. This will help us gauge the overall interest and prioritize.

    Apologies for the caused inconvenience.

    T. Tsonev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top