MindFusion.Charting Programmer's Guide

DataFormat Enumeration

See Also
 





Specifies the type of data values.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public enum DataFormat

Visual Basic  Copy Code

Public Enumeration DataFormat

JavaScript  Copy Code

// enum
DataFormat = {}

 Members

  Member name Description

Auto

The format of the data is set automatically.

DateTime

Chart data is DateTime values.

Number

Chart data is numbers.

 Remarks

Data in line charts can be either Number or DateTime values. Use AxisSettings.DataFormat to set the correct data format. When set to Auto, the control tries to convert all data to DateTime values. If a single conversion fails, the DataFormat is set to Number.

 See Also