BootstrapChartDataPrepareSettings.ConvertToAxisDataType Property

Converts data coming from a data source into a data type supported by the axis.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v20.2.dll

Declaration

[DefaultValue(true)]
public bool ConvertToAxisDataType { get; set; }
<DefaultValue(True)>
Public Property ConvertToAxisDataType As Boolean

Property Value

Type Default Description
Boolean

true

true to convert all data into a data type supported by the axis; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ConvertToAxisDataType
BootstrapChart
.SettingsDataPrepare.ConvertToAxisDataType
BootstrapCoordinateSystemChart
.SettingsDataPrepare.ConvertToAxisDataType
BootstrapPolarChart
.SettingsDataPrepare.ConvertToAxisDataType
BootstrapRangeSelectorChart
.SettingsDataPrepare.ConvertToAxisDataType

Remarks

If this option is set to true, all data will be converted into a data type supported by the axis. You can specify this data type using the BootstrapChartArgumentAxis.ArgumentType and BootstrapChartValueAxis.ValueType options. Otherwise, it will be determined automatically, based on the first data source value.

NOTE

We recommend you to keep this option set to true in order to prevent the chart from behaving incorrectly. However, since the type conversion affects widget performance, it may be useful to set this option to false if you have a vast data source with values of the same type, and this type is known beforehand.

See Also