Commit 800d80a1 authored by Phil Hughes's avatar Phil Hughes

Merge branch '320748-change-success-color-for-graph' into 'master'

Change color of successful pipelines in charts

See merge request gitlab-org/gitlab!65987
parents 62c9b458 40a54471
......@@ -225,11 +225,21 @@ export default {
{
name: 'success',
data: this.mergeLabelsAndValues(labels, success),
areaStyle: {
color: this.$options.successColor,
},
lineStyle: {
color: this.$options.successColor,
},
itemStyle: {
color: this.$options.successColor,
},
},
],
};
},
},
successColor: '#608b2f',
chartContainerHeight: CHART_CONTAINER_HEIGHT,
timesChartOptions: {
height: INNER_CHART_HEIGHT,
......
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