I want a vertical bar chart of a count of documents over time—a date histogram with auto time interval—with each bar split according to a string field value: top 20 error codes.
I can do that, but, for some time ranges, my current sample data has 0 errors or only 1 error per bucket, in which case and the Y-axis shows the values "0, 0.1, 0.2, 0.3, ... 1".
I want the Y-axis to to display just "0" and "1"; those non-integer values make no sense for a count. Can I set the Y-axis to show integer values only? I'm using Elastic 5.5.