API reference: @salmonui/charts/heat-map
HeatMapApitype
import type { HeatMapApi } from '@salmonui/charts/heat-map';type HeatMapApi = VizInstance;
| Name | Signature | Description |
|---|---|---|
elementinherited | element: HTMLElement | null; | The root |
exportinherited | export: (options?: VizExportOptions | undefined) => Promise<void>; | Downloads the visualization; settles after the download starts. |
toBlobinherited | toBlob: (format?: ImageFormat | undefined) => Promise<Blob>; | |
toDataURLinherited | toDataURL: (format?: ImageFormat | undefined) => Promise<string>; | |
toSVGStringinherited | toSVGString: () => string; | The drawn SVG markup with |
printinherited | print: () => Promise<void>; | |
focusinherited | focus: () => void; | Focuses the plot (the one tab stop). |