Zooming No Data

6 posts, 1 answers
  1. herme
    herme avatar
    6 posts
    Member since:
    Apr 2015

    Posted 17 Sep 2015 Link to this post

    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,

  2. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 22 Sep 2015 Link to this post

    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
  3. DevCraft banner
  4. herme
    herme avatar
    6 posts
    Member since:
    Apr 2015

    Posted 28 Sep 2015 Link to this post

    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.

  5. herme
    herme avatar
    6 posts
    Member since:
    Apr 2015

    Posted 28 Sep 2015 Link to this post

    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.

  6. Answer
    Martin
    Admin
    Martin avatar
    1099 posts

    Posted 30 Sep 2015 Link to this post

    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
  7. herme
    herme avatar
    6 posts
    Member since:
    Apr 2015

    Posted 30 Sep 2015 Link to this post

    Thank you Martin, we will consider RadChartView.

Back to Top
DevCraft banner