From 051d04fca008844b5be61cdc820fcb0eaae0b274 Mon Sep 17 00:00:00 2001 From: Ramneet Chopra Date: Wed, 17 Aug 2022 07:12:17 +0000 Subject: [PATCH] intend Signed-off-by: Ramneet Chopra --- dashboards-observability/common/constants/colors.ts | 2 +- dashboards-observability/common/types/explorer.ts | 2 +- .../config_panes/config_controls/config_chart_options.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboards-observability/common/constants/colors.ts b/dashboards-observability/common/constants/colors.ts index adf3f4950..3845e41a0 100644 --- a/dashboards-observability/common/constants/colors.ts +++ b/dashboards-observability/common/constants/colors.ts @@ -166,7 +166,7 @@ export const COLOR_PALETTES = [ type: 'gradient', }, ]; -export const HEX_CONTRAST_COLOR = 0xFFFFFF; +export const HEX_CONTRAST_COLOR = 0xffffff; export const PIE_PALETTES = [ { value: DEFAULT_PALETTE, diff --git a/dashboards-observability/common/types/explorer.ts b/dashboards-observability/common/types/explorer.ts index 9d2ed3cd6..9d3cb5072 100644 --- a/dashboards-observability/common/types/explorer.ts +++ b/dashboards-observability/common/types/explorer.ts @@ -273,4 +273,4 @@ export interface HistogramConfigList { export interface ConfigList { dimensions?: ConfigListEntry[] | HistogramConfigList[]; metrics?: ConfigListEntry[]; -} \ No newline at end of file +} diff --git a/dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_chart_options.tsx b/dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_chart_options.tsx index 20237d031..ea5cdfe7e 100644 --- a/dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_chart_options.tsx +++ b/dashboards-observability/public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_chart_options.tsx @@ -19,7 +19,7 @@ export const ConfigChartOptions = ({ handleConfigChange, }: any) => { const { data } = visualizations; - const { data: vizData = {}, metadata: { fields = [] } = {} } = data?.rawVizData; + const { data: vizData = {}, metadata: { fields = [] } = {}, tree_map } = data?.rawVizData; const handleConfigurationChange = useCallback( (stateFiledName) => {