Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin-telecom
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
wendelin-telecom
Commits
ef76d507
Commit
ef76d507
authored
Apr 05, 2023
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors_wendelin: hide/show group trace together
parent
7b26b31b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
bt5/ors_wendelin/PathTemplateItem/web_page_module/ors_e_utran_ip_throughput_kpi_js.js
...eItem/web_page_module/ors_e_utran_ip_throughput_kpi_js.js
+7
-3
bt5/ors_wendelin/PathTemplateItem/web_page_module/ors_e_utran_ip_throughput_kpi_js.xml
...Item/web_page_module/ors_e_utran_ip_throughput_kpi_js.xml
+2
-2
No files found.
bt5/ors_wendelin/PathTemplateItem/web_page_module/ors_e_utran_ip_throughput_kpi_js.js
View file @
ef76d507
...
...
@@ -51,6 +51,7 @@
type
:
'
scatter
'
,
line
:
color
,
name
:
'
IPThp.
'
+
i
,
legendgroup
:
'
legendgroup
'
+
i
,
hovertemplate
:
'
Date: %{x}<br>Download: %{y} Mbit/s
'
});
data_list
.
push
({
...
...
@@ -62,6 +63,7 @@
opacity
:
0.3
,
showlegend
:
false
,
fill
:
'
tonexty
'
,
legendgroup
:
'
legendgroup
'
+
i
,
hoverinfo
:
'
none
'
});
}
...
...
@@ -98,7 +100,9 @@
raw_dl_lo
,
raw_dl_hi
,
raw_ul_lo
,
raw_ul_hi
;
raw_ul_hi
,
download_link
=
gadget
.
element
.
querySelector
(
'
.download-link
'
),
upload_link
=
gadget
.
element
.
querySelector
(
'
.upload-link
'
);
for
(
i
=
0
;
i
<
graph_data
.
length
;
i
+=
1
)
{
if
(
date
.
indexOf
(
graph_data
[
i
][
0
])
==
-
1
)
{
date
.
push
(
graph_data
[
i
][
0
]);
...
...
@@ -131,7 +135,7 @@
download_data
=
getPlotData
(
dl_lo
,
dl_hi
,
date
);
upload_data
=
getPlotData
(
ul_lo
,
ul_hi
,
date
);
Plotly
.
newPlot
(
gadget
.
element
.
querySelector
(
'
.download-link
'
)
,
download_link
,
download_data
,
{
/*
...
...
@@ -157,7 +161,7 @@
);
Plotly
.
newPlot
(
gadget
.
element
.
querySelector
(
'
.upload-link
'
)
,
upload_link
,
upload_data
,
{
/*
...
...
bt5/ors_wendelin/PathTemplateItem/web_page_module/ors_e_utran_ip_throughput_kpi_js.xml
View file @
ef76d507
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1007.3
2864.56533.30259
</string>
</value>
<value>
<string>
1007.3
4352.37418.49595
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>
16806
10637.0
</float>
<float>
16806
99889.54
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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