From 53e23faf75ea2494684423a5cb4ad54ffb291e51 Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Sat, 16 Jun 2018 08:14:39 -0400 Subject: [PATCH] Disable modebar buttons on line charts No one seems to like the buttons that appear on hover. Our charts are generally small enough that the modebar obscures the data. Also the buttons aren't working properly since clicking any of them just takes you to a Prometheus page. Let's just disable the buttons. The buttons themselves are customizable, so we could bring this back and leave only the buttons we find really useful. I've only seen the issue on line charts. --- frontend/public/components/graphs/line.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/public/components/graphs/line.jsx b/frontend/public/components/graphs/line.jsx index 3c5e0b843894..940d7b3ab87b 100644 --- a/frontend/public/components/graphs/line.jsx +++ b/frontend/public/components/graphs/line.jsx @@ -53,6 +53,7 @@ export class Line extends BaseGraph { }; this.options = { displaylogo: false, + displayModeBar: false, }; this.style = { width: '100%' }; this.onPlotlyRelayout = e => {