Setting up IIS for correctly handling SVG files

Type tutorial

Problem Icons on my amCharts chart are displayed as broken images, when server through Internet Information Server (IIS). Cause amCharts uses SVG images for various chart elements, such as scrollbar grips. Some older versions of IIS may incorrectly serve SVG images, causing those issues. Each request to a static file on a web server, produces a […]

Disabling unwanted borders when exporting charts with wkhtmltopdf

Type tutorial

wkhtmltopdf is a headless browser that allows turning web pages, including dynamic content such as charts, into PDF documents. It works with amCharts pretty well, save for one minor annoyance – it produces a visible border around chart elements, like legend and plot area. To work around it follow these simple steps: 1) Enable chart […]

Automate report generation using PhantomJS

Type tutorial

Intro You are already using amCharts libraries to visualize your data to your users on your website, intranet, CMS, even mobile applications. But what about the situations when you want to generate the reports to your users. Automatically. On server-side. Without any human interaction whatsoever? That’s where server-side browsers come in. Introducing PhantomJS – the […]