@series-labels
Adds labels to series items, placing the text at the top, bottom, inside and various positions
Quick Reference
-- @series-labels: inside, topType
Full Example
-- @chart: column
-- @title: Series Labels - Label at Top of Series
-- @subtitle: An example column chart with a series label above the top
-- @formats: currency
-- @series-labels: top
SELECT
TRUNC(date_closed, 'MONTH') as Month,
sum(amount) as Sales
FROM sales
-- Select just 1 year so that the labels are not too cluttered
WHERE year(date_closed) = 2017
GROUP BY TRUNC(date_closed, 'MONTH')
ORDER BY TRUNC(date_closed, 'MONTH') ASC;
Valid Values
Related Directives
@formats
Use Cases
Example Charts
Last updated
