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
 *                    $chartelement.myFunction()
 * --------------------------------------------------------
 */
import * as $chartelement from "@amcharts/amcharts5/ChartElement";

Variables

BaseElement
#

Type ...

Default (typeof HTMLElement !== "undefined" ? HTMLElement : class {
  
} as any)

Functions

defineChartElement(

name: string

)

#

Returns void

Registers <am5-chart>, or the element under another name. Loading the module does this already; call it for a different name.

@since 5.21.0