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


Enterprise Edition Only Feature. Gets a FinancialMarkersCollection object, which stores FinancialMarker objects for a series.
Financial Markers

Syntax

Visual Basic (Declaration)  
Public ReadOnly Property FinancialMarkers As FinancialMarkersCollection
Visual Basic (Usage) Copy Code
Dim instance As Series
Dim value As FinancialMarkersCollection
 
value = instance.FinancialMarkers
C#  
public FinancialMarkersCollection FinancialMarkers {get;}

Return Value

FinancialMarkersCollection object.

Example

The following example displays a Fibonacci Arcs financial marker that uses the third and fourth data points in a series named "Default". Note that we use the second Y-values for the two data points, and we use the default values for the line and text properties of the financial marker's labels (i.e. we use an Add method definition that doesn't have line and text-related arguments).

Visual Basic Copy Code
Imports Dundas.Charting.Webcontrol
...

Chart1.Series("Default").FinancialMarkers.Add("FibonacciArcs", 2, 3, 1, 1)
C# Copy Code
using Dundas.Charting.Webcontrol;
...

Chart1.Series
["Default"].FinancialMarkers.Add("FibonacciArcs", 2, 3, 1, 1);

Remarks

Use this property at either design-time or run-time to add, insert or remove financial markers to and from a chart series.

The data points that financial markers are applied to MUST have their X-values set, otherwise a run-time exception will be thrown!

For more information see the FinancialMarkersCollection class overview, or see the How to Use Financial Markers topic.

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.