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
However, with bar, and theoretically other custom series types, this assumption is not correct, and we get into an eternal loop. The fix is to apply it on the Series prototype directly:
Actual behaviour
A polar chart with type "bar" and data labels causes JavaScript error.
Live demo with steps to reproduce
https://jsfiddle.net/highcharts/30fg6y8d/
Product version
v10.3.3
Affected browser(s)
All
Workaround
Set
type: 'column'
andinverted: true
.Suggested fix
The following statement goes wrong because it assumes that
Series
is two steps up in the inheritance chain:highcharts/ts/Series/PolarComposition.ts
Lines 896 to 905 in d8c12a4
However, with
bar
, and theoretically other custom series types, this assumption is not correct, and we get into an eternal loop. The fix is to apply it on theSeries
prototype directly:In addition to that statement, Series must be imported and the typing of
alignTo
must be resolved.The text was updated successfully, but these errors were encountered: