Fix group by y axis "stacked" behaviour (#15081)

also improved seeds
This commit is contained in:
nitin
2025-10-14 18:36:50 +05:30
committed by GitHub
parent 863e3902af
commit 5fec6a9afc
15 changed files with 118 additions and 20 deletions
@@ -43,6 +43,10 @@ export const GraphWidgetBarChartRenderer = ({
return <div>Error: {error.message}</div>;
}
const configuration = widget.configuration as BarChartConfiguration;
const groupMode =
configuration.groupMode === 'GROUPED' ? 'grouped' : 'stacked';
return (
<Suspense fallback={<ChartSkeletonLoader />}>
<GraphWidgetBarChart
@@ -53,6 +57,7 @@ export const GraphWidgetBarChartRenderer = ({
xAxisLabel={xAxisLabel}
yAxisLabel={yAxisLabel}
showValues={showDataLabels}
groupMode={groupMode}
id={widget.id}
displayType="shortNumber"
/>