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.

SplineAreaSeries custom DataPoint selection

Thread ID:

Created:

Updated:

Platform:

Replies:

130756 May 31,2017 09:08 AM Jun 1,2017 08:55 PM Xamarin.Forms 1
loading
Tags: SfChart
Lucas
Asked On May 31, 2017 09:08 AM

Hello,

I'm having a hard time to paint the selected DataPoint in a SplineAreaSeries sfChart. 
I've used the following configuration but when a click in a DataPoint the color doesn't change.


<chart:SplineAreaSeries 
    x:Name="GraficTest" 
    ItemsSource ="{Binding GraicData}" 
    XBindingPath="XAxis" 
    YBindingPath="YAxis"
    Color="Blue"
    EnableAnimation = "true"  
    AnimationDuration="0.8"
    EnableTooltip="False"
    EnableDataPointSelection="True"
    SelectedDataPointColor="Red"
    StrokeColor="BlueColor"
    Opacity="0.1"
    SelectedDataPointIndex="{Binding ChartSelectionIndex, Mode = TwoWay}">

I would also like toi paint the legend of the selected point, but have no ideia on how to do it.



Here's an example of what i'm trying to do:




Saravana Pandian Murugan [Syncfusion]
Replied On June 1, 2017 08:55 PM

Hi Lucas,

Thanks for using Syncfusion products.

Regarding “I'm having a hard time to paint the selected DataPoint in a SplineAreaSeries”

We have achieved this requirement by using ScatterSeries. Please download the sample from the below location.

Sample: http://www.syncfusion.com/downloads/support/forum/130756/ze/DataMarkerLabelSample-1252308869

Regarding “I would also like to paint the legend of the selected point, but have no idea on how to do it.”

By default in SplineArea series, single legend will be shown per series and it will be toggled on click which will change the visibility of the series.

Could you please provide more details on your requirement which will be helpful for providing 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.

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.

;