test fixes
This commit is contained in:
parent
cea31c6c23
commit
eb61fbfd0f
1
chart.go
1
chart.go
|
@ -178,6 +178,7 @@ func (c Chart) getRanges() (xrange, yrange, yrangeAlt Range) {
|
|||
} else if seriesAxis == YAxisSecondary {
|
||||
minya = math.Min(minya, vy)
|
||||
maxya = math.Max(maxya, vy)
|
||||
hasSecondaryAxis = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ func TestTimeValueFormatterWithFormat(t *testing.T) {
|
|||
assert := assert.New(t)
|
||||
|
||||
d := time.Now()
|
||||
di := d.Unix()
|
||||
di := TimeToFloat64(d)
|
||||
df := float64(di)
|
||||
|
||||
s := TimeValueFormatterWithFormat(d, DefaultDateFormat)
|
||||
|
|
Loading…
Reference in New Issue
Block a user