amcharts / amcharts3-angular2

Official Angular 2 plugin for amCharts V3
99 stars 35 forks source link

How to access the AmCharts object #47

Open jimmykane opened 7 years ago

jimmykane commented 7 years ago

Hi there,

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

Pauan commented 7 years ago

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.

dotob commented 6 years ago

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);