Represents an axis drawn on a ChartArea.
For a list of all members of this type, see Axis members.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
System.Object
dotnetCHARTING.Axis
[Visual Basic]
Public Class Axis
[C#]
public class Axis
[JScript]
public class Axis
The axis object is a powerful class that does the following.
Mode | Description |
---|---|
Value Axis | The value axis dynamically displays a numeric or DateTime range. Properties such as Scale, Interval, TimeInterval and others that relate to ranges apply to this type of axis. Using ChartType.Combo, the y axis is a value axis, with ChartType.Horizontal the x axis is, and with ChartType.Scatter both x and y are. |
Label Axis | The label axis does not display a range of values but rather the names of elements or series. Usign ChartType.Combo, the x axis is a label axis and with ChartType.Horizontal the y axis is. Using the DataEngine with DateGrouping generates elements with a numeric value in Element.YValue and a DateTime value in Element.XDateTime. Because the Combo chart's x axis is a label axis the date time value cannot be shown. To remedy this, the DataEngine also populates each element's Name property with a string representation of the DateTime value. This allows the x axis to show date values but it does not allow the use of advanced options such as setting the TimeInterval for those dates. To expose this functionality ChartType.Scatter must be used because the x axis for that chart type acts as a value axis. |
Shadow Axis | A shadow axis is created by using of the Axis.Calculate methods and must then added to the Chart.AxisCollection collection. It is drawn along side the original axis and represents the same range but displays it in a different way. |
Namespace: dotnetCHARTING
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: dotnetCHARTING (in dotnetCHARTING.dll)
Axis Members | dotnetCHARTING Namespace
2002 - 2004 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.