ScottLogic/insight — pull request #196 by matthewdunsdon (2014-09-17 09:19:32+00:00)
Title: Improve tick-frequency calculation to handle small charts

On some small charts, the tick frequency can be low enough that labels end up overlapping each other.

E.g. The genreCount chart on the front page when the width is initialised as 300px.

In this case, the tick frequency should scale to display ticks each 500 instead of 200.