VolkovLabs/business-charts

context.panel.chartsetOption is not a function

Closed this issue · 0 comments

Review feedback:

Dear Mikhail,
 
Thank you for your submission. While testing the plugin we found an issue that has been around at least since version 6.3.0. I'm not sure what is the root cause, but you can see the error in one of the provided panels: "Gauge" > "Multi Title Gauge". Once this panel is loaded we get the error:
Uncaught TypeError: context.panel.chartsetOption is not a function
    at eval (eval at r (EchartsPanel.tsx:170:15), <anonymous>:83:17)
    at Nt.<computed> (zone.js:2405:41)
    at Ze.invokeTask (zone.js:406:31)
    at ve.runTask (zone.js:178:47)
    at invokeTask (zone.js:487:34)
    at xn.useG.invoke (zone.js:476:48)
    at vt.args.<computed> (zone.js:2385:32)
and it keep being thrown multiple times. Since the panel seems to be a valid one, this error should be treated (perhaps a type checking for function could solve the issue).
Once this is solved we will continue the review.