Skip to main content

BootstrapChartDataPrepareSettings.CheckTypeForAllData Property

Specifies whether the type of each value coming from the data source is validated.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(false)]
public bool CheckTypeForAllData { get; set; }

Property Value

Type Default Description
Boolean false

true, to check the type of each value; otherwise, false to check the type of the first value only.

Property Paths

You can access this nested property as listed below:

Object Type Path to CheckTypeForAllData
BootstrapCoordinateSystemChart
.SettingsDataPrepare .CheckTypeForAllData
BootstrapRangeSelectorChart
.SettingsDataPrepare .CheckTypeForAllData

Remarks

Use this option when values in your data source are of a different type, and you need all of them to be visualized on a single axis.

If this option is set to true, the type of each value is checked, and the axis type is chosen optimally to display all the values. Otherwise, only the type of the first value is checked, and the axis type is chosen according to the type of this value. In this case, the values that cannot be cast to a data type supported by the axis will be ignored.

Note

Because the type check affects widget performance, keep this option set to false when you have a vast data source with values of the same type, and this type is known beforehand.

See Also