Interface: DomainHost
Experimental
What syncDomain reads from a trace's plot context (the runtime's fits).
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
calc | readonly | unknown | Experimental |
domain? | readonly | object | Experimental The trace's domain; container px. |
domain.rect | readonly | Readonly<ViewportRect> | - |
fullLayout? | readonly | object | Experimental paper_bgcolor: translucent shapes are drawn composited over it. |
fullLayout.paper_bgcolor? | readonly | unknown | - |
primitives | readonly | PrimitiveContext | Experimental |
trace | readonly | Readonly<Record<string, unknown>> | Experimental |
viewport | readonly | object | Experimental The overlay viewport the trace draws in. |
viewport.primitives | readonly | ReadonlySet<Primitive<unknown>> | - |
viewport.size | readonly | Readonly<ViewportSize> | - |
Methods
add()
ts
add(primitive): void;Experimental
Parameters
| Parameter | Type |
|---|---|
primitive | Primitive<unknown> |
Returns
void
invalidate()?
ts
optional invalidate(): void;Experimental
Returns
void
remove()
ts
remove(primitive): void;Experimental
Parameters
| Parameter | Type |
|---|---|
primitive | Primitive<unknown> |
Returns
void