Individual thresholds for columns

Type tutorial

This tutorial will show how you can use additional series to apply individual thresholds to columns in a ColumnSeries. The task Say we have a column chart and would like to apply individual threshold values for each column. Our data might look something like this: [{ “category”: “Research”, “value”: 450, “threshold”: 220}, { “category”: “Marketing”, […]

“3D” line series

Type tutorial

This tutorial will show how you can easily create a “3D stack” effect on regular LineSeries. Base chart Let’s take this chart as an example: Bit of a mess. It would help, if we somehow would be able make each individual LineSeries stand out. Enabling 3D The first step is to go from regular XYChart […]

Using actual images in MapImageSeries

Type tutorial

In our main Map Chart article we have touched the topic of creating an image series, feeding them data, and positioning them. However, we were operating using plain, same shapes. This tutorial will show how we can use actual images as markers on the map. Using same image Explaining MapImageSeries in our Map Chart article, […]

Using percent values in series

Type tutorial

In our everyday charting we mainly use absolute values. However, sometimes we might need to show how specific value relates to other elements. In this case relative percent value is much more representative than absolute one. This tutorial will explain ways we can use such relative values. Intro Let’s start with a fairly simple stacked […]

Highlighting column series on legend click

Type tutorial

During the course of this tutorial we’ll modify the functionality of the legend from toggling series on and off, to rather highlighting it. Base chart Here’s our base chart we’re going to be working with: It has a legend, which acts normally: toggles relative series on and off on click. We’ve also set up our […]

Automatic labels over map polygons

Type tutorial

During the course of this article we’re going to learn how to automatically place labels over map polygons, as well as make them positioned just the right way. Base map As a polygon of our development, let’s use a map of the United States in an Albers USA projection. Series for polygons Setting up Polygon […]

Totals on column stacks

Type tutorial

Building column stacks is easy: just set stackable = true on each column series. This tutorial will show how we can display automatic total value of the whole stack on top of it. Base chart Here’s a base chart we’re going to start with. It’s already got several ColumnSeries stacked. It also has “label bullets” […]

Plugin: Regression trend lines

Type tutorial

This tutorial will explain how you can use Regression plugin (available since version 4.2.2) to display automatically-calculated regression trend lines. NOTE Regression is a plugin. For information about using plugins, refer to this article. Purpose Trend lines, as their name suggests, help identify generic trends among seemingly randomly dispersed values. Take this chart for example: […]

Overlaid column series

Type tutorial

This tutorial will show how you can leverage a number of settings on Series and Axes to create offset/overlaid columns effect. The task In the course of this tutorial we’re going to turn this: Into this: Here’s a live version of the source chart: Patient’s ready. Let’s get started. Un-clustering columns By default, all Column […]

Toggling series via API

Type tutorial

Need to toggle series on and off via code? This short tutorial will show how. Hiding or showing Series in amCharts is a Sprite object. And just like any Sprite object, it can be toggled off by calling its hide() method, and shown back on by show(). That is it. You just call the respective […]