Added support for AmCharts v3