Mashup Builder > Widgets > Widget Configurations > Customizing Error and Loading Messages for Charts
Customizing Error and Loading Messages for Charts
You can use widget properties to customize default messages and icons that are displayed on the chart for different states.
To customize the label and icon when the chart does not contain any data, use the NoDataSourceLabel and NoDataSourceIcon properties.
To customize the icon to display when the chart data is loading, use the LoadingIcon property.
By the default, the loading state is always displayed when data is loaded and ShowDataLoading is set to True. When this property is set to False, the chart does not show the loading icon when loading or reloading data. Showing an icon when reloading data can affect the user experience . For example, consider disabling the loading state when the data is automatically updated using an Auto Refresh function.
To customize the message and the icon to display when the data source is empty, use the EmptyChartLabel and EmptyChartIcon properties.
To customize the message and the icon to display when the data cannot be displayed, use the ErrorStateLabel and ErrorStateIcon properties.
Was this helpful?