This section describes events exposed by this widget.
Fires when the widget is being removed.
Fires when the widget has finished drawing itself.
Fires when an error or warning appears in a widget.
When implementing a handling function for this event, you can access information about the occurred incident using the target field of the function's argument. This information includes the following.
Contains the ID of the incident. The full list of IDs can be found in the Errors and Warnings section.
Contains the type of the incident. This field equals 'error' for errors or 'warning' for warnings.
Contains the argument of the incident's message. The content of this field varies greatly, depending on the incident. For example, it may contain the name of the data source field that was not specified correctly, or the name of the option that was not set properly.
Contains the text passed to the browser console. This text includes the content of the args field, if there is any.
Contains the name of the widget that produced the error or warning.
Contains the currently used version of the ChartJS library.
Fires when the widget is initialized.
Fires after an option of the component is changed.
Fires when the selected range is changed.
When implementing a handling function, use the object passed to it as the parameter. Among fields of this object, you can find updated start and end range values.
The selectedRangeChanged event can be fired when a user moves a slider or after he/she has stopped moving it. To specify the required mode, use the behavior | callSelectedRangeChanged option.