Skip to content

AmCharts

Type class

AmCharts object (it's not a class) is create automatically when amcharts.js or amstock.js file is included in a web page.

Sources

This information about AmCharts is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

AmCharts does not extend any other symbol.

AmCharts is not extended by any other symbol.

Properties

baseHref

Type booleanDefault false

Set it to true if you have base href set for your page. This will fix rendering problems in Firefox caused by base href.

dayNames

Type arrayDefault ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']

Array of day names, used when formatting dates (if categoryAxis.parseDates is set to true)

monthNames

Type arrayDefault ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']

Array of month names, used when formatting dates (if categoryAxis.parseDates is set to true)

shortDayNames

Type arrayDefault ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']

Array of short versions of day names, used when formatting dates (if categoryAxis.parseDates is set to true)

shortMonthNames

Type arrayDefault ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']

Array of short versions of month names, used when formatting dates (if categoryAxis.parseDates is set to true)

useUTC

Type booleanDefault false

Set it to true if you want UTC time to be used instead of local time.

Methods

clear()

Returns void

Clears all the charts on page, removes listeners and intervals.

Events

AmCharts does not have any events.