Skip to content
代码片段 群组 项目
提交 c825bc93 编辑于 作者: Kushal Pandya's avatar Kushal Pandya
浏览文件

Merge branch 'mw-productivity-analytics-trendline-style' into 'master'

Productivity Analytics: Tweak style for scatterplot trendline

See merge request gitlab-org/gitlab!18247
No related branches found
No related tags found
无相关合并请求
...@@ -4,15 +4,12 @@ export const dateFormats = { ...@@ -4,15 +4,12 @@ export const dateFormats = {
defaultDateTime: 'mmm d, yyyy h:MMtt', defaultDateTime: 'mmm d, yyyy h:MMtt',
}; };
/**
* #1f78d1 --> $blue-500 (see variables.scss)
*/
export const scatterChartLineColor = '#1f78d1';
export const scatterChartLineProps = { export const scatterChartLineProps = {
default: { default: {
type: 'line', type: 'line',
showSymbol: false, showSymbol: false,
lineStyle: { color: scatterChartLineColor }, // By default zlevel is 2 for all series types.
// By increasing the zlevel to 3 we make sure that the trendline gets drawn in front of the dots in the chart.
zlevel: 3,
}, },
}; };
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册