Pages with base-href (i.e. AngularJS)

If your web page is using the <base href> header make sure you include the following line before initializing the chart/map:

AmCharts.baseHref = true;

It will ensure the common SVG problems related to base href are avoided.