.netCHARTING v10.5 Documentation
Members 


dotnetCHARTING Namespace : AxisMarker Class
AxisMarker Class
Defines styles and positions used to mark a specified section or point on an axis.
Object Model
AxisMarker ClassBackground ClassCalendarPattern ClassLabel ClassLegendEntry ClassLine ClassAxisTick Class
Syntax
'Declaration
 
Public Class AxisMarker 
   Inherits ScaleRange
'Usage
 
Dim instance As AxisMarker
public class AxisMarker : ScaleRange 
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.

Example
Inheritance Hierarchy

System.Object
   dotnetCHARTING.ScaleRange
      dotnetCHARTING.AxisMarker

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also