Consistent outlines of Map Polygons on hover

Type tutorial

This tutorial will show how we can fix a problem where hovered MapPolygon has part of its outline (stroke) hidden behind the adjacent polygons. The problem Let’s say we have a “hover” state on our polygons to apply thicker outline (stroke) on a map polygon when it’s hovered. E.g.: The code above ensures that when […]

Using states on LineSeries

Type tutorial

This tutorial will show how we can use states to manipulate appearance of the LineSeries in a variety of situations. SIDE READING This tutorial relies on amCharts 4 concept of states, which is a way to dynamically apply collection of values to multiple properties of an element. For more information about states, read this article. […]

Disabling default hover and click effects on Pie Chart

Type tutorial

When you hover over a slice on a Pie Chart it slightly grows. When you click it, it pulls out a bit out of place. This tutorial will show how you can disable this default behavior. How it works? It is controlled by states. When you hover something, a “hover” state is applied to the […]

Creating Pie Series Animations

Type tutorial

By default (if you are using “animated” theme), Pie series will fade in when chart initializes. Let’s explore how we can fancy-up those animations. Base chart Let’s take this chart as a base: As you can see, it just fades in. Boooooring. Let’s fix that. The concepts But, before we jump to unicorns and rainbows, […]

Taming Candlestick Series

Type tutorial

Candlesticks are a good way to depict data dynamics using variety of metrics. Instead of single value – used on most series – candlesticks use four: open, high, low, and close. This tutorial will explain how to set up and configure Candlestick series. Adding and setting up Adding a CandlestickSeries is no different than adding […]

Highlight all polygons in Map Series on hover

Type tutorial

This tutorial will show how you can highlight all of the polygons in the same series, when just one of those is hovered. Prerequisites States and events The solution explained in this tutorial relies heavily on two amCharts 4 concepts: States and Event listeners. Make sure you’re familiar with both of the those (linked above). […]