MindFusion.Charting Programmer's Guide

AxisSettings.DateTimeFormat Property

See Also
 





Gets or sets the format of DateTime data.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public DateTimeFormat DateTimeFormat { get; set; }

Visual Basic  Copy Code

Public Property DateTimeFormat As DateTimeFormat

 Property Value

One of the DateTimeFormat enumeration values. Default is DateTimeFormat.FullDateTime.

 Remarks

When DateTime values are used as chart data, the DataFormat must be set to DataFormat.DateTime. If DateTimeFormat is CustomDateTime, set the format through CustomDateTimeFormat.

With DateTime values, the axis scale can be set manually with the StartDateTime, EndDateTime and TimeSpan properties.

 See Also