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
+2 -7
View File
@@ -25,6 +25,7 @@ import { createNetworkSection } from "./network.js";
import { createMiningSection } from "./mining.js";
import { createCointimeSection } from "./cointime.js";
import { createInvestingSection } from "./investing.js";
import { demoHeatmapOption } from "../../src/heatmap/demo.js";
// Re-export types for external consumers
export * from "./types.js";
@@ -298,13 +299,7 @@ export function createPartialOptions() {
{
name: "Heatmaps",
tree: [
{
kind: "heatmap",
name: "Demo",
title: "Heatmap Demo",
},
],
tree: [demoHeatmapOption],
},
{
+2 -2
View File
@@ -107,14 +107,14 @@
* @typedef {Object} PartialHeatmapOptionSpecific
* @property {"heatmap"} kind
* @property {string} title
* @property {HeatmapDataSource} data
* @property {HeatmapPointSource} points
* @property {HeatmapCells} cells
* @property {HeatmapColorFn} color
* @property {HeatmapTooltipFn} [tooltip]
*
* @typedef {PartialOption & PartialHeatmapOptionSpecific} PartialHeatmapOption
*
* @typedef {Required<PartialHeatmapOption> & ProcessedOptionAddons} HeatmapOption
* @typedef {Required<Omit<PartialHeatmapOption, "tooltip">> & Pick<PartialHeatmapOption, "tooltip"> & ProcessedOptionAddons} HeatmapOption
*
* @typedef {Object} PartialUrlOptionSpecific
* @property {"link"} [kind]