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

Zooming No Data

5 Answers 50 Views
Chart
This is a migrated thread and some comments may be shown as answers.
herme
Top achievements
Rank 1
herme asked on 17 Sep 2015, 01:23 PM

Hello,

If we zoom to an area where there is no data point, the entire chart is removed and replaced with the no data control.

Is there a way to change that behavior, so that no data will never be shown if originally(zoom=1.0) we had some data?

Thank you,

5 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 22 Sep 2015, 09:14 AM
Hi herme,

I afraid that without a runnable code that reproduces the reported behavior I cannot be sure what is causing it. However, keep in mind that the zooming and scrolling feature of RadChart works only in data bound scenario.

Also, note that RadChart is our old charting component which has many known issues and limitations. This is why we decided to create the new RadChartView suite that has better implementation and improved performance. Furthermore, the new charts are very flexible and easier to set up. You can read about the differences between the charting components in the RadChart vs RadChartView help article. If you do not have many charts in your application that you should replace I recommend you to try RadChartView, instead of RadChart. The visualization demonstrated in the attached picture from your last reply can be achieved with a BubbleSeries and GridLineAnnotation.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
herme
Top achievements
Rank 1
answered on 28 Sep 2015, 04:22 PM

Hi,

So someone in the team figured out the issue: when an x-value is set to null the issue occurs. We replaced all nulls with 0 and that seems to prevent it from happening.

Thank you for you help.

0
herme
Top achievements
Rank 1
answered on 28 Sep 2015, 04:38 PM

Hi,

I would like to withdraw my last post. Actually it still does not work. I am attaching a sample code, with the data that triggers the behavior. When we zoom the middle part(where there is no data) it says no data to show. Which is okay, except that we cannot zoom-out anymore since the chart is collapsed.

Thanks

PS: This is a SL5 app created with VS2013. The library file version used was 2012.1.326.1050. The file is a zip file, renamed to accommodate the limitation of the attach files functionality.

0
Accepted
Martin Ivanov
Telerik team
answered on 30 Sep 2015, 11:41 AM
Hello,

Thank you for the project. We are aware for the experienced issue but I am afraid that currently we cannot provide you with a workaround for this. This is why we suggest you to use the RadChartView suite instead of RadChart. Please give it a try and let me know if it works for you.

Also, if it is possible for you, we recommend you to upgrade to the latest version so that you can take advantage of the newest bug fixes, features and controls.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
herme
Top achievements
Rank 1
answered on 30 Sep 2015, 07:29 PM

Thank you Martin, we will consider RadChartView.

Tags
Chart
Asked by
herme
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
herme
Top achievements
Rank 1
Share this question
or