diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/monitoring/components/charts/time_series.vue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/monitoring/components/charts/time_series.vue b/app/assets/javascripts/monitoring/components/charts/time_series.vue index 02e7a7ba0a6..4796f456bc5 100644 --- a/app/assets/javascripts/monitoring/components/charts/time_series.vue +++ b/app/assets/javascripts/monitoring/components/charts/time_series.vue @@ -58,6 +58,11 @@ export default { required: false, default: () => [], }, + legendText: { + type: Object, + required: false, + default: () => ({ average: __('Avg'), max: __('Max') }), + }, }, data() { return { @@ -304,6 +309,7 @@ export default { :thresholds="thresholds" :width="width" :height="height" + :legend-text="legendText" @updated="onChartUpdated" > <template v-if="tooltip.isDeployment"> |