testing histogram series.
This commit is contained in:
parent
d088213b1e
commit
bff8e074fd
9 changed files with 203 additions and 18 deletions
2
value.go
2
value.go
|
|
@ -32,7 +32,7 @@ func (vs Values) Normalize() []Value {
|
|||
output[index] = Value{
|
||||
Style: v.Style,
|
||||
Label: v.Label,
|
||||
Value: (v.Value / total),
|
||||
Value: RoundDown(v.Value/total, 0.001),
|
||||
}
|
||||
}
|
||||
return output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue