Closed amtjoshi closed 1 month ago
You don't need to filter out null values.
If you are plotting a LineSeries
and set connect = false
on it, null values will break the line on those places.
As for performance, it depends how many data points there are. If you have thousands of data points and a lot of them are nulls, it makes sense to filter them out so that chart does not have to waste time parsing them.
I am working with AmCharts and have a dataset that sometimes includes null values. For example:
javascript Copy code
I wanted to know whether it is necessary to filter out these null values before passing the data to AmCharts, or if the library can handle null data points gracefully.
Will including null values affect the chart rendering or performance? Are there any best practices for handling such scenarios when using AmCharts? What is the recommended approach to ensure that the chart accurately reflects the intended data without misleading gaps or errors?