Tag: labels
- Adding sum labels inside Donut chart
This tutorial will show how we can add labels inside a Donut series, make them display dynamic info, such as sum of values of all slices, as well resize dynamically to comfortably fit within inner section of a chart.
- Automatically adjust maximum width of PieChart labels base on available spaceDemo
This demo shows how we can use events to automatically update maxWidth for truncated slices labels to fit into available space.
- Automatically grouping date axis months into years using axis rangesDemo
This demo shows how we can automatically group month labels of a DateAxis into years using axis ranges.
- Clickable circular labelsDemo
In amCharts 5, labels need to have a background to be able to be compatible with pointer interactions such as hover and click. However, circular labels do not support backgrounds. This demo solves the issue by adding a Slice element into such labels.
- Coloring pie labels and ticks by sliceDemo
This demo shows how we can use adapters to dynamically color labels and ticks using the color from their slice.
- Force-Directed Tree with directional labels on linksDemo
This demo shows how we can use Hierarchy bullets to add directional labels on Force-Directed Tree links.
- Treemap with auto-colored labelsDemo
This demo shows how we can use adapters to pick a contrasting color for Treemap labels.
- Using axis ranges to place labels at arbitrary values or dates
Axes of various types follow their own logic when they choose where to place its grid and labels. However, sometimes you need to place those labels at precisely value X, or on date Y. That's where axis ranges might come in handy, which is the focus of this tutorial.
- WordCloud with hover effects on wordsDemo
This demo shows how we can add background color to the WordCloud labels, as well as change their appearance on hover.