Annotating Charts#
You can customize the content of annotations for pie and bar charts by using the parameter labels
of the corresponding functions.
The parameter takes as value the result of the layer_labels()
function call.
Learn more (reference notebook).
See also the formatting reference to learn how to format numeric and date-time values in annotations.