DateTimeOptions Class
Contains specific settings which define the representation of date-time values for display purposes within a chart control.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v19.2.dll
Declaration
Related API Members
The following members return DateTimeOptions objects:
Remarks
The DateTimeOptions class contains settings which specify the display representation of date-time values within a chart control.
An object of the DateTimeOptions type is available via the Axis.DateTimeOptions, PointOptions.ArgumentDateTimeOptions and PointOptions.ValueDateTimeOptions properties.
Example
The following example demonstrates how to modify the DateTimeOptions.Format property value in XAML.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-create-a-2d-candle-stick-chart-e1685.
<dxc:XYDiagram2D.AxisX>
<dxc:AxisX2D>
<dxc:AxisX2D.Label>
<dxc:AxisLabel TextPattern="{}{A:MMMM d}"/>
</dxc:AxisX2D.Label>
</dxc:AxisX2D>
</dxc:XYDiagram2D.AxisX>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DateTimeOptions class.
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.