Use dynamic step size algorithm
Use dynamic step size algorithm

Instead of hardcoding to the buttons on the navbar, dynamically adjust step for
the timeframe in order to generate 600 points.

600 is a good number, because for multiples of 10 minutes, it's exactly
divisible. 10 minutes is the minimum, because that's 600 seconds, and we're
working in seconds since epoch.

glasnt/machiavelli,glasnt/machiavelli,machiavellian/machiavelli,machiavellian/machiavelli,glasnt/machiavelli,glasnt/machiavelli,machiavellian/machiavelli,machiavellian/machiavelli