const Scale: LiveComponent<ScaleProps>
{ mode?: string | undefined; divide?: number | undefined; unit?: number | undefined; base?: number | undefined; start?: boolean | undefined; end?: boolean | undefined; zero?: boolean | undefined; factor?: number | undefined; nice?: boolean | undefined; } &
{ axis?: string | undefined; range?: VectorLike | undefined; zBias?: number | undefined; } &
{ origin?: VectorLike | undefined; } & {
render?:
(
data: {
positions: TensorArray,
values: TensorArray,
},
) => LiveElement,
children?:
| LiveElement
| (data: { positions: TensorArray, values: TensorArray }) => LiveElement,
}
packages / plot / src / source / scale.ts