Skip to content

Commit 7046234

Browse files
Merge pull request #308 from bento-platform/fix/show-empty-hist-bins
fix: show empty histogram bins
2 parents ca02464 + 657e27c commit 7046234

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/components/Overview/Chart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ const Chart = memo(({ chartConfig, data, units, id, isClickable }: ChartProps) =
7676
data={data}
7777
preFilter={removeMissing}
7878
dataMap={translateMap}
79+
removeEmpty={false} // Preserve the histogram's layout by showing empty bins
7980
{...(isClickable
8081
? {
8182
onChartClick: barChartOnChartClickHandler,

0 commit comments

Comments
 (0)