mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
* Removing points from Metrics Explorer and Metric Detail Page; Fixing bug with metric detail page labels; * Remove points configuration
This commit is contained in:
parent
d79bbabaa9
commit
d80895cdf3
3 changed files with 2 additions and 14 deletions
|
@ -126,7 +126,7 @@ export const ChartSection = ({
|
|||
key={`series-${section.id}-${series.id}`}
|
||||
id={`series-${section.id}-${series.id}`}
|
||||
series={series}
|
||||
name={getChartName(section, series.id, series.label)}
|
||||
name={getChartName(section, series.id, series.id)}
|
||||
type={getChartType(section, series.id)}
|
||||
color={getChartColor(section, series.id)}
|
||||
stack={visConfig.stacked}
|
||||
|
|
|
@ -45,12 +45,6 @@ export const AreaChart = ({ id, color, series, name, type, stack }: Props) => {
|
|||
strokeWidth: InfraMetricLayoutVisualizationType.area === type ? 1 : 2,
|
||||
visible: true,
|
||||
},
|
||||
point: {
|
||||
visible: true,
|
||||
radius: 1,
|
||||
strokeWidth: 2,
|
||||
opacity: 1,
|
||||
},
|
||||
};
|
||||
const colors: DataSeriesColorsValues = {
|
||||
colorValues: [],
|
||||
|
|
|
@ -63,12 +63,6 @@ export const MetricsExplorerAreaChart = ({ metric, id, series, type, stack }: Pr
|
|||
opacity: 0.5,
|
||||
visible: type === MetricsExplorerChartType.area,
|
||||
},
|
||||
point: {
|
||||
visible: true,
|
||||
radius: 2,
|
||||
strokeWidth: 2,
|
||||
opacity: 1,
|
||||
},
|
||||
};
|
||||
return (
|
||||
<AreaSeries
|
||||
|
@ -87,7 +81,7 @@ export const MetricsExplorerAreaChart = ({ metric, id, series, type, stack }: Pr
|
|||
);
|
||||
};
|
||||
|
||||
export const MetricsExplorerBarChart = ({ metric, id, series, type, stack }: Props) => {
|
||||
export const MetricsExplorerBarChart = ({ metric, id, series, stack }: Props) => {
|
||||
const color =
|
||||
(metric.color && colorTransformer(metric.color)) ||
|
||||
colorTransformer(MetricsExplorerColor.color0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue