Dundas Chart for ASP.NET
SeriesPointIndex Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > LegendItem Class : SeriesPointIndex Property


Gets the index of a default legend item's associated DataPoint object.


Legend item series data point index.

Syntax

Visual Basic (Declaration)  
Public Property SeriesPointIndex As Integer
Visual Basic (Usage) Copy Code
Dim instance As LegendItem
Dim value As Integer
 
instance.SeriesPointIndex = value
 
value = instance.SeriesPointIndex
C#  
public int SeriesPointIndex {get; set;}

Return Value

An integer value (0-based) that indicates a default legend item's associated data point. All chart types except for pie and doughnut charts will return negative one.

Remarks

This property should only be used in the CustomizeLegend event (Enterprise Edition only) to determine what DataPoint object a default pie or sphere chart legend entry represents.

Chart types other than pie or sphere chart's will return negative one, since 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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.