wpf-devexpress-dot-xpf-dot-charts-dot-xydiagram2d-eecafed3.md
Gets the actual x-axis of the XYDiagram2D.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
[Browsable(false)]
public AxisX2D ActualAxisX { get; set; }
<Browsable(False)>
Public Property ActualAxisX As AxisX2D
| Type | Description |
|---|---|
| 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
// Adjust the visual range.
AxisX2D axisX = ((XYDiagram2D)chart.Diagram).ActualAxisX;
DateTime maxRangeValue = (DateTime)axisX.ActualWholeRange.ActualMaxValue;
See Also