-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
measurements: Allow multiple thresholds
The measurements panel now expects each collection to have an array of threshold values. The first value is displayed as a solid line and all others are displayed as dashed lines. This change is backwards compatible because single value thresholds are converted to an array during the loading of the measurements JSON. Note `collection.thresholds` takes precedence over the deprecated `collection.threshold`, so the single value will be ignored if `collection.thresholds` exists. The toggle for showing thresholds applies to all threshold values. We can add functionality for individual toggles in the future.
- Loading branch information
1 parent
595c1e8
commit daf2f1e
Showing
4 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters