ChartElement
Type module
Sources
Items from ChartElement can be imported/included and used via following ways.
/** * Import via: ChartElement.ts * Access items like: $chartelement.myVariable */import * as $chartelement from "@amcharts/amcharts5/ChartElement";Variables
BaseElementType
...Default(typeof HTMLElement !== "undefined" ? HTMLElement : class { } as any)
Functions
defineChartElement(name:string)Returns
voidSince 5.21.0Registers
<am5-chart>, or the element under another name. Loading the module does this already; call it for a different name.