Skip to content

Commit eee4bfa

Browse files
committed
[ML] Remove unneeded import and margin.
1 parent 8570a4b commit eee4bfa

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

x-pack/plugins/ml/public/application/components/data_grid/column_chart.tsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ import { EuiDataGridColumn } from '@elastic/eui';
1212

1313
import './column_chart.scss';
1414

15-
import {
16-
isNumericChartData,
17-
isUnsupportedChartData,
18-
useColumnChart,
19-
ChartData,
20-
} from './use_column_chart';
15+
import { isUnsupportedChartData, useColumnChart, ChartData } from './use_column_chart';
2116

2217
interface Props {
2318
chartData: ChartData;
@@ -36,9 +31,9 @@ export const ColumnChart: FC<Props> = ({ chartData, columnType }) => {
3631
theme={{
3732
background: { color: 'transparent' },
3833
chartMargins: {
39-
left: 4,
40-
right: 4,
41-
top: 5,
34+
left: 0,
35+
right: 0,
36+
top: 0,
4237
bottom: 1,
4338
},
4439
chartPaddings: {

0 commit comments

Comments
 (0)