[]
        
(Showing Draft Content)

Selection

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.

  • None: Does not select any element.

  • Point: Highlights the point that the user taps.

  • Series: Highlights the series that the user taps. The user can tap the series on the plot itself, or the series name in the legend.

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

chart.SelectionMode = SelectionMode.SelectionModeSeries;
chart.SelectedBorderColor = UIColor.Black;
chart.SelectedBorderWidth = 2;