First chart uses:
to make the nodes appear on top of the lines plotted in the graph. This works exactly as expected.
Second chart is a stacked area chart with some guidelines overlaid by
but this gives error messages
"missing } inserted"
"extra } or missing \endgroup"
\drawstatements work ok when the
pgfonlayerstatements are removed, except the guidelines are behind the area plot, which is what I am trying to avoid. The error messages seem to saying a } is missing so one is inserted, but then complaining that there is an extra }.
Any suggestions please?