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