Registry
Type module
Sources
Items from Registry can be imported/included and used via following ways.
/** * Import via: Registry.ts * Access items like: $registry.myVariable */import * as $registry from "@amcharts/amcharts5/Registry";Variables
Registry does not have any variables.
Functions
addLicense(license:string)Returns
voidAdds a license key, e.g.:
am5.addLicense("xxxxxxxx");am5.addLicense("xxxxxxxx");Call it once per key to add licenses for several products.
disposeAllRootElements()Returns
voidDisposes all
Rootelements.getRootById(id:string)Returns
anySince 5.9.2Returns the
Rootwhose container element has thisid.