Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

[DefaultValue(true)]
public bool ConvertToAxisDataType { get; set; }

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