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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

129091 Feb 26,2017 02:51 PM UTC Feb 28,2017 03:42 AM UTC WPF 3
loading
Tags: SfChart
Michael
Asked On February 26, 2017 02:51 PM UTC

Hello,
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 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:SfChart.Annotations> 
   <chart:RectangleAnnotation X1="2.5" X2="3.5" Y1="20" Y2="30" 
                              CanDrag="True" CanResize="True"/> 
</chart:SfChart.Annotations> 
  
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, 
  
Regards, 
Devi 





Michael
Replied On February 27, 2017 10:37 AM UTC

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

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On 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. 
  
Regards, 
Devi 


CONFIRMATION

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.

Warning Icon 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.Close Icon

;