I'm trying to make a stock chart, and were looking for a way to properly split the price on the x-axis and the date (in milliseconds) on the y-axis.
if I for example have
I think it's as simple as:
(high - low) / 10
That gets your step size. Then, loop through adding that step size each iteration.