JavaScript/jQuery Errors and Warnings API
This section lists errors and warnings that may occur in DevExtreme data visualization widgets during runtime.
E2001
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
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
Data source fields must contain values of numeric, string or date-time types only. Otherwise, the E2003 error occurs.
E2005
Occurs in the Funnel widget when the specified value field is absent in the data source or all its values are negative.
Check that you set the valueField option to a field in the data source containing at least one positive value.
E2103
This error occurs when you try to assign anything other than a callback function to options like customizeTooltip in Chart or onPointSelectionChanged in PieChart.
E2105
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
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.
E2203
Occurs in the RangeSelector widget when the selected range is invalid.
Commonly, this error appears when either the value option or the setValue(value) method were used incorrectly. To troubleshoot, check that the range you are trying to select falls between the scale start and end values and that the type of the range values is the same as the scale type.
W2002
When providing data for Chart or a chart within RangeSelector, 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 Chart or RangeSelector to generating an excessive number of ticks.
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
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
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
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
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
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.
If you have technical questions, please create a support ticket in the DevExpress Support Center.