Skip to content

Commit 3e1c012

Browse files
Specify minTickSize: 1 since there aren't fractional documents.
1 parent b8921da commit 3e1c012

File tree

1 file changed

+7
-1
lines changed
  • webapp/core/src/main/public/static/js/find/app/page/search/results/dategraph

1 file changed

+7
-1
lines changed

webapp/core/src/main/public/static/js/find/app/page/search/results/dategraph/dategraph-view.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,16 @@ define([
167167
}
168168
}))
169169

170+
var yaxes = [{ minTickSize: 1 }];
171+
172+
if (multiAxes) {
173+
yaxes.push({ minTickSize: 1, position: 'right' });
174+
}
175+
170176
$.plot($contentEl[0], data, {
171177
grid: { hoverable: true },
172178
xaxis: {mode: 'time'},
173-
yaxes: multiAxes ? [ {}, { position: 'right' } ] : {}
179+
yaxes: yaxes
174180
})
175181

176182
this.$('.dategraph-view-pptx').removeClass('disabled');

0 commit comments

Comments
 (0)