Back to Devexpress

XYDiagram2D.AxisY Property

wpf-devexpress-dot-xpf-dot-charts-dot-xydiagram2d-a2ae1ede.md

latest3.1 KB
Original Source

XYDiagram2D.AxisY Property

Gets the Y-axis.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public AxisY2D AxisY { get; set; }
vb
Public Property AxisY As AxisY2D

Property Value

TypeDescription
AxisY2D

An AxisY2D object which represents the Y-axis.

|

Remarks

For more information on axes, see the Axes topic.

Example

The following example demonstrates how to modify the AxisY2D.AlwaysShowZeroLevel property value in XAML.

xaml
<dxc:XYDiagram2D.AxisY>
    <dxc:AxisY2D>
        <dxc:AxisY2D.WholeRange>
            <dxc:Range dxc:AxisY2D.AlwaysShowZeroLevel="False" />
        </dxc:AxisY2D.WholeRange>
    </dxc:AxisY2D>
</dxc:XYDiagram2D.AxisY>

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

Note

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.

wpf-bind-a-range-control-to-a-chart-control/CS/GoldPrices/MainWindow.xaml#L58

xml
</dxc:XYDiagram2D.AxisX>
<dxc:XYDiagram2D.AxisY>
    <dxc:AxisY2D GridLinesMinorVisible="True">

wpf-charts-custom-draw-chart-series-points/CS/CustomDrawChart/MainWindow.xaml#L19

xml
<dxc:XYDiagram2D>
    <dxc:XYDiagram2D.AxisY>
        <dxc:AxisY2D GridSpacing="1">

wpf-charts-create-real-time-chart/CS/RealtimeChartMVVM/MainWindow.xaml#L37

xml
</dxc:XYDiagram2D.AxisX>
<dxc:XYDiagram2D.AxisY>
    <dxc:AxisY2D>

See Also

AxisX

XYDiagram2D Class

XYDiagram2D Members

DevExpress.Xpf.Charts Namespace