removing debugging message.
This commit is contained in:
parent
d78930a08f
commit
1493409e95
1 changed files with 0 additions and 2 deletions
2
yaxis.go
2
yaxis.go
|
@ -1,7 +1,6 @@
|
||||||
package chart
|
package chart
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"math"
|
"math"
|
||||||
"sort"
|
"sort"
|
||||||
)
|
)
|
||||||
|
@ -55,7 +54,6 @@ func (ya YAxis) getTickStep(r Renderer, ra Range, vf ValueFormatter) float64 {
|
||||||
func (ya YAxis) generateTicksWithStep(ra Range, step float64, vf ValueFormatter) []Tick {
|
func (ya YAxis) generateTicksWithStep(ra Range, step float64, vf ValueFormatter) []Tick {
|
||||||
var ticks []Tick
|
var ticks []Tick
|
||||||
for cursor := ra.Min; cursor < ra.Max; cursor += step {
|
for cursor := ra.Min; cursor < ra.Max; cursor += step {
|
||||||
println("yaxis tick:", fmt.Sprintf("%.2f", cursor))
|
|
||||||
ticks = append(ticks, Tick{
|
ticks = append(ticks, Tick{
|
||||||
Value: cursor,
|
Value: cursor,
|
||||||
Label: vf(cursor),
|
Label: vf(cursor),
|
||||||
|
|
Loading…
Reference in a new issue