Skip to content

Commit

Permalink
[ML] Edits following review
Browse files Browse the repository at this point in the history
  • Loading branch information
peteharverson committed Dec 15, 2021
1 parent 7f89c18 commit 69c0bd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export const DocumentCountChart: FC<Props> = ({
services: { data, uiSettings, fieldFormats, charts },
} = useDataVisualizerKibana();

const chartTheme = charts?.theme.useChartsTheme();
const chartBaseTheme = charts?.theme.useChartsBaseTheme();
const chartTheme = charts.theme.useChartsTheme();
const chartBaseTheme = charts.theme.useChartsBaseTheme();

const xAxisFormatter = fieldFormats.deserialize({ id: 'date' });
const useLegacyTimeAxis = uiSettings.get('visualization:useLegacyTimeAxis', false);
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/data_visualizer/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface DataVisualizerStartDependencies {
security?: SecurityPluginSetup;
share: SharePluginStart;
lens?: LensPublicStart;
charts?: ChartsPluginStart;
charts: ChartsPluginStart;
dataViewFieldEditor?: IndexPatternFieldEditorStart;
fieldFormats: FieldFormatsStart;
uiActions?: UiActionsStart;
Expand Down

0 comments on commit 69c0bd3

Please sign in to comment.