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
I expected it to work (so bug) since in plain Highcharts the flags series does not need a reference to any Y axis, but might be a design choice. An example or console warning might be good in that case.
Note In the vast majority of cases, a series should be wrapped in an Axis component.
but it seems that in every case the Series must be wrapped in the Axis. This makes sense when rendering flags on top of the pane or the series as in the example at https://www.highcharts.com/demo/stock/flags-placement as those need references to the Y axis or the series, but placing on the axis would seem logical outside any Y axis.
How to reproduce
Put a <Series type="flags"> directly as a child of a chart, instead of YAxis.
Bug or Feature Request?
I expected it to work (so bug) since in plain Highcharts the flags series does not need a reference to any Y axis, but might be a design choice. An example or console warning might be good in that case.
Description
https://github.com/whawker/react-jsx-highcharts/wiki/Series mentions
How to reproduce
Put a
<Series type="flags">
directly as a child of a chart, instead of YAxis.Live demo demonstrating bug
https://stackblitz.com/edit/base-chart-example-broken-flagsseries?file=MyChart.js
https://stackblitz.com/edit/base-chart-example-working-flagsseries?file=MyChart.js
The text was updated successfully, but these errors were encountered: