Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
48ab3045
Commit
48ab3045
authored
Oct 08, 2019
by
Martin Wortschack
Committed by
Kushal Pandya
Oct 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak style for scatterplot trendline
Use different color for the trendline and bring to front
parent
309457b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
ee/app/assets/javascripts/analytics/shared/constants.js
ee/app/assets/javascripts/analytics/shared/constants.js
+3
-6
No files found.
ee/app/assets/javascripts/analytics/shared/constants.js
View file @
48ab3045
...
@@ -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
,
},
},
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment