Skip to content
Snippets Groups Projects
Unverified Commit 9b9adb6b authored by Rudy Crespo's avatar Rudy Crespo :three:
Browse files

Remove legend values from DORA Performers Score chart

Removes the avg/max text from the chart's legend

Changelog: changed
EE: true
parent 163d8aa0
No related branches found
No related tags found
1 merge request!162904Remove legend values from DORA Performers Score chart
......@@ -247,8 +247,9 @@ export default {
:x-axis-type="$options.xAxisType"
:x-axis-title="$options.xAxisTitle"
:y-axis-title="$options.yAxisTitle"
:include-legend-avg-max="false"
:format-tooltip-text="formatTooltipText"
height="380"
:height="380"
responsive
@created="onChartCreated"
>
......
......@@ -105,6 +105,7 @@ describe('DoraPerformersScoreChart', () => {
xAxisType: 'category',
xAxisTitle: '',
yAxisTitle: '',
includeLegendAvgMax: false,
});
});
});
......
......@@ -104,14 +104,6 @@
expect(dora_performers_score).to have_content format(_("DORA performers score for %{name} group"), name: group.name)
expect(dora_performers_chart_title).to have_content _("Total projects (3) with DORA metrics")
within dora_performers_score do
legend = find_by_testid('gl-chart-legend')
expect(legend).to have_content 'High Avg: 1 · Max: 1'
expect(legend).to have_content 'Medium Avg: 750m · Max: 1'
expect(legend).to have_content 'Low Avg: 750m · Max: 2'
expect(legend).to have_content 'Not included Avg: 500m · Max: 1'
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment