Gets or sets the Y-axis type of a series.
Type of vertical axes.
Visual Basic (Declaration) | |
---|---|
Public Property YAxisType As AxisType |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AxisType YAxisType {get; set;} |
Return Value
An AxisType enumeration value that determines if a series uses the primary or secondary Y-axis.
Determines if a series is plotted using the primary or secondary Y-axis.
For all chart types except pie, doughnut, gantt, bar and stacked bar charts the primary Y-axis is the left vertical axis while the secondary axis is the right vertical axis. For bar and stacked bar charts the primary axis is the lower horizontal axis, and the secondary Y-axis is the upper horizontal axis.
When data is plotted using the secondary Y-axis remember to set axis properties using the ChartArea object's AxisY2 property, and not the AxisY 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