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.

Selective Adornments and Spline Area padding

Thread ID:

Created:

Updated:

Platform:

Replies:

127762 Dec 7,2016 12:16 PM Dec 8,2016 01:22 AM UWP 1
loading
Tags: SfChart
Ed Grant
Asked On December 7, 2016 12:16 PM

Hello,

I would like to modify my charts to show an adornment label (the marker is fine) of only the final data point in the spline series. I would also like to move the final data point further in so the number does not get cut off at the end of the chart. Please see the attached image for the current behavior of the charts.

Thanks!

Attachment: SFChart_9f0c29e3.zip

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On December 8, 2016 01:22 AM

Hi Ed, 
  
Thanks for contacting Syncfusion Support. 
  
We can avoid the cropping of last adornment label by setting the LabelPosition property of adornments info as Auto as shown in the below code snippet, 
 
  
           <chart:SplineSeries > 
                <chart:SplineSeries.AdornmentsInfo> 
                    <chart:ChartAdornmentInfo LabelPosition="Auto"/> 
                </chart:SplineSeries.AdornmentsInfo> 
           </chart:SplineSeries> 
  
  
We have prepared a demo sample based on your requirement and it can be downloaded from below link, 
  
Sample: SplineAdornment 
  
Please refer our UG documentation link to know more about LabelPosition property of adornments info, 
  
  
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.

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.

;