Setting custom column names for exported chart data

Type tutorial

Besides exporting charts to images and PDF, you can use our Export plugin for other things, like exporting it’s data to CSV, Excel and other formats. By default, column names will be exported using their “internal” field names – the same way they appear in data. I.e. “value”, “volume”, etc. Using graph names to replace internal […]

Exporting charts and maps: PDF with multiple charts and related info

Type tutorial

Intro If you are looking on how to automatically generate PDF reports, you should probably explore some server-side options, like PhantomJS. We have a handy tutorial ready about the latter here. However, sometimes, you just need to export a chart or two, along with some additional info on-demand, triggered by the user. In those cases […]

Adding event listeners within chart config

Type tutorial

If you are creating chart using AmCharts.makeChart(divId, config) method, instead of using chart.addListener method, a much better approach would be adding listeners directly to chart config. This is done using listeners property of a AmChart or ChartScrollbar or ChartCursor (any object which has events). listeners property accepts array of objects each of them must have […]

Use amCharts to visualize Google Analytics data

Type tutorial

Intro Google exposes data from its Analytics service using a number of various APIs. CORE REPORTING API (Create custom reports by querying for dimensions and metrics) MULTI-CHANNEL FUNNELS REPORTING API (Access attribution and conversion path data for your users) REAL TIME REPORTING API (Access activity occurring on your property right now) EMBED API (Embed dashboards […]

Adding charts and maps to a Weebly website

Type tutorial

This short step-by-step tutorial will show how you can easily add charts and maps to your Weebly website. Step 1: add an EMBED CODE block Step 2: Edit the block Click on the block you just added to edit it. Step 3: Creating the chart code If you already have your chart created somewhere, you’re […]

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 […]

Exporting charts and maps: Quick Intro

Type tutorial

Unsupported: IE9 and lower are not supported by the export plugin due browser incompatibilities! Since you made it to your first chart you probably want to go one step further and offer your users to download those. In this tutorial we will guide you through a few easy steps to get the export functionality working. […]

Using Data Loader plugin to load external data in CSV or JSON formats

Type tutorial

Description By default all amCharts libraries accept data in JSON format. It needs to be there when the web page loads, defined in-line or loaded via custom code. This plugin introduces a native wrapper that enables automatic loading of data from external data data sources in CSV and JSON formats. Most of the times you will just […]