Dundas Chart for Windows Forms
FirstPointIndex Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > FinancialMarker Class : FirstPointIndex Property


Enterprise Edition Only Feature. Gets or sets the index (zero-based) of the first data point to be used for a financial marker.
First Point Index

Syntax

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

Return Value

An integer value that represents the index (zero-based) of the first data point to be used for a financial marker. Defaults to zero (first data point).

Remarks

Financial markers are always applied to two data points in a series, and this property represents the first data point. The Y-value that is used is determined by the FirstYIndex property (which defaults to the first Y-value).

To display a financial marker we recommend using the overloaded Add or Insert methods of the FinancialMarkers collection property.

Please note that the data points a financial marker is applied to MUST have their X-values set, otherwise a run-time exception will be thrown.

Refer to the How to Use Financial Markers topic for details concerning financial markers.

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

© 2009 All Rights Reserved.