Function: renderColorbars()
ts
function renderColorbars(
host,
infos,
opts,
theme,
regionHeight): void;Defined in: render/colorbar.ts:154
Fill host with one bar per colour scale, stacked vertically inside regionHeight px. Hides the host when there is nothing to show.
Parameters
| Parameter | Type |
|---|---|
host | HTMLElement |
infos | readonly ColorInfo[] |
opts | ColorbarOptions |
theme | ColorbarTheme |
regionHeight | number |
Returns
void