MCPcopy Create free account
hub / github.com/csskit/csskit / refreshCharts

Function refreshCharts

website/script/benchmarks.js:14–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12const MAX_POINTS = 30;
13
14function 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
30function updateFilterUI() {
31 // Remove existing filter indicator

Callers 3

updateFilterUIFunction · 0.85

Calls 2

initializeChartsFunction · 0.85
updateFilterUIFunction · 0.85

Tested by

no test coverage detected