Syncfusion.SfChart.XForms
Members  Example 
Syncfusion.SfChart.XForms Namespace : ChartSelectionBehavior Class

ChartSelectionBehavior Class

ChartSelectionBehavior enables the selection of individual segment in a series or chart series itself.
Object Model
ChartSelectionBehavior ClassSfChart Class
Syntax
public class ChartSelectionBehavior : ChartBehavior, Xamarin.Forms.IElementController  
Remarks
The selected segment can be displayed with a different color specified using SelectedDataPointColor property available in corresponding series. ChartSelectionBehavior is applicable only to certain series such as ColumnSeries, BarSeries, RangeColumnSeries, StackingBarSeries, StackingColumnSeries, ScatterSeries, BubbleSeries, PieSeries, DoughnutSeries.
Example
SfChart chart = new SfChart();
ChartSelectionBehavior selection = new ChartSelectionBehavior ();
chart.ChartBehaviors.Add(selection);
Inheritance Hierarchy

System.Object
   Xamarin.Forms.BindableObject
      Xamarin.Forms.Element
         Syncfusion.SfChart.XForms.ChartBehavior
            Syncfusion.SfChart.XForms.ChartSelectionBehavior

AssemblyVersion

Syncfusion.SfChart.XForms: 17.3451.0.14

See Also