diff --git a/README.md b/README.md index 11ea453..08f5895 100755 --- a/README.md +++ b/README.md @@ -202,6 +202,11 @@ color_thresholds: - value: 4 color: "#0000ff" ``` +The example above will result in the following colors of the graph: if value is +* between `0` (including this value) and `1.33333`, the color is `#ff0000`, +* between `1.33333` (including this value) and `2.666667`, the color is `#ffff00`, +* between `2.666667` (including this value) and `4`, the color is `#00ff00`, +* equal to or more than `4`, the color is `#0000ff`. As a shorthand, you can just use a color string for the stops that you want interpolated: