Skip to content

Commit

Permalink
add doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
valner committed Jul 24, 2024
1 parent 571c833 commit 8b085ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions timeseries/timeseries.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ func FieldOverride(m fields.Matcher, opts ...fields.OverrideOption) Option {
}
}

// ConnectNulls allow to connect lines with null values
func ConnectNulls(enabled bool) Option {
return func(timeseries *TimeSeries) error {
timeseries.Builder.TimeseriesPanel.FieldConfig.Defaults.Custom.SpanNulls = enabled
Expand Down

0 comments on commit 8b085ee

Please sign in to comment.