English
Interface: D3PRChartProps
Defined in: react/index.ts:50
Props of D3PRChart: the options of D3PChart (except the container), the bus, the objects to attach, a class name and a style for the div, and onReady, called with the chart.
Extends
Omit<D3PChartOptions,"container"|"bus">
Methods
onReady()?
ts
onReady?(chart): void;Defined in: react/index.ts:60
Called with the chart once it is created and the objects are attached.
Parameters
chart
Returns
void
Properties
bus?
ts
bus?: D3PBus;Defined in: react/index.ts:52
The bus the chart uses (the one of the provider by default).
className?
ts
className?: string;Defined in: react/index.ts:56
A class for the div of the chart.
height?
ts
height?: number;Defined in: core/chart.ts:35
Fixed height; omitted = follow the container.
Inherited from
margin?
ts
margin?: Partial<D3PMargin>;Defined in: core/chart.ts:39
The room around the plot, in pixels, for the tick labels of the axes: the sides you leave out keep their default. Titles and legends take their room on top of it.
Inherited from
name?
ts
name?: string;Defined in: core/chart.ts:41
The name of the chart, to tell several apart in messages and event names (chart- and its number by default).
Inherited from
objects?
ts
objects?: D3PAttachableLike[];Defined in: react/index.ts:54
The objects to attach to the chart: axes, renderers, tools, the cursor...
resizeDebounceMs?
ts
resizeDebounceMs?: number;Defined in: core/chart.ts:43
Debounce of container-driven resizes (default 0 = immediate).
Inherited from
D3PChartOptions.resizeDebounceMs
style?
ts
style?: CSSProperties;Defined in: react/index.ts:58
A style for the div of the chart.
width?
ts
width?: number;Defined in: core/chart.ts:33
Fixed width; omitted = follow the container.