From eeac77958928462e2fa1125998702495a682665f Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 13 Apr 2018 13:28:47 +0200 Subject: [PATCH] router.html: Three columns for legend in neighbor plot Signed-off-by: Adrian Schmutzler --- ffmap/web/static/js/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmap/web/static/js/graph.js b/ffmap/web/static/js/graph.js index 4a54975..0d0ab25 100644 --- a/ffmap/web/static/js/graph.js +++ b/ffmap/web/static/js/graph.js @@ -132,7 +132,7 @@ function neighbour_graph(neigh_label) { xaxis: {mode: "time", timezone: "browser"}, selection: {mode: "x"}, yaxis: {min: 0, autoscaleMargin: 0.5}, - legend: {noColumns: 2, hideable: true}, + legend: {noColumns: 3, hideable: true}, series: {downsample: {threshold: Math.floor(meshstat.width() * points_per_px)}} }); setup_plot_zoom(plot, pdata, len);