Skip to content

Commit

Permalink
Replace TSVB timeseries charts with elastic-charts (#33558)
Browse files Browse the repository at this point in the history
* Replace TSVB timeseries charts with elastic-charts

* Add sort index for series

* Update src/legacy/core_plugins/metrics/public/visualizations/views/timeseries/index.js

Co-Authored-By: Nick Partridge <nick.ryan.partridge@gmail.com>

* Fix PR comments

* fix issue with scaling

* fix crosshair styles for bar
  • Loading branch information
sulemanof authored and alexwizp committed Sep 6, 2019
1 parent bf9c86f commit ab24359
Show file tree
Hide file tree
Showing 87 changed files with 1,937 additions and 1,902 deletions.
2 changes: 1 addition & 1 deletion src/legacy/core_plugins/metrics/common/set_is_reversed.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const isBackgroundDark = (backgroundColor, currentTheme) => {
const themeIsDark = isThemeDark(currentTheme);

// If a background color doesn't exist or it inherits, pass back if it's a darktheme
if (backgroundColor === undefined || backgroundColor === 'inherit') {
if (!backgroundColor || backgroundColor === 'inherit') {
return themeIsDark;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ import { AddDeleteButtons } from './add_delete_buttons';
import { ColorPicker } from './color_picker';
import { FieldSelect } from './aggs/field_select';
import uuid from 'uuid';
import { IconSelect } from './icon_select';
import { IconSelect } from './icon_select/icon_select';
import { YesNo } from './yes_no';
import { QueryBarWrapper } from './query_bar_wrapper';
import { getDefaultQueryLanguage } from './lib/get_default_query_language';

import {
htmlIdGenerator,
EuiFlexGroup,
Expand Down
127 changes: 0 additions & 127 deletions src/legacy/core_plugins/metrics/public/components/icon_select.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ab24359

Please sign in to comment.