Export (0) Print
Expand All

Series.YAxisType Property

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

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(true)]
public AxisType YAxisType { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.AxisType
An AxisType enumeration value that determines if a series uses the primary or secondary Y-axis.

The YAxisType property determines if a series is plotted using the primary or secondary Y-axis.

For all chart types except pie, doughnut, range bar, bar and stacked bar charts, the primary Y-axis is the left vertical axis, and 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, you must use the AxisY2 property to set axis properties, and not the AxisY property.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft