System

Type class

The main class that handles system-wide tasks, like caching, heartbeats, etc.

Sources

System can be used (imported) via one of the following packages.

/**
 * --------------------------------------------------------
 * Import from: "core.ts"
 * Use like: am4core.System
 * --------------------------------------------------------
 */
import * as am4core from "@amcharts/amcharts4/core";

/**
 * --------------------------------------------------------
 * Include via: <script src="core.js"></script>
 * Access items like: am4.System
 * --------------------------------------------------------
 */

Inheritance

System does not extend any other symbol.

System is not extended by any other symbol.

Properties

VERSION
#

Static

Type string

Default "4.10.22"

amCharts Version.

This follows npm's semver specification.

Click here

isPaused
#

Type boolean

Pauses all the processes of all the amCharts objects on the page

uid
#

Type string

Default registry.getUniqueId()

Unique ID of the object.

updateStepDuration
#

Type number

Default 45

Methods

checkIfValidate2(

sprite: Sprite

)

#

Returns boolean

log(

value: any

)

#

Returns void

Outputs string to console if verbose is true.

requestFrame()

#

Returns void

Requests new animation frame

softInvalidate(

container: Container

)

#

Returns void

Call this method if you update data or config of a chart that is in hidden container, after revealing the container, so that labels and possibly other elements can correctly arrange themselves.

@since 4.7.10

Events

System does not have any events.

Adapters

System does not have any adapters.