bar charts!
This commit is contained in:
parent
818dd0113b
commit
7bb3fbf810
6 changed files with 539 additions and 19 deletions
4
tick.go
4
tick.go
|
|
@ -33,6 +33,10 @@ func (t Ticks) Less(i, j int) bool {
|
|||
|
||||
// GenerateContinuousTicks generates a set of ticks.
|
||||
func GenerateContinuousTicks(r Renderer, ra Range, isVertical bool, style Style, vf ValueFormatter) []Tick {
|
||||
if vf == nil {
|
||||
panic("vf is nil; did you remember to set a default value formatter?")
|
||||
}
|
||||
|
||||
var ticks []Tick
|
||||
min, max := ra.GetMin(), ra.GetMax()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue