Gets or sets the X-axis type of the series.
Type of horizontal axes.
| Visual Basic (Declaration) | |
|---|---|
| Public Property XAxisType As AxisType | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
|  | |
| C# | |
|---|---|
| public AxisType XAxisType {get; set;} | |
Return Value
An AxisType enumeration value that determines if the series uses the primary or secondary X-axis.
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.
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
 
  
  
  
 