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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:





129091 Feb 26,2017 09:51 AM Feb 27,2017 10:42 PM WPF 3
Tags: SfChart
Asked On February 26, 2017 09:51 AM

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

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On February 27, 2017 04:49 AM

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, 

Replied On February 27, 2017 05:37 AM

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

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On February 27, 2017 10:42 PM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.