diff --git a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map_scale.test.tsx.snap b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map_scale.test.tsx.snap index 30ed8d0d43..a4ff8b0369 100644 --- a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map_scale.test.tsx.snap +++ b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map_scale.test.tsx.snap @@ -85,6 +85,7 @@ exports[`Service map scale component renders service map scale plot 1`] = ` "zeroline": false, }, "yaxis": Object { + "color": "0,0,0", "fixedrange": true, "range": Array [ 0, @@ -197,6 +198,7 @@ exports[`Service map scale component renders service map scale plot 1`] = ` "zeroline": false, }, "yaxis": Object { + "color": "0,0,0", "fixedrange": true, "range": Array [ 0, diff --git a/public/components/trace_analytics/components/common/plots/service_map_scale.tsx b/public/components/trace_analytics/components/common/plots/service_map_scale.tsx index 61bba28410..f1ac573ebe 100644 --- a/public/components/trace_analytics/components/common/plots/service_map_scale.tsx +++ b/public/components/trace_analytics/components/common/plots/service_map_scale.tsx @@ -7,6 +7,7 @@ import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiText } from '@elastic/eui'; import _ from 'lodash'; import React, { useEffect, useState } from 'react'; import { BarOrientation } from '../../../../../../common/constants/shared'; +import { uiSettingsService } from '../../../../../../common/utils'; import { Plt } from '../../../../visualizations/plotly/plot'; import unmatchedNode from '../../../images/unmatched_node.png'; import { getServiceMapScaleColor } from '../helper_functions'; @@ -88,6 +89,7 @@ export function ServiceMapScale(props: { showticklabels: true, tickvals: props.ticks, ticktexts: props.ticks, + color: uiSettingsService.get('theme:darkMode') ? '255,255,255' : '0,0,0', }, margin: { l: 0, diff --git a/public/components/trace_analytics/components/services/__tests__/__snapshots__/services_table.test.tsx.snap b/public/components/trace_analytics/components/services/__tests__/__snapshots__/services_table.test.tsx.snap index 18768e49f0..16eca8ff31 100644 --- a/public/components/trace_analytics/components/services/__tests__/__snapshots__/services_table.test.tsx.snap +++ b/public/components/trace_analytics/components/services/__tests__/__snapshots__/services_table.test.tsx.snap @@ -1933,9 +1933,12 @@ exports[`Services table component renders jaeger services table 1`] = ` className="euiFlexItem euiFlexItem--flexGrowZero" onClick={[Function]} > - +