Previous: Background Image/Color Up: Example Index Next: Point Styles

Fill Plot Style + Customized Legend
   This example shows an interesting use of multiple "fill" style plots in the same graph. The "fill" renderer fills the region between the plotted data line and the horizontal axis with a single color. Multigraph draws each of the plots in the order in which they appear in the MUGL file, so later plots are drawn on top of earlier ones.

This graph uses the <legend> tag to explicitly center the legend along the top of the graph, and to customize its appearance. Note in particular the use of the "opacity" attribute to allow the data to be visible behind the legend.