From 33f6060dcb6b345e85f6af22003df6e7603be153 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Fri, 19 Jan 2024 03:19:47 +0300 Subject: [PATCH] Update README.md: thresholds --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 11ea453..2738b3a 100755 --- a/README.md +++ b/README.md @@ -202,6 +202,10 @@ color_thresholds: - value: 4 color: "#0000ff" ``` +i.e. if value is between "0" (including this value) & "1.33333" - color is "#ff0000", +between "1.33333" (including this value) & "2.666667" - color is "#ffff00", +between "2.666667" (including this value) & "4" - color is "#00ff00", +equal to or more than "4" - color is "#0000ff". As a shorthand, you can just use a color string for the stops that you want interpolated: