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

Selected DataMarker color for Line chart

Thread ID:





119752 Jul 28,2015 10:35 AM UTC Jul 29,2015 11:17 AM UTC Xamarin.Forms 1
Tags: SfChart
Sajid Ali
Asked On July 28, 2015 10:35 AM UTC

Hi Syncfusion Team!

We have a Line series, which have DataMarker properties, ShowLabel="False" and ShowMarker="True". Our question is, the selected data marker color does not change on tap on data marker. We have enabled DataPointSelection and assigned color to SelectedDataPointColor property. The selected color is only reflected to Label marker of chart if ShowLabel is set to true. Is there any way to highlight the selected data marker "circle"?



Manivannan Elangovan [Syncfusion]
Replied On July 29, 2015 11:17 AM UTC

Hi Sajid,

Thanks for using Syncfusion products.

In our SfChart, currently we don’t have support to change the DataMarker symbol color on selection. But, we can achieve your requirement by using ScatterSeries with EnableDataPointSelection and give same ItemsSource for both LineSeries and ScatterSeries as shown in the below code snippet.


var line = new LineSeries


    ItemsSource = Data,


var scatter = new ScatterSeries


    Opacity                   = 1,

    Color                       = Color.Blue,

    ScatterHeight          = 10,

    ScatterWidth           = 10,

    ItemsSource            = Data,

    EnableDataPointSelection  = true,

    SelectedDataPointColor     = Color.Red,

    SelectedDataPointIndex     = 3



We have prepared a sample based on requirement. Please download the sample from the following location.

Sample: DataMarkerSelection

Please let us know if you require further assistance on this.



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