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

Multiple data source operations with only a single redraw

1 Answer 63 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 27 May 2015, 09:17 PM

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?

 

Thanks,

Boris

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 29 May 2015, 03:21 PM

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.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Boris
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or