bugfixes with mixed ranges.

This commit is contained in:
Will Charczuk 2016-07-10 17:19:44 -07:00
parent 9aa2a45a39
commit e781e7b4e1
4 changed files with 59 additions and 59 deletions

View file

@ -58,6 +58,9 @@ func (ya YAxis) generateTicksWithStep(ra Range, step float64, vf ValueFormatter)
Value: cursor,
Label: vf(cursor),
})
if len(ticks) == 20 {
return ticks
}
}
return ticks
}