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.v20.1.dll


public static void SetSeriesAxisX(
    XYSeries series,
    SecondaryAxisX2D axis
Public Shared Sub SetSeriesAxisX(
    series As XYSeries,
    axis As SecondaryAxisX2D


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.


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