Series annotations for bar plots
This commit is contained in:
parent
2220dbc465
commit
5cc08a17b6
@ -415,6 +415,11 @@ end
|
|||||||
fillto = map(x -> _is_positive(x) ? typeof(baseline)(x) : baseline, fillto)
|
fillto = map(x -> _is_positive(x) ? typeof(baseline)(x) : baseline, fillto)
|
||||||
end
|
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
|
# create the bar shapes by adding x/y segments
|
||||||
xseg, yseg = Segments(), Segments()
|
xseg, yseg = Segments(), Segments()
|
||||||
for i = 1:ny
|
for i = 1:ny
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user