refactor data hist structs, add Val field

This commit is contained in:
Bradley Cicenas
2017-03-01 12:03:19 +11:00
parent 423ad8e753
commit 1c74377cbd
4 changed files with 48 additions and 62 deletions

View File

@@ -16,8 +16,8 @@ func NewExpandedCpu() *ExpandedCpu {
cpu.Width = 50
cpu.X = 0
cpu.Y = 4
cpu.Data = cpu.hist.data
cpu.DataLabels = cpu.hist.labels
cpu.Data = cpu.hist.Data
cpu.DataLabels = cpu.hist.Labels
cpu.AxesColor = ui.ColorDefault
cpu.LineColor = ui.ColorGreen
return cpu