Skip to main content

ChartCalculatedFieldModel.FieldType Property

Gets or sets the ChartCalculatedField.FieldType property within the ChartCalculatedFieldModel.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v23.2.Wizard.dll

NuGet Package: DevExpress.Win.Charts

Declaration

[LocalizableCategory(DesignerCategories.Data)]
[PropertyForOptions(-1, "General", 1)]
public ChartCalculatedFieldType FieldType { get; set; }

Property Value

Type Description
ChartCalculatedFieldType

The calculated field’s returned value type.

Available values:

Show 12 items
Name Description
None

Indicates that the field’s type is undefined and determined based on the returned object during chart initialization.

String

Indicates that the field returns a string value as a sequence of UTF-16 code units (the String type).

DateTime

Indicates that the field returns a value expressed as a date and time of day (the DateTime type).

TimeSpan

Indicates that the field returns a value as a time interval (the TimeSpan type).

Byte

Indicates that the field returns an 8-bit unsigned integer value (the Byte type).

Int16

Indicates that the field returns a 16-bit signed integer value (the Int16 type).

Int32

Indicates that the field returns a 32-bit signed integer value (the Int32 type).

Float

Indicates that the field returns a single-precision floating-point value (the Single type).

Double

Indicates that the field returns a double-precision floating-point value (the Double type).

Decimal

Indicates that the field returns a decimal value (the Decimal type).

Boolean

Indicates that the field returns a Boolean (true or false) value (the Boolean type).

Guid

Indicates that the field returns a global unique identifier value (the Guid type).

See Also