Skip to content

Commit

Permalink
update: add series options min/max (#422)
Browse files Browse the repository at this point in the history
* Added configuration options to set the minimum and maximum values of a gauge

---------

Co-authored-by: Kevin Fullerton <kevin.fullerton1980@gmail.com>
  • Loading branch information
Koooooo-7 and kgf1980 committed May 12, 2024
1 parent 48b021d commit c992342
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/series.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ type SingleSeries struct {
AxisTick *opts.AxisTick `json:"axisTick,omitempty"`
Detail *opts.Detail `json:"detail,omitempty"`
Title *opts.Title `json:"title,omitempty"`
Min int `json:"min,omitempty"`
Max int `json:"max,omitempty"`

Large types.Bool `json:"large,omitempty"`
LargeThreshold int `json:"largeThreshold,omitempty"`
Expand Down

0 comments on commit c992342

Please sign in to comment.