From 4ef627254c8e0b68d954161741146e5398b7e22e Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Sun, 17 Nov 2024 14:12:22 -0500 Subject: [PATCH] Turn off transition animations in scan chart --- auto_rx/autorx/static/js/scan_chart.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auto_rx/autorx/static/js/scan_chart.js b/auto_rx/autorx/static/js/scan_chart.js index 4ffb37d4..bcfd2462 100644 --- a/auto_rx/autorx/static/js/scan_chart.js +++ b/auto_rx/autorx/static/js/scan_chart.js @@ -44,6 +44,9 @@ function setup_scan_chart(){ scan_chart_obj = c3.generate({ bindto: '#scan_chart', data: scan_chart_spectra, + transition: { + duration: 0 + }, tooltip: { format: { title: function (d) { return (Math.round(d * 1000) / 1000) + " MHz"; },