Dundas Chart for ASP.NET
FinancialMarkers Property
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl 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 <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);

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.