Skip to content

Function: d3pDomLegend() ​

ts
function d3pDomLegend(legend): Off;

Defined in: core/dom.ts:72

Fill the legend of legend with plain DOM content, in the top right corner of the chart: a line per entry, which a click shows or hides. The same default content as the Vue and React legends. Returns a function that stops it.

Parameters ​

legend ​

D3PLegendBundle

Returns ​

Off