[charts] Divide the logic for useXxxSeries/useXxxSeriesAll
#16537
Labels
component: charts
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
Logic for the
useXxxSeries
currently accepts no argument to return the series state() => {series, seriesOrder}
, though value with argument returns only the series(id) => series
.We should create a
useXxxSeriesAll
oruseXxxSeriesContext
to replace the default valuesOriginally posted by @JCQuintas in #15545 (comment)
The text was updated successfully, but these errors were encountered: