Skip to content

Commit

Permalink
[Vis Colors] Update default color in TSVB to use `ouiPaletteColorBlin…
Browse files Browse the repository at this point in the history
…d()[0]` (#4363)

Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>
(cherry picked from commit 333e2b3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
github-actions[bot] authored and manasvinibs committed Jun 26, 2023
1 parent 8db23c9 commit 2647772
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/vis_type_timeseries/public/metrics_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

import { i18n } from '@osd/i18n';

import { euiPaletteColorBlind } from '@elastic/eui';
// @ts-ignore
import { metricsRequestHandler } from './request_handler';
import { EditorController } from './application';
Expand All @@ -53,7 +54,7 @@ export const metricsVisDefinition = {
series: [
{
id: '61ca57f1-469d-11e7-af02-69e470af7417',
color: '#68BC00',
color: euiPaletteColorBlind()[0],
split_mode: 'everything',
split_color_mode: 'opensearchDashboards',
metrics: [
Expand Down

0 comments on commit 2647772

Please sign in to comment.