bugfixes with mixed ranges.
This commit is contained in:
parent
9aa2a45a39
commit
e781e7b4e1
4 changed files with 59 additions and 59 deletions
4
xaxis.go
4
xaxis.go
|
|
@ -71,6 +71,10 @@ func (xa XAxis) generateTicksWithStep(ra Range, step float64, vf ValueFormatter)
|
|||
Value: cursor,
|
||||
Label: vf(cursor),
|
||||
})
|
||||
|
||||
if len(ticks) == 20 {
|
||||
return ticks
|
||||
}
|
||||
}
|
||||
return ticks
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue