ASP.NET MVC Controls | ComponentOne
Working with Controls / FlexChart / Work with FlexChart / Selection
In This Topic
    Selection
    In This Topic

    You can choose what element of the FlexChart should be selected when the user clicks on any region in a FlexChart by setting the SelectionMode property. This property provides three options:

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

    Showcasing Point selection mode in FlexChart

    When SelectionMode is set to Point

    Showcasing Series selection mode in FlexChart

    When SelectionMode is set to Series

    The following code example demonstrates how to set this property. This example uses the sample created in the Quick Start section.

    Razor
    Copy Code
    .SelectionMode(C1.Web.Mvc.Chart.SelectionMode.Series)