Gets or sets the format of DateTime data.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C#
![]() |
---|
public DateTimeFormat DateTimeFormat { get; set; } |
Visual Basic
![]() |
---|
Public Property DateTimeFormat As DateTimeFormat |
One of the DateTimeFormat enumeration values. Default is DateTimeFormat.FullDateTime.
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.