From f38547eb80dd36b575b812c38f6d2fb6fe31553a Mon Sep 17 00:00:00 2001 From: Davis McPhee Date: Wed, 2 Nov 2022 22:39:57 -0300 Subject: [PATCH] [Discover] Updating histogram labels and settings --- .../public/chart/breakdown_field_selector.tsx | 5 +++- .../public/chart/get_lens_attributes.ts | 24 +++++++++++++++---- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/plugins/unified_histogram/public/chart/breakdown_field_selector.tsx b/src/plugins/unified_histogram/public/chart/breakdown_field_selector.tsx index 1369ffce513d4..6a5a953d20781 100644 --- a/src/plugins/unified_histogram/public/chart/breakdown_field_selector.tsx +++ b/src/plugins/unified_histogram/public/chart/breakdown_field_selector.tsx @@ -9,6 +9,7 @@ import { EuiComboBox, EuiComboBoxOptionOption, useEuiTheme } from '@elastic/eui'; import { css } from '@emotion/react'; import { DataView, DataViewField } from '@kbn/data-views-plugin/common'; +import { i18n } from '@kbn/i18n'; import React, { useCallback } from 'react'; import { UnifiedHistogramBreakdownContext } from '../types'; @@ -47,7 +48,9 @@ export const BreakdownFieldSelector = ({ return (