Thanks to visit codestin.com
Credit goes to splashboard.unhappychoice.com

Skip to content

basic_heatmap

Renders a Heatmap payload from inline [widget.options]. cells is a row-major 2D grid of u32 intensities; thresholds / row_labels / col_labels are optional. Right for habit trackers, sample / demo grids, or any small fixed heatmap the user wants to keep in TOML.

KindSafetyShapes
realtimeSafeheatmap
OptionTypeRequiredDefaultDescription
cells2D list of u32, row-majorno[]Cell intensities. cells[row][col] — rows can be ragged but the renderer treats trailing missing cells as zeros.
thresholdslist of u32noExplicit bucket boundaries. When omitted, grid_heatmap auto-quartiles from the data.
row_labelslist of stringsnoOne label per row. Renderers display these along the left edge when space allows.
col_labelslist of stringsnoOne label per column. Renderers display these along the top edge when space allows.
ShapeRenderers
heatmapanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_heatmap
                                     
                                     
                                     
                                        
                                        
                                        
[[widget]]
id = "basic_heatmap"
fetcher = "basic_heatmap"
render = "grid_heatmap"