Commit 0116ce66 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch '351686-fix-vsa-small-chart-units' into 'master'

Fix unit display for VSA charts

See merge request gitlab-org/gitlab!80707
parents d6692f4d 0a53ce82
......@@ -16,6 +16,15 @@ export default {
required: true,
},
},
additionalOptions: {
yAxis: [
{
axisLabel: {
formatter: (value) => value,
},
},
],
},
};
</script>
<template>
......@@ -26,5 +35,6 @@ export default {
y-axis-type="value"
:x-axis-title="__('Date')"
:y-axis-title="s__('CycleAnalytics|Number of tasks')"
:option="$options.additionalOptions"
/>
</template>
......@@ -43,6 +43,11 @@ export default {
formatter: (date) => dateFormat(date, dateFormats.defaultDate),
},
},
yAxis: {
axisLabel: {
formatter: (value) => value,
},
},
dataZoom: [
{
type: 'slider',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment