Skip to content

Interface: D3PRLegendProps ​

Defined in: react/index.ts:148

Props of D3PRLegend.

Properties ​

children? ​

ts
children?: (legend, chart) => ReactNode;

Defined in: react/index.ts:154

Renders the legend from what the series list, for each chart.

Parameters ​

legend ​

D3PLegend

chart ​

D3PChart

Returns ​

ReactNode


legend ​

ts
legend: D3PLegendBundle;

Defined in: react/index.ts:150

The legend to show.


style? ​

ts
style?: CSSProperties;

Defined in: react/index.ts:152

A style for the div of the legend.