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 ValueType: System.Int32
An 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).
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.
This property is applicable to the entire LegendItem.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.