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

StackingBarSeries: not shown and overlapping

Thread ID:

Created:

Updated:

Platform:

Replies:

131946 Aug 4,2017 10:55 AM UTC Aug 8,2017 06:41 AM UTC Xamarin.Forms 1
loading
Tags: SfChart
Javier
Asked On August 4, 2017 10:55 AM UTC

Hi,

When using StackingBarSeries, labels are overlapped and not sohwn whole. Is there any solution to fix this?

Thanks in advance,

Javier.



Saravana Pandian Murugan [Syncfusion]
Replied On August 8, 2017 06:41 AM UTC

Hi Javier, 
  
Thanks for using Syncfusion products. 
  
You can achieve this requirement by using LabelPosition property of DataMarkerLabelStyle and DataMarkerPosition property of StackingBarSeries. Please find the code snippet below. 
  
Code Example: 
  
 
StackingBarSeries series1 = new StackingBarSeries(); 
  
series1.DataMarker.LabelStyle.LabelPosition = DataMarkerLabelPosition.Inner; 
  
series1.DataMarkerPosition = DataMarkerPosition.Bottom; 
  
chart.Series.Add(series1); 
  
  
StackingBarSeries series2 = new StackingBarSeries(); 
             
series2.DataMarker.LabelStyle.LabelPosition = DataMarkerLabelPosition.Center; 
  
chart.Series.Add(series2); 
  
  
We have attached sample for your reference which can be downloaded from the following location. 
  
  
Please check the attached sample and let us know if you need further assistance on this. 
  
Regards, 
Saravana Pandian M. 


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

;