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


Enterprise Edition Only Feature. Gets or sets the index (zero-based) of the Y-value to be used for a financial marker's second data point.
Second Y Index

Syntax

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

Return Value

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

Remarks

This property represents the Y-value to be used for a financial marker's second data point. For example, to use the third Y-value of the marker's second data point this property should be two.

Financial markers are always applied to two data points in a series, and these data points are set using the FirstPointIndex and SecondPointIndex properties.

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.