Dundas.SharePoint.Charting.WebParts Send comments on this topic.
Add(FinancialMarkerType,Int32,Int32,Int32,Int32,Color,Int32) Method
See Also 
Dundas.Charting.WebControl Namespace > FinancialMarkersCollection Class > Add Method : Add(FinancialMarkerType,Int32,Int32,Int32,Int32,Color,Int32) Method


markerName
Name of the Financial marker
firstPointIndex
The index (zero-based) of the first data point to be used for a financial marker.
secondPointIndex
The index (zero-based) of the second data point to be used for a financial marker.
firstYIndex
The index (zero-based) of the Y value to be used for a financial marker's first data point.
secondYIndex
The index (zero-based) of the Y value to be used for a financial marker's second data point.
lineColor
The color used to draw the lines of a financial marker.
lineWidth
The width of a financial marker's lines. Measured in pixels.
Adds a Financial Marker item to the collection

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal markerName As FinancialMarkerType, _
   ByVal firstPointIndex As Integer, _
   ByVal secondPointIndex As Integer, _
   ByVal firstYIndex As Integer, _
   ByVal secondYIndex As Integer, _
   ByVal lineColor As Color, _
   ByVal lineWidth As Integer _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As FinancialMarkersCollection
Dim markerName As FinancialMarkerType
Dim firstPointIndex As Integer
Dim secondPointIndex As Integer
Dim firstYIndex As Integer
Dim secondYIndex As Integer
Dim lineColor As Color
Dim lineWidth As Integer
Dim value As Integer
 
value = instance.Add(markerName, firstPointIndex, secondPointIndex, firstYIndex, secondYIndex, lineColor, lineWidth)
C#  
public int Add( 
   FinancialMarkerType markerName,
   int firstPointIndex,
   int secondPointIndex,
   int firstYIndex,
   int secondYIndex,
   Color lineColor,
   int lineWidth
)

Parameters

markerName
Name of the Financial marker
firstPointIndex
The index (zero-based) of the first data point to be used for a financial marker.
secondPointIndex
The index (zero-based) of the second data point to be used for a financial marker.
firstYIndex
The index (zero-based) of the Y value to be used for a financial marker's first data point.
secondYIndex
The index (zero-based) of the Y value to be used for a financial marker's second data point.
lineColor
The color used to draw the lines of a financial marker.
lineWidth
The width of a financial marker's lines. Measured in pixels.

Return Value

Position in the collection.

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