From 94bd4e3a5f7ed4f6eb810f085b9803f153298562 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Wed, 26 Feb 2025 23:49:09 +0100 Subject: [PATCH] [JENKINS-75242] Use `{color: inherit}` for emphasis --- plugin/src/main/webapp/js/view-model.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugin/src/main/webapp/js/view-model.js b/plugin/src/main/webapp/js/view-model.js index a9ac99c7..0b516a80 100644 --- a/plugin/src/main/webapp/js/view-model.js +++ b/plugin/src/main/webapp/js/view-model.js @@ -129,6 +129,11 @@ const CoverageChartGenerator = function ($, proxy) { // NOPMD color: coveredColor } }, + emphasis: { + itemStyle: { + color: 'inherit' + } + }, label: { show: true, position: 'insideLeft', @@ -149,6 +154,11 @@ const CoverageChartGenerator = function ($, proxy) { // NOPMD color: missedColor } }, + emphasis: { + itemStyle: { + color: 'inherit' + } + }, label: { show: true, position: 'insideRight',