We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can I create a rectangle of acceptable values on the chart?

I try to create the rectangle of the possible values on the chart itself. 
The rectangle of the acceptable ranges should look like on the attached file.
I think that I could use RangeAreaSeries, but I cannot find examples for it.
Please your help! :)

Attachment: range_b6aad8e8.zip

3 Replies

DA Devi Aruna Maharasi Murugan Syncfusion Team February 27, 2017 09:49 AM UTC

Hi Michael, 
Thanks for contacting Syncfuion Support. 
We can achieve your requirement by using RectangleAnnotation of SfChart. The RectangleAnnotation of SfChart can be set as shown in the below code snippet, 
   <chart:RectangleAnnotation X1="2.5" X2="3.5" Y1="20" Y2="30" 
                              CanDrag="True" CanResize="True"/> 
We have prepared a demo sample based on your requirement and it can be downloaded from below link, 
Please refer our UG documentation link to know more about Annotation, 

MI Michael February 27, 2017 10:37 AM UTC

Thank you very much!!
It's exactly what I need!!

DA Devi Aruna Maharasi Murugan Syncfusion Team February 28, 2017 03:42 AM UTC

Hi Michael, 
Thanks for your update. 
Please let us know, if you need any further assistance on this. 

Live Chat Icon For mobile
Up arrow icon