test fixes
This commit is contained in:
parent
cea31c6c23
commit
eb61fbfd0f
2 changed files with 2 additions and 1 deletions
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 a new issue