Skip to content

Function: register() ​

ts
function register(...modules): ChartRegistry;

Register modules into the shared registry (plan E21.1 partial bundles):

ts
import { createChart, register } from '@mk7s/holochart-runtime';
import { scatter } from '@mk7s/holochart-traces-basic';
register(scatter);

Parameters ​

ParameterType
...modulesreadonly Registrable[]

Returns ​

ChartRegistry

Released under the MIT License.