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

@@ -6,11 +6,11 @@ import (
type ExpandedCpu struct {
*ui.LineChart
hist FloatHistData
hist FloatHist
}
func NewExpandedCpu() *ExpandedCpu {
cpu := &ExpandedCpu{ui.NewLineChart(), NewFloatHistData(60)}
cpu := &ExpandedCpu{ui.NewLineChart(), NewFloatHist(60)}
cpu.BorderLabel = "CPU"
cpu.Height = 10
cpu.Width = 50