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

DataMarker's label background color

Thread ID:

Created:

Updated:

Platform:

Replies:

143047 Mar 1,2019 04:48 PM UTC Jul 24,2019 07:12 AM UTC Xamarin.iOS 8
loading
Tags: SfChart
Michael
Asked On March 1, 2019 04:48 PM UTC

Hi all,

I encountered an problem which didn't exist in earlier versions.
Settings the datamarker's background to clear has no effect any more, whereas settings to all other colors works as expected.

This line has no effect:

series.DataMarker.LabelStyle.BackgroundColor = UIColor.Clear;


Regards
Michael

Devakumar Dhanapoosanam [Syncfusion]
Replied On March 4, 2019 10:54 AM UTC

 
Greetings from Syncfusion.  
We have analyzed your query and we can reproduce the reported issue at our end. 
As of now we can resolve this issue by setting the UseSeriesPalette property value as false. 
 
Please refer the below code snippet: 
CodeSnippet[C#]: 
series.DataMarker.UseSeriesPalette = false; 
series.DataMarker.LabelStyle.BackgroundColor = UIColor.Clear; 
 
Please refer the below UG link for more details: 
 
Currently we are checking this issue and will update you the status in one business day March 5th, 2019. 
 
Thanks, 
Devakumar 


Bharathiraja K [Syncfusion]
Replied On March 7, 2019 06:14 AM UTC

Hi Michael, 
 
We have validated the reported issue in iOS and it was fixed already in our current source and it will be included in our upcoming 2019 Volume 1 release which is scheduled to be rolled out at the end of March 2019.   
 
Please let us know if you need any further assistance. 
 
Regards, 
Bharathi 


Michael
Replied On March 7, 2019 04:29 PM UTC

Hi,

thanks for the fast fix.

Michael

Bharathiraja K [Syncfusion]
Replied On March 8, 2019 04:16 AM UTC

Hi Michael,

 

Thanks for your feedback. As always, we are happy to assist you.

 

Regards,

Bharathi.


Luca
Replied On July 18, 2019 09:54 PM UTC

hi, 
about datamarker there is something strange on iphone X XR.
some marker are cutted outside the view... can you check why?
thanks



Saravanan Madheswaran [Syncfusion]
Replied On July 19, 2019 09:46 AM UTC

Hi Luca, 
  
From the shared screenshot, we suspect that you are setting DataMarker LabelPosition as outer in sample level. So that only labels are cropped due to lesser space in the corners. You can resolve this issue by setting LabelPosition as Auto. Refer the below UG link for more information. 
  
  
Please get back to us for further assistance.  
Regards, 
Saravanan.  


Luca
Replied On July 19, 2019 11:04 AM UTC

hi, i will try but on iphone 7 with the same code is working fine, why?
just on iphone X and XR i have this issue.
i need to have the marker outer because the marker color is the same of the area.. so if i put belowe the marked will be not visible
if i put outer what I expect is that the chart scale in order to see the marker.. am i wrong? 
thanks

Rachel A [Syncfusion]
Replied On July 24, 2019 07:12 AM UTC

Hi Alberto, 
 
We have checked the reported scenario in iPhone 7 and iPhone XR, but we get the same output in both. As we said before, labels are cropped due to lesser space in the corners if we set DataMarker LabelPosition as outer in sample level which is the behavior. To avoid the cropping issue at corners when the data marker labels are placed outside we can use the RangePadding as an Additional or PlotOffset property to apply some padding to the axis line. We have prepared the sample to achieve it, you can download from the below location. 
 
Please find the code snippet below for the same. 
 
[XAML] 
<chart:SfChart.PrimaryAxis> 
    <chart:NumericalAxis RangePadding="Additional"  PlotOffset=”20”> 
    </chart:NumericalAxis> 
</chart:SfChart.PrimaryAxis> 
 
<chart:SfChart.SecondaryAxis> 
    <chart:NumericalAxis RangePadding="Additional" PlotOffset=”20”> 
    </chart:NumericalAxis> 
</chart:SfChart.SecondaryAxis> 
 
 
You can refer the below documentation link to know more information on this support. 
 
Regards, 
Rachel. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

;