Responsiveness rules must contain the exact number of series of a chart #6347
Labels
Comments
Yes, that's what the |
Thanks, that really helps and let us cut down some lines of code. Example for yAxis below: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
Responsive chart options related to an unexisting series or axis should be ignored and should not make the chart crash.
It would be useful to be able to share the same responsive rules with multiple dials.
Ideally, it would be great to have the option to define a series configuration once, applicable for all series of the chart.
Actual behaviour
A chart having less series than responsive.rules.chartOptions.series will crash when responsiveness conditions are met
Live demo with steps to reproduce
=> Top chart series changes to color chartreuse ('#7fff00')
=> Bottom chart crashes.
Affected browser(s)
Verified on Chrome, probably all.
Associated commit
ff5f92c
The text was updated successfully, but these errors were encountered: