Series annotations for bar plots

This commit is contained in:
David Gustavsson 2021-02-28 08:57:54 +01:00
parent 2220dbc465
commit 5cc08a17b6

View File

@ -415,6 +415,11 @@ end
fillto = map(x -> _is_positive(x) ? typeof(baseline)(x) : baseline, fillto)
end
if !isnothing(plotattributes[:series_annotations])
annotations := (x,y,plotattributes[:series_annotations].strs,:bottom)
series_annotations := nothing
end
# create the bar shapes by adding x/y segments
xseg, yseg = Segments(), Segments()
for i = 1:ny