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]` (opensearch-project#4363)

Signed-off-by: Manasvini B Suryanarayana <[email protected]>
  • Loading branch information
manasvinibs authored Jun 22, 2023
1 parent f298e7e commit 333e2b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Remove unused Sass in `tile_map` plugin ([#4110](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4110))
- [Table Visualization] Remove custom styling for text-align:center in favor of OUI utility class. ([#4164](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4164))
- Replace the use of `bluebird` in `saved_objects` plugin ([#4026](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4026))
- [Vis Colors] Update default color in TSVB to use `ouiPaletteColorBlind()[0]`([#4363](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4363))

### 🔩 Tests

Expand Down
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 333e2b3

Please sign in to comment.