Make histogram y-axis formatting aware of the tick size when formatting

kbn.byteFormat & kbn.shortFormat take an extra min_resolution param that indicates what size should be still be distinguishable despite the formating. For example if `min_resolution=100` and we format 1100 with `decimals=0`, the output will still be 1.1K . This is used in y_axis formatting to make sure the legends are able to correctly display a change of the current tick size.