Generate legend markers for each column
This demo introduces a small plugin which can be used to auto-generate legend items for each separate column/series in the chart. The post Generate legend markers for each column appeared first on...
View ArticleMigrating to amCharts Angular plugin 1.2
With the release of amCharts Angular plugin 1.2 we’ve made some significant changes. If you were using this plugin before, make sure you read below and update your code accordingly, so that you can use...
View ArticleAutomatically order columns by their value
This demo shows how you can use AmCharts.addInitHandler() to manipulate the order of the chart’s data items before the chart renders. The post Automatically order columns by their value appeared first...
View ArticleInteractive “Wheel of Life” chart
This demo shows how you can use external controls and Radar chart’s API to implement an interactive “Wheel of Life” chart. Each click on each question updates corresponding guide on the chart. The post...
View ArticleUsing GANTT chart to display multi-segmented columns/bars
This demo shows how we can simulate multi-segment columns using GANTT chart. This specific chart type is good because you can specify any number colored segments without the need to define graphs for...
View ArticleUsing CSS to dynamically size map or chart height based on available width
A map or a chart will always try to take up all of the area of its container. Which means that your container needs to be sized in order for the chart/map to even become visible. Block level elements,...
View ArticleStock Chart with Google Finance CSV API
NOTE: this demo refers to Google Finance API service, which has been discontinued by Google. It may become unavailable at any point in the future. You are advised to take that into account before...
View ArticleAdding charts and maps to a WIX website
Intro & Prerequisites This tutorial is aimed to walk you through some easy steps to add charts and maps to your WIX.com website. We assume that you already have fundamentals for amCharts products...
View ArticleToggling export annotation mode
This demo shows how you can programatically toggle Export plugin’s Annotation mode. The following code is used to go in and out of annotation mode: function toggleAnnotations() { if...
View ArticleAlways exporting fully zoomed out map
Exporting a chart or map to an image always produces a snapshot of a current view. This means if you zoom in your map and then export it to a PNG, you will get an image of its zoomed in state. This...
View ArticleJavaScript Maps overlaid over Google Maps
This demo shows how you can overlay JavaScript Maps over Google Maps as well as sync up zoom and pan position for both. The post JavaScript Maps overlaid over Google Maps appeared first on amCharts.
View ArticleLoading external data in Live Editor
It is possible to use Data Loader with Live Editor. I say “technically” because there are some caveats, which I will outline a bit later. First, to enable Data Loader, click on the Extra Config...
View ArticleUsing Data Loader to load external data and display it in the table
This demo shows how you can use Data Loader plugin’s function AmCharts.loadFile() as well as AmCharts.parseCSV() to load and parse CSV data, then dynamically build an HTML table out of it. The post...
View ArticleChanging XLSX sheet name when exporting
By default Export plugin would name a work sheet of an exported XLSX file “amCharts”. We can use menuReviver to override that setting with anything else: "export": { "enabled": true, "menuReviver":...
View ArticleUnselecting map object after its description box is closed
When you click an object on the map – an area or image – that has a description, the object is selected and the description box pops up. This demo shows how you can use descriptionClosed event and...
View ArticleUsing amCharts with Vue.js and Webpack
Vue.js is a popular JavaScript framework, and we get regular questions from people wanting to use amCharts in their Vue apps. In this quick guide, we will cover the basics of using amCharts in a most...
View ArticleUsing Animate plugin with play/pause button
The post Using Animate plugin with play/pause button appeared first on amCharts.
View ArticleA time-line chart with date-based milestones
This demo shows how we can create a chart with just a date-based value axis (type: "date") and Guides to create a timeline with certain events (milestones) marked, but without any actual chart. The...
View ArticleRegistering click on the whole of the category on column chart
This demo shows how you can combine generic mouse click event (using jQuery) and chart cursor’s changed event to simulate clicking on the whole category on column chart, not just actual column. Chart...
View ArticleInvoking custom handlers on gauge band click
This demo shows how you can attach click events to GaugeAxis bands using listeners array: "listeners": [{ "event": "clickBand", "method": function(ev) { console.log("Clicked on " +...
View Article