diff --git a/_example/dashboard.go b/_example/dashboard.go index ecf8921..dadea65 100644 --- a/_example/dashboard.go +++ b/_example/dashboard.go @@ -126,8 +126,8 @@ func main() { list.Items = strs[t%9:] sp.Lines[0].Data = spdata[:30+t%50] sp.Lines[1].Data = spdata[:35+t%50] - lc.Data = sinps[t/2:] - lc1.Data = sinps[2*t:] + lc.Data = sinps[t/2%220:] + lc1.Data = sinps[2*t%220:] bc.Data = bcdata[t/2%10:] ui.Render(p, list, g, sp, lc, bc, lc1, p1) }