Commit 01f1b7b7 authored by Paul Graydon's avatar Paul Graydon

wendelin_telecom_base: Add y-axis range clamping to E-UTRAN IP Throughput KPI graph

parent 31a8159d
......@@ -31,18 +31,31 @@
}
function getDataPlotLayout(title) {
var yaxis_clipmax;
if (title == 'Downlink') {
yaxis_clipmax = 400;
} else if (title == 'Uplink') {
yaxis_clipmax = 150;
}
return {
'title' : {
'text': title
},
'xaxis': {
'autorange': true,
'autosize': true,
title: {
text: 'Date'
},
'autorange': true,
'autosize': true
}
},
'yaxis': {
'autorange': true,
'autorangeoptions': {
clipmax: yaxis_clipmax,
minallowed: -3
},
'fixedrange': true,
title: {
text: 'Mbit/s'
......
......@@ -238,7 +238,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1022.1464.21904.21555</string> </value>
<value> <string>1022.36430.45868.57753</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1736845003.04</float>
<float>1738943046.37</float>
<string>UTC</string>
</tuple>
</state>
......
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