-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Describe the bug
When calling setFilter() on an existing chart, the returned promise completes immediately instead of waiting for the chart to actually update.
This makes it impossible to show a loading message to the user while the chart is updating. The chart just stays in its current state until the new data is loaded, which is very confusing to the user as it can take several seconds to do so depending on the chart/filters.
To Reproduce
Steps to reproduce the behavior:
- Create a chart and call
render() - Set new filters on the existing chart using
setFilter() - Promise returns right away even though the chart hasn't updated yet.
Expected behavior
The promise should wait for the chart to be updated before succeeding.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Version: 94
SDK Version
2.1.0
dgwightjcpalacios
Metadata
Metadata
Assignees
Labels
No labels