removing debugging message.

This commit is contained in:
Will Charczuk 2016-07-10 11:24:25 -07:00
parent d78930a08f
commit 1493409e95

View File

@ -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),