From 95557ab37d3168404dcd638e26320a56137c9fd3 Mon Sep 17 00:00:00 2001 From: dadav <33197631+dadav@users.noreply.github.com> Date: Mon, 2 Dec 2019 19:20:47 +0100 Subject: [PATCH] Axes information will be lost otherwise --- pwnagotchi/plugins/default/session-stats.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pwnagotchi/plugins/default/session-stats.py b/pwnagotchi/plugins/default/session-stats.py index 1a84143..580cc07 100644 --- a/pwnagotchi/plugins/default/session-stats.py +++ b/pwnagotchi/plugins/default/session-stats.py @@ -65,6 +65,15 @@ TEMPLATE = """ }, rowSpacing: '0px' }, + highlighter: { + show: true, + sizeAdjust: 7.5 + }, + cursor:{ + show: true, + tooltipLocation:'sw' + } + }).replot({ axes:{ xaxis:{ renderer:$.jqplot.DateAxisRenderer, @@ -74,16 +83,8 @@ TEMPLATE = """ min: 0, tickOptions:{formatString:'%.2f'} } - }, - highlighter: { - show: true, - sizeAdjust: 7.5 - }, - cursor:{ - show: true, - tooltipLocation:'sw' } - }).replot({resetAxes: true}); + }); } function loadAll() {