Skip to content

Commit

Permalink
Always send sparkline_decimal_precision for dashboards even if 0. (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: Travis Keep <travisk@vmware.com>
  • Loading branch information
keep94 and keep94 authored Nov 23, 2020
1 parent bd840db commit 161813a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ type ChartSetting struct {
ShowLabels bool `json:"showLabels,omitempty"`
ShowRawValues bool `json:"showRawValues,omitempty"`
SortValuesDescending bool `json:"sortValuesDescending,omitempty"`
SparklineDecimalPrecision int `json:"sparklineDecimalPrecision,omitempty"`
SparklineDecimalPrecision int `json:"sparklineDecimalPrecision"`
SparklineDisplayColor string `json:"sparklineDisplayColor,omitempty"`
SparklineDisplayFontSize string `json:"sparklineDisplayFontSize,omitempty"`
SparklineDisplayHorizontalPosition string `json:"sparklineDisplayHorizontalPosition,omitempty"`
Expand Down

0 comments on commit 161813a

Please sign in to comment.