dotnetCHARTING Send comments on this topic.
AxisMarker Class
See Also  Members  
dotnetCHARTING Namespace : AxisMarker Class


Defines styles and positions used to mark a specified section or point on an axis.

Object Model







Syntax

Visual Basic (Declaration) 
Public Class AxisMarker 
   Inherits ScaleRange
   Implements IInstanceID 
Visual Basic (Usage)Copy Code
Dim instance As AxisMarker
C# 
public class AxisMarker : ScaleRange, IInstanceID  

Example

Remarks

Each marker displayed on the chart will also have a LegendEntry in the Chart.LegendBox.

There are two ways to use AxisMarkers.
  1. Attach to axis
    An AxisMarker can be added to the Axis.Markers collection of any axis. In this case, a numeric, time, or text: value or range must be specified.

    When Value is specified, ValueLow and ValueHigh are both set to this value. When ValueLow and ValueHigh are equivalent, this AxisMarker is represented by the Line object, otherwise, Background fills the range between ValueLow and ValueHigh.
  2. Attach to element
    An AxisMarker is instantiated and passed to the Element.AxisMarker property of any element. In such a case, the axis marker is drawn on the Axis where the element's name is displayed.

See sample 'AxisMarkerAdvanced.aspx' in the download.

Inheritance Hierarchy

System.Object
   dotnetCHARTING.ScaleRange
      dotnetCHARTING.AxisMarker

See Also

© 2010 All Rights Reserved.