Skip to main content

XYDiagram2D.SecondaryAxesY Property

Gets the collection of secondary Y-axes.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts


public SecondaryAxisYCollection SecondaryAxesY { get; }

Property Value

Type Description

A SecondaryAxisYCollection object representing the collection of secondary Y-axes.


For more information, refer to the Primary and Secondary Axes guide.


This example demonstrates how to assign a secondary Y-axis to a series and uses the following classes and properties:

Symbol Description
XYDiagram2D.SecondaryAxesY Gets the collection of secondary Y-axes.
SecondaryAxisY2D Represents the secondary Y-axis within a 2D chart type.
XYSeries2D.AxisY Specifies the Y-axis (or its View Model) that measures a series.

View Example

    <dxc:SecondaryAxisY2D x:Name="percentageAxisY" 
            <dxc:Range dxc:AxisY2D.AlwaysShowZeroLevel="False" MinValue="-0.8" MaxValue="0.8"/>
            <dxc:ContinuousNumericScaleOptions AutoGrid="False" GridSpacing="0.4"/>
<dxc:LineSeries2D DisplayName="Rate of Change" 
                  ArgumentDataMember="Date" ValueDataMember="ChangeRate" 
                  AxisY="{Binding ElementName=percentageAxisY}"/>

The following code snippets (auto-collected from DevExpress Examples) contain references to the SecondaryAxesY property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also