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

Selective Adornments and Spline Area padding

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

1 Reply

DA Devi Aruna Maharasi Murugan Syncfusion Team December 8, 2016 06:22 AM UTC

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 





Loader.
Live Chat Icon For mobile
Up arrow icon