Errors and Warnings

This section lists errors and warnings that may occur in DevExtreme data visualization widgets during runtime.

E2001

Occurs when data of an unsupported type was provided to a widget.

A widget accepts an array of objects as a data source. If you try to pass anything else, the E2001 error occurs. To see an example of how to provide data for a widget, refer to the Providing Data topic.

E2002

Occurs when axis type and data type are incompatible.

By default, data type of arguments and values is determined automatically based on the type of values from the data source. In some cases, specifying the data type explicitly may be required. For this purpose, the argumentAxis | argumentType and valueAxis | valueType options can be used.

Similarly, the types of argument and value axes are determined automatically based on the data type, or set explicitly using the type option of the argumentAxis or valueAxis object correspondingly.

If data of a specified data type cannot be represented on an axis of a specified axis type, the E2002 error occurs. For example, if you try to represent data of a string type on an axis of a logarithmic type, you will get this error.

E2003

Occurs when one of the data source fields has an unsupported type.

Data source fields must contain values of numeric, string or date-time types only. Otherwise, the E2003 error occurs.

E2004

Occurs when values in a data source field have different types that cannot be cast to one type.

For example, this error takes place when among date-time values of a data source field, a string value occurs, and it cannot be converted into date-time type.

E2101

Occurs when series | type option of dxChart or dxPieChart has an unknown value.

To see a list of acceptable series types for dxChart and dxPieChart, refer to the Chart Series Types and PieChart Series Types topics.

E2102

Occurs in dxChart when two or more value axes on a single pane have the same name.

When you visualize data using several value axes on a single pane, these axes must have different names. If they do not, the E2102 occurs.

E2103

Occurs if an incorrect value was assigned to an option that accepts callback functions only.

This error occurs when you try to assign anything other than a callback function to options like customizeTooltip in dxChart or onPointSelectionChanged in dxPieChart.

E2104

Occurs if the logarithmBase option of dxChart or dxRangeSelector was set to an invalid value.

This error may occur if you have set the logarithmBase option of a logarithmic axis (for dxChart) or a logarithmic scale (for dxRangeSelector) incorrectly. The value assigned to this option must be an integer number greater than 1.

E2105

Occurs if an invalid value was specified for a strip or constant line.

A strip for an axis is specified by the startValue and endValue options of an object in the strips array. A constant line is specified by the value option of an object in the constantLines array. All these options accept numeric values. If you try to assign a value of another type to one of these options, the E2105 error occurs.

E2106

Occurs when the visible range specified by the min and max options of a chart axis is not valid.

The min and max options accept a numeric or date-time value depending on the data type. If anything else is passed, the E2106 error occurs.

E2202

Occurs when the startValue or endValue option of the dxRangeSelector's scale is not valid.

The startValue and endValue options accept a numeric or date-time value depending on the scale data type. If anything else is passed, the E2202 error occurs.

E2203

Occurs if the selectedRange option of the dxRangeSelector was specified incorrectly.

To specify the selectedRange option properly, assign a numeric or date-time value (depending on the scale data type) to the startValue and endValue field of the selectedRange object.

W2002

Appears when none of the data source objects contain a valid argument or value field.

When providing data for dxChart or a chart within dxRangeSelector, you must specify argument and value fields for chart series. If the chart data source does not contain the specified fields, or none of their values are valid, the widget places the W2002 warning into the browser console.

W2003

Appears when the specified tick intervals lead dxChart or dxRangeSelector to generating an excessive number of ticks.

When dividing the dxChart's axes or dxRangeSelector's scale, you can specify intervals for major and minor ticks. However, if these intervals appear too small, the widgets will ignore them and divide the axes or scale using default tick intervals. In addition, the W2003 warning will appear.

W2101

Appears if the pane specified by the defaultPane option does not exist.

When a multi-pane chart is used, you can specify the pane to be used by default using the defaultPane option. The name of the pane assigned to this option must be also declared within the panes array. Otherwise, the W2101 warning appears, and the last pane declared in this array is used.

W2102

Appears if a value axis specified for a series does not exist.

Using a multi-axis chart, you should specify a value axis for each series using the series | axis option. These value axes should be declared in the valueAxis array as well. If not, a value axis with the name specified for a series will be created automatically, and the widget will place the W2102 warning into the browser console.

W2103

Appears when a chart hides its title due to the layout being adapted.

This warning may appear if your scenario allows for the change of the widget container's size. If so, when the size is reduced down to a minimum, which is specified by the height and width options of the adaptive layout object, accessory widget elements will be hidden. The W2103 warning, particularly, appears when the chart hides its title.

W2104

Appears when a chart hides its legend due to the layout being adapted.

This warning may appear if your scenario allows for the change of the widget container's size. If so, when the size is reduced down to a minimum, which is specified by the height and width options of the adaptive layout object, accessory widget elements will be hidden. The W2104 warning, particularly, appears when the chart hides its legend.

W2105

Appears when a chart hides one of its axis titles due to the layout being adapted.

This warning may appear if your scenario allows for the change of the widget container's size. If so, when the size is reduced down to a minimum, which is specified by the height and width options of the adaptive layout object, accessory widget elements will be hidden. The W2105 warning, particularly, appears when the chart hides one of the axis titles.

W2106

Appears when a chart hides labels of one of the axes due to the layout being adapted.

This warning may appear if your scenario allows for the change of the widget container's size. If so, when the size is reduced down to a minimum, which is specified by the height and width options of the adaptive layout object, accessory widget elements will be hidden. The W2106 warning, particularly, appears when the chart hides labels of one of the axes.

W2301

The distance between a gauge's start and end scale values equals zero.