commit | 67ced9af764aa080ea4d3b4a38858f8c7f7f2344 | [log] [tgz] |
---|---|---|
author | Michael Anthony Knyszek <mknyszek@google.com> | Wed Jun 15 19:44:06 2022 +0000 |
committer | Michael Knyszek <mknyszek@google.com> | Thu Jun 16 02:48:12 2022 +0000 |
tree | 0a21e261a5f2e2397fbc8c13f28d4ab02c4a6233 | |
parent | ee6e531dd5a95991130722f6d0bf68ae36b4b893 [diff] |
perf: use higher contrast red and blue in dashboard graph gradients Change-Id: Iea5625f5b143b7f0a806adfdf022ee5347304330 Reviewed-on: https://go-review.googlesource.com/c/build/+/412379 Reviewed-by: Michael Pratt <mpratt@google.com>
diff --git a/third_party/bandchart/bandchart.js b/third_party/bandchart/bandchart.js index 5369555..9e2ba69 100644 --- a/third_party/bandchart/bandchart.js +++ b/third_party/bandchart/bandchart.js
@@ -68,11 +68,11 @@ const defs = svg.append("defs") const maxHalfColorValue = 0.10; - const maxHalfColorOpacity = 0.25; + const maxHalfColorOpacity = 0.5; // Draw top half. - const goodColor = "blue"; - const badColor = "red"; + const goodColor = "#005AB5"; + const badColor = "#DC3220"; // By default, lower is better. var bottomColor = goodColor;