You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we only get to see "Highcharts component is misconfigured" but there's no way of seeing which Highcharts error has been thrown which is problematic. Also, if the cell or its id is not defined, we get "cannot read properties of undefined (id)".
It is also difficult to debug this problem as the catch there does not receive the error argument and a generic error is thrown for all the Highcharts errors.
Detecting which Highcharts errors throw this error have been problematic in one Highcharts Dashboards custom project in React.
Product version
Highcharts Dashboards (all)
The text was updated successfully, but these errors were encountered:
Expected behaviour
The Dashboards should throw a proper error if the Highcharts have been misconfigured (for example, Highcharts Error 18).
This is the piece of code that I'm referring to:
highcharts/ts/Dashboards/Components/HighchartsComponent/HighchartsComponent.ts
Lines 658 to 689 in f121311
Actual behaviour
Currently, we only get to see "Highcharts component is misconfigured" but there's no way of seeing which Highcharts error has been thrown which is problematic. Also, if the cell or its id is not defined, we get "cannot read properties of undefined (id)".
It is also difficult to debug this problem as the
catch
there does not receive theerror
argument and a generic error is thrown for all the Highcharts errors.Detecting which Highcharts errors throw this error have been problematic in one Highcharts Dashboards custom project in React.
Product version
Highcharts Dashboards (all)
The text was updated successfully, but these errors were encountered: