New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spark line chart appendData logs "dfsfgdgdgdf" and is not updating the chart #43
Comments
In addition to that
While the example suggest that you send an object to |
The documentation for https://apexcharts.com/docs/methods/#updateSeries is also wrong
The argument in the example is an array with a named key which is invalid javascript, it is supposed to be:
updateSeries actually works for the spark lines though. |
Thanks for bringing this to attention. The documentation was indeed wrong for the Also, removed the random console.logs. I will check the appendData() with sparklines |
@junedchhipa Thank you for the quick response, this solves my issues! 👍 |
I took the spark1 from the spark line demo and tried to append data by adding the following:
The data is not appended and 'dfsfgdgdgdf' is printed to the console every 300:th ms. Looking in the source code there is a random console log there:
apexcharts.js/src/modules/ZoomPanSelection.js
Line 203 in 8281a07
The text was updated successfully, but these errors were encountered: