Hi!
Please see similar error and debug recommendations: Chart add on using multiple datacontainers - #6 by d.kremnev
Also, in your case, it is possible that the data is provided to the client-side component before the other options. This can cause an error. Will be fixed in 2.3.2: Chart dataset can't be created on client side after detaching · Issue #3578 · jmix-framework/jmix · GitHub.
If you provide a test project, we can tell you the cause of the error.
Best regards,
Dmitriy