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
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
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.
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.
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
Thank you Martin, we will consider RadChartView.