Multiple cursor tooltips on scatter chart

Type tutorial

Normally, XYCursor, if added to a chart will try to show a tooltip for each series for the hovered date or category. This does not work for charts that have both X and Y axes as ValueAxis. This tutorial will show how we can fix that. The problem Say, we have an XYChart with three […]

Show stack total in CategoryAxis

Type demo

This demo shows how we can create a separate Series with label bullets to show stack total right to a CategoryAxis label.

A simple Histogram chart

Type demo

This demo shows how we can take an array of plain values, and build a Histogram chart – a distribution of values as a column series.

Combining map polygon series to create grouped outlines

Type tutorial

This tutorial will show how we can combine two MapPolygonSeries using different geodata granularity to create outlines for groups of smaller areas. The task Let’s say we have a county map of Canada. We would use geodata/regions/canada/canadaCountiesLow map for that. Easy enough, but we would get a map with all the counties, with no distinction […]

Serpetine TimeLine with arrows

Type demo

This demo shows how we can add Triangle objects as bullets on a TimeLine chart, then use adapters to conditionally rotate them to create directional arrows.

Multi-series shared tooltip with colored bullets

Type demo

This demo shows how we can use an adapter for series’ tooltipText property, in-line text formatting, and cursor’s maxTooltipDistance to build a single universal tooltip that displays values from all series, complete with colored bullets. For more information, make sure you visit related tutorials for mentioned functionality: Adapters In-line string formatting Limiting number of series […]

Combining local data from multiple series for export

Type demo

In amCharts 4 each series can have its own data (set via own data property). Such data will not be exported using exporting functionality. This demo shows how we can use export’s data adapter to combine local data from multiple series in export.