Dundas Chart for ASP.NET
Axis Class Members
See Also  Properties  Methods  Send comments on this topic.
Dundas.Charting.WebControl Namespace : Axis Class


The following tables list the members exposed by Axis.

Public Constructors

  Name Description
Public Constructor Axis Constructor Default constructor.
Default constructor  
Top

Public Properties

  Name Description
Public Property Arrows

This property determines the arrow style of a 2D axis (not applied to 3D chart areas).


Axis arrows  
Public Property Crossing

Gets or sets the location at which an axis is crossed by its associated axis.


Point where axis is crossed by another axis. (Inherited from AxisScale)
Public Property CustomLabels Gets a CustomLabelsCollection object, used to store CustomLabel objects.
Custom labels collection. (Inherited from AxisLabels)
Public Property Enabled

Gets or sets a value indicating if an axis is enabled.


Enables or disables the axis. (Inherited from AxisScale)
Public Property Href Gets or sets the URL target of the axis.
URL target of the axis.  
Public Property Interlaced

Gets or sets a value that determines if interlaced strip lines are displayed for an axis.


Indicates that interlaced strip lines will be displayed for the axis.  
Public Property InterlacedColor

This property is used to set or get the color of interlaced strip lines.


Color used to draw interlaced strip lines for the axis.  
Public Property Interval

Gets or sets the interval of an axis.


Axis interval size.  
Public Property IntervalAutoMode Determines if a fixed number of intervals is used on the axis, or if the number of intervals depends on the axis size.
Determines if fixed number of intervals used on the axis or number of intervals depends on the axis size. (Inherited from AxisScale)
Public Property IntervalOffset

Gets or sets the interval offset of an axis.


Axis interval offset.  
Public Property IntervalOffsetType

Gets or sets the interval offset type of an axis.


Axis interval offset type.  
Public Property IntervalType

Gets or sets the interval type of an axis.


Axis interval type.  
Public Property LabelsAutoFit

Gets or sets a value that determines if axis labels are automatically fitted.


Set Auto Labels formating  
Public Property LabelsAutoFitMaxFontSize Gets or sets the maximum font size that can be used by the labels auto-fitting algorithm.
Maximum font size that can be used by the labels auto-fitting algorithm.  
Public Property LabelsAutoFitMinFontSize Gets or sets the minimum font size that can be used by the labels auto-fitting algorithm.
Minimum font size that can be used by the labels auto-fitting algorithm.  
Public Property LabelsAutoFitStyle

Gets or sets the allowable label changes that can be made to enable the label to be fit along an axis.


Labels auto-fit style. LabelsAutoFit must be set to true.  
Public Property LabelStyle A Label object used to get or set label style properties of an axis.
Label object (Inherited from AxisLabels)
Public Property LineColor

This property is used to set or get the line color of an axis.


Axis Line Color  
Public Property LineStyle

This property is used to get or set an axis ' line style.


Axis Line Dash Style  
Public Property LineWidth

Gets or sets the line width of an axis, in pixels.


Axis Line Width  
Public Property LogarithmBase Gets or sets a double value the logarithm base for the logarithmic axis.
Base of the logarithm used in logarithmic scale. By default this value is 10. (Inherited from AxisScale)
Public Property Logarithmic

Gets or sets a boolean value that determines if an axis is logarithmic.


Logarithmic scale recalculate the values shown in the Minimum, Maximum, boxes as powers of LogarithmBase for the value axis, based on the range of data. No zeros or negative data values are permitted on logarithmic charts. (Inherited from AxisScale)
Public Property MajorGrid

Gets or sets a Grid object, used for an axis' major grid lines properties.


Major Gridlines  
Public Property MajorTickMark

Gets or sets a TickMark object used to set an axis' major tick mark properties.


Major Tick Mark  
Public Property MapAreaAttributes Gets or sets the map area attributes of an axis.
Other attributes of the axis map area.  
Public Property Margin Gets or sets a boolean value that determines if an axis margin will be used. (Inherited from AxisScale)
Public Property MarksNextToAxis

Gets or sets a value that determines if tick marks and axis labels move with an axis if an axis' crossing point changes.


Tick marks and labels move with axis when the crossing value is changed.  
Public Property Maximum

Gets or sets the maximum value of an axis.


Maximum axis value (Inherited from AxisScale)
Public Property Minimum

Gets or sets the minimum value of an axis.


The Minimum Axis value (Inherited from AxisScale)
Public Property MinorGrid

Gets or sets a Grid object, used for an axis' minor grid lines properties.


Minor Gridlines  
Public Property MinorTickMark

Gets or sets a TickMark object used to set an axis' minor tick mark properties.


Minor Tick Mark  
Public Property Name

Gets or sets the name of the axis.


Axis name. For internal use only!  
Public Property Reverse Gets or sets the axis direction.
The values on the axis are in reverse order. The direction of values on the axis is flipped. (Inherited from AxisScale)
Public Property ScaleBreakStyle Gets or sets the axis automatic scale break style.
Axis automatic scale breaks style. (Inherited from AxisScale)
Public Property ScrollBar  Gets or sets an axis scrollbar. (Inherited from AxisScale)
Public Property StartFromZero Gets or sets a boolean value that indicates whether zero must be used as the minimum axis value. (Inherited from AxisScale)
Public Property StripLines

Gets a StripLinesCollection object.


Custom labels collection.  
Public Property SubAxes Sub-axes collection.  
Public Property Title

Gets or sets the title of the axis.


Axis Title  
Public Property TitleAlignment

Gets or sets the alignment of an axis title.


Axis Title Alignment  
Public Property TitleColor

Gets or sets the color of an axis title.


Axis Title Color  
Public Property TitleFont

Gets or sets the title font properties of an axis.


Axis Title Font  
Public Property ToolTip Gets or sets the tooltip used for the axis.
Tooltip of the axis.  
Public Property Type

Gets the axis type (e.g. X, Y, X2 or Y2). .


Axis name. For internal use only!  
Public Property View Gets or sets the view of an axis. (Inherited from AxisScale)
Top

Public Methods

  Name Description
Public Method Dispose (Inherited from AxisScale)
Public Method GetPosition This function converts an axis value to a relative position (0-100
This function converts axis value to relative position
). If an axis has logarithmic scale, value is converted to a linear scale. (Inherited from AxisScale)
Public Method PixelPositionToValue Converts an absolute pixel position along an axis to an axis value.   This method only works in paint events. (Inherited from AxisScale)
Public Method PositionToValue Converts a relative coordinate along an axis to an axis value.  This method only works in paint events. (Inherited from AxisScale)
Public Method RoundAxisValues

Call this method to automatically round axis values.  This method only works in paint events.


This function will create auto maximum and minimum values using interval on the X axis. This function will make a gap between data points and border of the chart area. Note that this method can only be called for primary or secondary X axes.  
Public Method ValueToPixelPosition Converts an axis value to an absolute coordinate along an axis. Measured in pixels.  This method only works in paint events. (Inherited from AxisScale)
Public Method ValueToPosition Converts an axis value to a relative coordinate.  This method only works in paint events. (Inherited from AxisScale)
Top

See Also

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