Skip to main content

XYDiagram2D.SetSeriesAxisY(XYSeries, SecondaryAxisY2D) Method

Sets the value of the XYDiagram2D.SeriesAxisY attached property to a specified series.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public static void SetSeriesAxisY(
    XYSeries series,
    SecondaryAxisY2D axis
)

Parameters

Name Type Description
series XYSeries

An XYSeries object that represents the series to which the axis is assigned.

axis SecondaryAxisY2D

A SecondaryAxisX2D object that represents the Y-axis to assign.

Remarks

To reset the series’ Y-axis to the primary Y-axis, pass the null (Nothing in Visual Basic) value as the second parameter value.

See Also