Dundas Chart for Windows Forms
XAxisType Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Series Class : XAxisType Property


Gets or sets the X-axis type of the series.


Type of horizontal axes.

Syntax

Visual Basic (Declaration)  
Public Property XAxisType As AxisType
Visual Basic (Usage) Copy Code
Dim instance As Series
Dim value As AxisType
 
instance.XAxisType = value
 
value = instance.XAxisType
C#  
public AxisType XAxisType {get; set;}

Return Value

An AxisType enumeration value that determines if the series uses the primary or secondary X-axis.

Remarks

Determines if the series is plotted using the primary or secondary X-axis.

For all chart types except pie, doughnut, and bar and stacked bar charts the primary X-axis is the lower axis while the secondary axis is the upper axis. For bar and stacked bar charts the primary X-axis is the left axis, and the secondary X-axis is the right axis.

When data is plotted using the secondary X-axis remember to set axis properties using the ChartArea object's AxisX2 property, and not the AxisX property.

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

© 2009 All Rights Reserved.