amcharts3-angular2 icon indicating copy to clipboard operation
amcharts3-angular2 copied to clipboard

How to access the AmCharts object

Open jimmykane opened this issue 7 years ago • 2 comments

Hi there,

I would like to set processDelay on the AmCharts object but the module is empty.

jimmykane avatar Jun 22 '17 21:06 jimmykane

The AmCharts service does not have any global properties, but you can use window.AmCharts.processDelay = 1000 to set the processDelay property.

This works with all of the other global AmCharts properties as well.

I will consider adding in the global properties to the AmCharts service.

Pauan avatar Jun 26 '17 10:06 Pauan

how would i do something like this (this is from the AmCharts documentation) with the angular module?

var chart = new AmCharts.AmSerialChart();
var chartScrollbar = new AmCharts.ChartScrollbar();
chart.addChartScrollbar(chartScrollbar);

dotob avatar Jun 15 '18 13:06 dotob