Skip to content

Commit 9f96d8d

Browse files
committed
Remove points configuration
1 parent 7e854a9 commit 9f96d8d

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

x-pack/legacy/plugins/infra/public/components/metrics/sections/series_chart.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ export const AreaChart = ({ id, color, series, name, type, stack }: Props) => {
4545
strokeWidth: 'area' === type ? 1 : 2,
4646
visible: true,
4747
},
48-
point: {
49-
visible: false,
50-
radius: 1,
51-
strokeWidth: 2,
52-
opacity: 1,
53-
},
5448
};
5549
const colors: DataSeriesColorsValues = {
5650
colorValues: [],

x-pack/legacy/plugins/infra/public/components/metrics_explorer/series_chart.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ export const MetricsExplorerAreaChart = ({ metric, id, series, type, stack }: Pr
6363
opacity: 0.5,
6464
visible: type === MetricsExplorerChartType.area,
6565
},
66-
point: {
67-
visible: false,
68-
radius: 2,
69-
strokeWidth: 2,
70-
opacity: 1,
71-
},
7266
};
7367
return (
7468
<AreaSeries
@@ -87,7 +81,7 @@ export const MetricsExplorerAreaChart = ({ metric, id, series, type, stack }: Pr
8781
);
8882
};
8983

90-
export const MetricsExplorerBarChart = ({ metric, id, series, type, stack }: Props) => {
84+
export const MetricsExplorerBarChart = ({ metric, id, series, stack }: Props) => {
9185
const color =
9286
(metric.color && colorTransformer(metric.color)) ||
9387
colorTransformer(MetricsExplorerColor.color0);

0 commit comments

Comments
 (0)