<legend visible="true|false" mode="Color|Size|ColorAndSize"> <style> <title> <layout> <extraInfo>
The following table shows the <legend> chidren elements.
Child Element | Description |
---|---|
<style> | The style of a legend has the following properties:
|
<title> | Defines the same properties as a chart title. See Title. |
<layout> | The title layout has the following properties:
If adjust is true, then
horizontal and vertical proportionalities can be defined. Their
possible types are:
|
<extraInfo> |
Note For BoxPlot, TreeMap, PieWithDepth, Bubble, PolarBubble, and
TagCloud charts only.
The visible Boolean attribute defines whether additional information is displayed in the legend. The <font> child element defines font properties of additional information (size, face, italic, bold, strikethrough, underline, and RGB color). |
<legend visible="true"> <style> <border thickness="None"> <color rgb="#000000" alpha="0"/> </border> <background> <color rgb="#000000" alpha="0"/> </background> <font size="12" face="Helvetica" italic="true" bold="true" strikethrough="false" underline="false" rgb="#00c7ff"/> <alignment horizontal="Left" vertical="Center" textPolicy="Wrap"/> </style> <title visible="true"> <style> <border thickness="None"> <color rgb="#000000" alpha="255"/> </border> <background> <color rgb="#000000" alpha="0"/> </background> <font size="6" face="Tahoma" italic="false" bold="true" strikethrough="false" underline="true" rgb="#00ff00"/> <alignment horizontal="Left" vertical="Center" textPolicy="Truncate"/> </style> <label dataType="String">="Legend Title"</label> <layout orientation="Auto" spacing="2"/> </title> <layout groupByDimension="false" symbolSize="7" location="Right" orientation="Auto" spacing="4" adjust="true"> <horizontalProportionality type="Fixed">3.25</horizontalProportionality> <verticalProportionality type="Proportional">0.33</verticalProportionality> </layout> <extraInfo visible="true"> <font size="8" face="Arial" italic="false" bold="true" strikethrough="false" underline="false" rgb="#707070"/> </extraInfo> </legend>