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


Gets or sets the Y-axis type of a series.


Type of vertical axes.

Syntax

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

Return Value

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

Remarks

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.

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.