Back to Devexpress

XYDiagram2D.ActualAxisX Property

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

latest2.1 KB
Original Source

XYDiagram2D.ActualAxisX Property

Gets the actual x-axis of the XYDiagram2D.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
[Browsable(false)]
public AxisX2D ActualAxisX { get; set; }
vb
<Browsable(False)>
Public Property ActualAxisX As AxisX2D

Property Value

TypeDescription
AxisX2D

An AxisX2D descendant.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ActualAxisX 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-charts-create-real-time-chart/CS/RealtimeChartMVVM/MainWindow.xaml.cs#L14

csharp
// Adjust the visual range.
AxisX2D axisX = ((XYDiagram2D)chart.Diagram).ActualAxisX;
DateTime maxRangeValue = (DateTime)axisX.ActualWholeRange.ActualMaxValue;

See Also

ActualAxisY

XYDiagram2D Class

XYDiagram2D Members

DevExpress.Xpf.Charts Namespace