LegendItem.SeriesPointIndex Property
Gets or sets the index of a DataPoint object associated with a default legend item.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Property Value
Type: System.Int32An integer value that represents the location of the default legend's associated data point in a zero-based index. All chart types except for pie and doughnut charts will return a negative one (-1).
This property should only be used in the CustomizeLegend event to determine the DataPoint object that is represented by a default pie or sphere chart legend entry.
Chart types other than pie or sphere charts will return a negative one (-1), because the default legend items correspond to plotted series, and not plotted data points. Use the SeriesName property for these chart types.
This property should not be set by the developer.
Note |
|---|
This property is applicable to the entire LegendItem. |
Available since 4.0
