This is a demo tutorial. While there is no step-by-step commentary available (yet), the live demo below is fully functional. Feel free to open it for full source code.
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.
See the Pen amCharts 4: Multi-series shared tooltip with colored bullets by amCharts team (@amcharts) on CodePen.
For more information, make sure you visit related tutorials for mentioned functionality:
- Adapters
- In-line string formatting
- Limiting number of series tooltips via
maxTooltipDistance