summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-status')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
index 0c8cff8c0e..bd36f99dc5 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
@@ -132,7 +132,13 @@ return view.extend({
chan_analysis.offset_tbl[channel] = curr_offset+step;
createGraphHLine(G,curr_offset+step);
- createGraphText(G,curr_offset+step, channel);
+ if (is5GHz)
+ if (channel < 100)
+ createGraphText(G,curr_offset-(step/2), channel);
+ else
+ createGraphText(G,curr_offset-step, channel);
+ else
+ createGraphText(G,curr_offset+step, channel);
curr_offset += step;
if (is5GHz && freq_tbl[i+1]) {