Gets the index of the chart series this ChartElement belongs to.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C#
![]() |
---|
public int SeriesIndex { get; } |
Visual Basic
![]() |
---|
Public ReadOnly Property SeriesIndex As Integer |
An integer value. Default is -1.
The SeriesIndex property gives you the location of the chart series the clicked element belongs to in the Data or XData and YData lists. The property is useful in charts that support multiple series e.g. in a pie chart SeriesIndex will be always 0.