Skip to content

Commit

Permalink
Add decimals field to graph panel.
Browse files Browse the repository at this point in the history
For grafana 3 and upper. Thank @d-ulyanov for the bug report.
  • Loading branch information
grafov committed Dec 7, 2016
1 parent 7e86205 commit 3997bd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grafana/panel.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ type (
Min *int `json:"min"`
Show bool `json:"show"`
} `json:"yaxes"` // was added in Grafana 3.x
Decimals *int `json:"decimals,omitempty"` // seems it was added in Grafana 3.x
}
TablePanel struct {
Columns []column `json:"columns"`
Expand Down

0 comments on commit 3997bd5

Please sign in to comment.