Draws the legend of the chart.
Draws a rectangle with background and/or border within the legend.
<legend> <width>0.25 * $chartWidth</width> <padding>0.025 * $chartWidth</padding> <paddingTop>0.075 * $chartWidth</paddingTop> <background> <color>$LIGHTSKYBLUE</color> <style>style3</style> <glossyEffect>glossyEffect2</glossyEffect> <borderStyle>embossed</borderStyle> <borderRoundness>0.01666 * $chartWidth</borderRoundness> </background> </legend>
All elements not affected by Legend Option have been grayed out.
You can use two images within the legend, e.g. a logo of your company next to the legend heading and a different image within the legend background.
Example:
<legend> <image> <imageUrl>yourcompanylogoURL</imageUrl> </image> <background> <image> <imageUrl>yourlegendbackgroundURL</imageUrl> </image> </background> </legend>