diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx index 1662f44d1e421..e63d30022360e 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx @@ -66,9 +66,9 @@ export function ServiceOverviewThroughputChart({ type: 'linemark', color: theme.eui.euiColorVis0, title: i18n.translate( - 'xpack.apm.serviceOverview.throughputChart.currentPeriodLabel', + 'xpack.apm.serviceOverview.throughputChart.traffic', { - defaultMessage: 'Current period', + defaultMessage: 'Traffic', } ), }, diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx index 4a388b13d7d22..4a0972b519ad5 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx @@ -19,13 +19,6 @@ function yLabelFormat(y?: number | null) { return asPercent(y || 0, 1); } -function yTickFormat(y?: number | null) { - return i18n.translate('xpack.apm.chart.averagePercentLabel', { - defaultMessage: '{y} (avg.)', - values: { y: yLabelFormat(y) }, - }); -} - interface Props { height?: number; showAnnotations?: boolean; @@ -84,13 +77,12 @@ export function TransactionErrorRateChart({ type: 'linemark', color: theme.eui.euiColorVis7, hideLegend: true, - title: i18n.translate('xpack.apm.errorRate.currentPeriodLabel', { - defaultMessage: 'Current period', + title: i18n.translate('xpack.apm.errorRate.chart.errorRate', { + defaultMessage: 'Error rate (avg.)', }), }, ]} yLabelFormat={yLabelFormat} - yTickFormat={yTickFormat} yDomain={{ min: 0, max: 1 }} />