ComponentOne ASP.NET MVC Controls
Selection
Working with Controls > FlexChart > Work with FlexChart > Selection

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.

When SelectionMode is set to Point

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)