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
bd82e61f
Commit
bd82e61f
authored
Jul 28, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added monitoring_paths component to show multiple time series on a single chart
parent
4c600fe7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
app/assets/javascripts/monitoring/components/monitoring_paths.vue
...ts/javascripts/monitoring/components/monitoring_paths.vue
+40
-0
No files found.
app/assets/javascripts/monitoring/components/monitoring_paths.vue
0 → 100644
View file @
bd82e61f
<
script
>
export
default
{
props
:
{
generatedLinePath
:
{
type
:
String
,
required
:
true
,
},
generatedAreaPath
:
{
type
:
String
,
required
:
true
,
},
lineColor
:
{
type
:
String
,
required
:
true
,
},
areaColor
:
{
type
:
String
,
required
:
true
,
},
},
};
</
script
>
<
template
>
<g>
<path
class=
"metric-area"
:d=
"generatedAreaPath"
:fill=
"areaColor"
transform=
"translate(-5, 20)"
>
</path>
<path
class=
"metric-line"
:d=
"generatedLinePath"
:stroke=
"lineColor"
fill=
"none"
stroke-width=
"2"
transform=
"translate(-5, 20)"
>
</path>
</g>
</
template
>
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