From 182d4683e6236298512401c22e70eeca16e83afd Mon Sep 17 00:00:00 2001 From: Benoit Pasquier <4486578+briochemc@users.noreply.github.com> Date: Wed, 20 Apr 2022 00:03:50 +1000 Subject: [PATCH] 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 --- src/examples.jl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/examples.jl b/src/examples.jl index 76842d58..2d1734d4 100644 --- a/src/examples.jl +++ b/src/examples.jl @@ -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