Financial Markers
Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property FinancialMarkers As FinancialMarkersCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public FinancialMarkersCollection FinancialMarkers {get;} |
Return Value
A FinancialMarkersCollection object.
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 <CRLF>...<CRLF><CRLF>Chart1.Series("Default").FinancialMarkers.Add("FibonacciArcs", 2, 3, 1, 1) |
C# | Copy Code |
---|---|
using Dundas.Charting.Webcontrol;<CRLF>...<CRLF><CRLF>Chart1.Series["Default"].FinancialMarkers.Add("FibonacciArcs", 2, 3, 1, 1); |
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.
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