fix groupMode regression caused due to default value flip (#15627)
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ export const GraphWidgetBarChart = ({
|
||||
yAxisLabel,
|
||||
id,
|
||||
layout = 'vertical',
|
||||
groupMode = 'grouped',
|
||||
groupMode,
|
||||
seriesLabels,
|
||||
rangeMin,
|
||||
rangeMax,
|
||||
|
||||
+3
-3
@@ -8,9 +8,9 @@ export const getEffectiveGroupMode = (
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (groupMode === 'STACKED') {
|
||||
return 'stacked';
|
||||
if (groupMode === 'GROUPED') {
|
||||
return 'grouped';
|
||||
}
|
||||
|
||||
return 'grouped';
|
||||
return 'stacked';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user