The plugin Chart JS - Charts and Graphs / element Chart - Pie/Donut threw the following error: TypeError: Cannot read properties of null (reading ‘includes’)
Element Chart-Pie/Donut
I’m showing Option Set type data that is saved in bd, in other charts it doesn’t present a problem, only in this Pie/Donut
That means that in the code it is trying to see if something contains a specific value. But the something is null or undefined. Make sure you are passing in all the values in the editor and be sure they are not empty.
It brings the data confirm informed in the back-end, just don’t show it in front
Uploading: image.png…
@dooga1.mf were you able to solve the issue? I’m getting the same issue:The plugin Chart JS - Charts and Graphs / element Chart - Pie/Donut threw the following error: TypeError: Cannot read properties of null (reading ‘includes’)
at eval (PLUGIN_1553183744528x903111989944909800/Chart-JS—Charts-and-Graphs-update–Chart—Pie/Donut-.js:58:32)
The number of values matches exactly. I tested it with non-dynamic values, and it works perfectly. However, when I generate dynamic data, it breaks.
@dooga1.mf @spycrow.io Any news on this? I am getting the same error. While the front-end looks fine and I can see the chart, it gives the following error:
The plugin Charts and Graphs / element Bar Chart
threw the following error: TypeError: Cannot read properties of null (reading ‘replace’)
at update (PLUGIN_1656156230536x298565765509152800/Charts-and-Graphs-update–Bar-Chart----.js:3:912)
at eval (PLUGIN_1656156230536x298565765509152800/Charts-and-Graphs-update–Bar-Chart----.js:3:3358)