Add areaplot example to gallery (#4178)

* Add areaplot example to gallery

Not sure this is the right way to add example to the gallery but hopefully this is helpful :)

* format files

Co-authored-by: Simon Christ <SimonChrist@gmx.de>
This commit is contained in:
Benoit Pasquier 2022-04-20 00:03:50 +10:00 committed by GitHub
parent a681f3e307
commit 182d4683e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1273,6 +1273,24 @@ const _examples = PlotExample[
end
)],
),
PlotExample( # 58
"Stacked area chart",
"""
`areaplot` draws stacked area plots.
""",
[
:(
begin
areaplot(
1:3,
[1 2 3; 7 8 9; 4 5 6],
seriescolor = [:red :green :blue],
fillalpha = [0.2 0.3 0.4],
)
end
),
],
),
]
# Some constants for PlotDocs and PlotReferenceImages