Skip to content

Commit 5239d93

Browse files
committed
fix: add precision and stepSize to round distribution ticks
1 parent 75d970c commit 5239d93

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

script.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ function createRoundHistogram(stats, canvasId) {
191191
text: 'Frequency'
192192
},
193193
ticks: {
194-
color: themeColors.axis
194+
color: themeColors.axis,
195+
precision: 0,
196+
stepSize: 1
195197
},
196198
grid: {
197199
color: themeColors.grid,

0 commit comments

Comments
 (0)