Skip to content

Commit c6625b2

Browse files
author
Ben Lerner
committed
fixes #1842: make sure that histograms include _all_ their columns along the horizontal axis
When I changed the x-axis to be `zero: false`, accidentally this meant that the leftmost column was not included along the axis)
1 parent 1d83d54 commit c6625b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/trove/charts-lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@
17531753
type: 'linear',
17541754
range: 'width',
17551755
zero: false,
1756-
domain: { data: 'rawTable', field: 'bin1' }
1756+
domain: { data: 'rawTable', fields: ['bin0', 'bin1'] }
17571757
},
17581758
{
17591759
name: 'countScale',

0 commit comments

Comments
 (0)