Xamarin.iOS Documentation | ComponentOne
Controls / FlexChart / Features / Selection
In This Topic
    Selection
    In This Topic

    You can choose what element of the FlexChart should be selected when the user taps on any region in a FlexChart by setting the SelectionMode property. This property accepts value from the ChartSelectionModeType enumeration.

    The images below show how the FlexChart appears after these properties have been set.

    When SelectionMode is set to Point When SelectionMode is set to Series

    SelectionImage

    SelectionImage

    In Code

    C#
    Copy Code
    chart.SelectionMode = SelectionMode.SelectionModeSeries;
    chart.SelectedBorderColor = UIColor.Black;
    chart.SelectedBorderWidth = 2;