This commit is contained in:
Your Name
2025-10-17 14:35:42 -04:00
parent 311c9e1e6d
commit 50c20585cb
2 changed files with 63 additions and 18 deletions

View File

@@ -322,6 +322,12 @@
const binDuration = parseFloat(document.getElementById('bin-duration').value) * 1000; // Convert to milliseconds
const xAxisLabelFormat = document.getElementById('x-axis-format').value;
// Stop any existing bin rotation timer before recreating chart
if (chart && chart.binCheckInterval) {
clearInterval(chart.binCheckInterval);
chart.binCheckInterval = null;
}
// Recreate chart with new settings
chart = new ASCIIBarChart('chart-container', {
maxHeight: chartHeight,