From 41038bfe8e004087bb6c61fe01a45b244e30d9da Mon Sep 17 00:00:00 2001 From: Benoit Pasquier <4486578+briochemc@users.noreply.github.com> Date: Mon, 11 Apr 2022 23:24:03 +1000 Subject: [PATCH] Add areaplot example to gallery Not sure this is the right way to add example to the gallery but hopefully this is helpful :) --- src/examples.jl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/examples.jl b/src/examples.jl index 76842d58..2b38ba81 100644 --- a/src/examples.jl +++ b/src/examples.jl @@ -1273,6 +1273,17 @@ 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