rename histdata

This commit is contained in:
Bradley Cicenas
2017-01-12 15:06:35 +00:00
parent a2b2ddcb8e
commit 3a0df1c490
4 changed files with 27 additions and 27 deletions

View File

@@ -9,12 +9,12 @@ import (
type ExpandedNet struct {
*ui.Sparklines
rxHist DiffHistData
txHist DiffHistData
rxHist DiffHist
txHist DiffHist
}
func NewExpandedNet() *ExpandedNet {
net := &ExpandedNet{ui.NewSparklines(), NewDiffHistData(50), NewDiffHistData(50)}
net := &ExpandedNet{ui.NewSparklines(), NewDiffHist(50), NewDiffHist(50)}
net.BorderLabel = "NET"
net.Height = 6
net.Width = 50