Back to Devexpress

DateTimeOptions Class

wpf-devexpress-dot-xpf-dot-charts-bb4462a2.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class DateTimeOptions :
    ChartDependencyObject,
    IDateTimeOptions
vb
Public Class DateTimeOptions
    Inherits ChartDependencyObject
    Implements IDateTimeOptions

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.

For more information about axis scale settings, refer to the following help topic: Axis Scale Types.

Example

The following example demonstrates how to modify the DateTimeOptions.Format property value in XAML.

xaml
<dxc:XYDiagram2D.AxisX>
    <dxc:AxisX2D>
        <dxc:AxisX2D.Label>
            <dxc:AxisLabel TextPattern="{}{A:MMMM d}"/>
        </dxc:AxisX2D.Label>
    </dxc:AxisX2D>
</dxc:XYDiagram2D.AxisX>

Inheritance

Object DispatcherObject DependencyObject Freezable ChartDependencyObject DateTimeOptions

See Also

DateTimeOptions Members

NumericOptions

DevExpress.Xpf.Charts Namespace