Show rectangular region with linear x-axis

5 posts, 2 answers
  1. Vinod
    Vinod avatar
    23 posts
    Member since:
    Nov 2011

    Posted 02 Jun 2015 Link to this post

    Hello,

    I need to achieve the following effect with RadChartView: both horizontal and vertical axis are numeric, I need to plot multiple rectangular regions on this Cartesian plane. See attached figure for an example.

    Is there a way to achieve this with RadChartView? I know that none of the series by default do this. Is it possible to write my own custom series?

  2. Answer
    Anna
    Admin
    Anna avatar
    99 posts

    Posted 03 Jun 2015 Link to this post

    Hi,

    Thank you for your question and for sending us the illustration.

    It seems that the feature which is best suited for your scenario is the MarkedZone annotation. You can read a bit more about them in our help documentation.

    Please, let us know if you encounter any issues along the way or if you have further questions.

    Regards,
    Anna
    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. UI for WPF is Visual Studio 2017 Ready
  4. Vinod
    Vinod avatar
    23 posts
    Member since:
    Nov 2011

    Posted 03 Jun 2015 in reply to Anna Link to this post

    Thank you for your response.

    Yes, a MarkedZone annotation will work. Two questions:

    1. Is there a way to use data binding with annotations?

    2. When using annotations, regular chart series appear 'behind' the annotation. Setting ZIndex doesn't seem to solve the problem. How can I make the annotations appear under regular chart series?

  5. Answer
    Anna
    Admin
    Anna avatar
    99 posts

    Posted 05 Jun 2015 Link to this post

    Hi,

    Unfortunately binding a collection of annotations is not possible at this point, but you can try the approach described in this thread. As mentioned there, we have an item in our Feedback and Ideas portal about this feature and you can upvote it and subscribe to it in order to receive any updates on the matter.

    Regarding your second question, it is possible to place the annotations behind the chart series through the z-index, but the z-index of the annotation needs to be significantly smaller. If you set it to "-200" for example, you should be able to achieve the desired result.

    Regards,
    Anna
    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
  6. Vinod
    Vinod avatar
    23 posts
    Member since:
    Nov 2011

    Posted 05 Jun 2015 in reply to Anna Link to this post

    Thank you! That will work for me.
Back to Top
UI for WPF is Visual Studio 2017 Ready