heatmaps: part 4

This commit is contained in:
nym21
2026-05-30 11:36:49 +02:00
parent e43b53b429
commit cc8fde59e8
11 changed files with 688 additions and 78 deletions
+6 -2
View File
@@ -8,7 +8,10 @@ import {
} from "./panes/chart.js";
import { init as initExplorer } from "./explorer/index.js";
import { init as initSearch } from "./panes/search.js";
import { init as initHeatmap } from "../src/heatmap/index.js";
import {
init as initHeatmap,
setOption as setHeatmapOption,
} from "../src/heatmap/index.js";
import { readStored, removeStored, writeToStorage } from "./utils/storage.js";
import {
asideElement,
@@ -153,9 +156,10 @@ function initSelected() {
element = heatmapElement;
if (firstTimeLoadingHeatmap) {
initHeatmap(option);
initHeatmap();
}
firstTimeLoadingHeatmap = false;
setHeatmapOption(option);
break;
}