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

Show rectangular region with linear x-axis

4 Answers 37 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Vinod
Top achievements
Rank 1
Vinod asked on 02 Jun 2015, 02:24 PM

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?

4 Answers, 1 is accepted

Sort by
0
Accepted
Anna
Telerik team
answered on 03 Jun 2015, 08:32 AM
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
0
Vinod
Top achievements
Rank 1
answered on 03 Jun 2015, 01:43 PM

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?

0
Accepted
Anna
Telerik team
answered on 05 Jun 2015, 10:49 AM
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
0
Vinod
Top achievements
Rank 1
answered on 05 Jun 2015, 02:26 PM
Thank you! That will work for me.
Tags
ChartView
Asked by
Vinod
Top achievements
Rank 1
Answers by
Anna
Telerik team
Vinod
Top achievements
Rank 1
Share this question
or