Merge pull request #71 from mrezai/dashboard
Fixed dashboard example crash because of index out of range
This commit is contained in:
commit
7dc4fcbdf6
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user