wpf-devexpress-dot-xpf-dot-charts-dot-xydiagram2d-a2ae1ede.md
Gets the Y-axis.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public AxisY2D AxisY { get; set; }
Public Property AxisY As AxisY2D
| Type | Description |
|---|---|
| AxisY2D |
An AxisY2D object which represents the Y-axis.
|
For more information on axes, see the Axes topic.
The following example demonstrates how to modify the AxisY2D.AlwaysShowZeroLevel property value in 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
</dxc:XYDiagram2D.AxisX>
<dxc:XYDiagram2D.AxisY>
<dxc:AxisY2D GridLinesMinorVisible="True">
wpf-charts-custom-draw-chart-series-points/CS/CustomDrawChart/MainWindow.xaml#L19
<dxc:XYDiagram2D>
<dxc:XYDiagram2D.AxisY>
<dxc:AxisY2D GridSpacing="1">
wpf-charts-create-real-time-chart/CS/RealtimeChartMVVM/MainWindow.xaml#L37
</dxc:XYDiagram2D.AxisX>
<dxc:XYDiagram2D.AxisY>
<dxc:AxisY2D>
See Also