Support timeline

This commit is contained in:
Vijay Karthik 2025-02-18 15:39:44 -08:00
parent 406d35c6a6
commit a1f58d4315
9 changed files with 246 additions and 22 deletions

View file

@ -129,6 +129,9 @@ func (r *axisRange) getHeight(value float64) int {
}
func (r *axisRange) getRestHeight(value float64) int {
if math.IsNaN(value) {
return -1
}
return r.size - r.getHeight(value)
}