Information on this website refers to a deprecated product, and is provided only for historical reference. Please use the Version Switcher above to select an appropriate documentation website for the product you are using.

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.

Inheritance

AmCharts does not extend any other symbol.

AmCharts is not extended by any other symbol.

Properties

baseHref
#

Type boolean

Default 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 array

Default ['Sunday',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday']

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

monthNames
#

Type array

Default ['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 array

Default ['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 array

Default ['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 boolean

Default 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.

Adapters

AmCharts does not have any adapters.