dataset clamps min to zero and max to 10 if appropriate
the number of horizontal gridlines depends on dividability (with a default of 5)