Skip to content

String

Type module

Sources

Items from String can be imported/included and used via following ways.

/**
* Import via main package
* Access items like: am4core.string.myVariable
*/
import * as am4core from "@amcharts/amcharts4";
/**
* Import via: String.ts
* Access items like: $string.myVariable
*/
import * as $string from "@amcharts/amcharts4/String";

Variables

String does not have any variables.

Functions

random(chars: number)

Returns string

Returns a random number between from and to.