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
Is your feature request related to a problem? Please describe.
Currently, the HorizontalBarChart with the grouped chart will not display a legend unless it is passed an array of dataSeriesLabels.
Describe the solution you'd like
Should populate the legend based on the values of dataSeriesKey by default.
Describe alternatives you've considered
Could keep as is, but requires extra work from component users.
Additional context
The legend component can be overridden with the legendComponent prop, so there's no need to provide an extra override to hide the legend.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, the
HorizontalBarChart
with the grouped chart will not display a legend unless it is passed an array ofdataSeriesLabels
.Example:
The chart shown in this story requires the following
dataSeriesLabel
in order to display a legend.Otherwise, the chart will look like this:
dataSeriesLegend: null
Describe the solution you'd like
Should populate the legend based on the values of
dataSeriesKey
by default.Describe alternatives you've considered
Could keep as is, but requires extra work from component users.
Additional context
The legend component can be overridden with the
legendComponent
prop, so there's no need to provide an extra override to hide the legend.The text was updated successfully, but these errors were encountered: