()
| 12 | const MAX_POINTS = 30; |
| 13 | |
| 14 | function refreshCharts() { |
| 15 | // Destroy existing charts |
| 16 | charts.forEach((chart) => { |
| 17 | if (chart) { |
| 18 | chart.destroy(); |
| 19 | } |
| 20 | }); |
| 21 | charts = []; |
| 22 | |
| 23 | // Recreate charts with current filter |
| 24 | initializeCharts(); |
| 25 | |
| 26 | // Update UI to show current filter state |
| 27 | updateFilterUI(); |
| 28 | } |
| 29 | |
| 30 | function updateFilterUI() { |
| 31 | // Remove existing filter indicator |
no test coverage detected