Skip to main content

XYDiagram2D.SetSeriesAxisX(XYSeries, SecondaryAxisX2D) Method

Sets the value of the XYDiagram2D.SeriesAxisX 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 SetSeriesAxisX(
    XYSeries series,
    SecondaryAxisX2D axis
)

Parameters

Name Type Description
series XYSeries

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

axis SecondaryAxisX2D

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

Remarks

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

See Also