Show last value at the end of LineSeries

Type demo

This demo shows how we can make LineSeries show its last value using two approaches: as a label next to bullet, and as an axis range with a label. Using bullet label Using axis range

Animated bullets

Type demo

In this demo you’ll see how we can use chart’s built-in animation capabilities to add animation effects to bullets. Example #1 Example #2

Custom-ordered legend items

Type demo

This demo shows how we can use events to dynamically re-arrange Legend items per our completely custom criteria.

Using axis ranges to highlight weekends

Type tutorial

This tutorial is for amCharts 4. If you’re looking for amCharts 5 info, use this link. Axis ranges is a good way to highlight specific places or stretches along an axis. This tutorial will show how we can create code to automatically create axis ranges to highlight weekends on a DateAxis. The task Say, we […]

Exporting MapChart data

Type tutorial

amCharts 4 exporting functionality can export not only visual representation of the chart, but also its data. However, for MapChart which does not have central or clear-cut data, it’s disabled by default. This tutorial will show how you can re-enable selective data export for your maps. Enabling data export Determining data source Before we go […]

PieChart with too many slices

Type tutorial

If we are using Pie charts, once in a while we end up with one that has simply too many slices. This tutorial will look at some basic ways to make it less awkward. The problem Having a lot of slices on a single chart poses an obvious issue: the labels displayed for each chart […]

Variable link widths in ForceDirectedTree

Type tutorial

ForceDirectedTree is an exciting cool way to display relations between a number of entities. This tutorial will show how you can give those relations a quantitative value by applying custom width to each individual link. The task As mentioned in the preamble of this tutorial, all nodes on ForceDirectedTree are connected by links that are […]

Exporting data for visible series only

Type tutorial

Normally, using amCharts 4 data exporting functionality, the chart dumps all available source data. This short tutorial will show code which assures that only currently visible series data is exported. Limiting exported fields By default all source data (as set in chart’s data) is exported. We can control what fields are exported using export’s setting […]

About “Chart was not disposed” warning

Type tutorial

Are you getting a “Chart was not disposed” warning in your browser console? You’re doing something wrong. Read on for an explanation. When the warning is displayed? When you instantiate a chart, it creates a bunch of objects as well as other stuff like event handlers. All those things occupy computer memory and consume some […]