| Attributes |
| Name | Required | Request-time | Type | Description |
| backgroundColor | false | false | java.lang.String | The background color of the generated image. |
| binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean. If this attribute is set, the tag does not create the component itself but retrieves it from the bean property. This attribute must be a value binding. |
| errorMessage | false | false | java.lang.String | The message displayed when an error occurs while the image is being loaded. |
| generateImageMap | false | false | java.lang.String | Tells the component if it should generate an image map .The image map is active when set to visible. |
| height | false | false | java.lang.String | The desired height in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute. |
| id | false | false | java.lang.String | The ID of this component. |
| imageMapGenerator | false | false | java.lang.String | The image map generator. If the generateImageMap property is true, this generator will be invoked to dynamically create the image map. |
| imageMapGeneratorClass | false | false | java.lang.String | The class name of the image map generator. This generator is invoked if the attributegenerateImageMapis set totrue. |
| imageMapVisible | false | false | java.lang.String | Shows or hides the image map. |
| layout | false | false | java.lang.String | The layout direction for the legend items displayed by this legend. Acceptable values are 'vertical' or 'horizontal'. |
| onCapabilitiesLoaded | false | false | java.lang.String | An optional JavaScript handler called when the capabilities of the component are loaded. In this code the 'view' variable can be used and represent the DHTML view instance. 'view.JSFRef' represents the JavaScript proxy of the JSF component. |
| onImageLoaded | false | false | java.lang.String | An optional JavaScript handler called when the image is loaded. In this code the 'view' variable can be used and represent the DHTML view instance. 'view.JSFRef' represents the JavaScript proxy of the JSF component. |
| resizable | false | false | java.lang.String | Specifies whether the chart view can be resized or not. |
| style | false | false | java.lang.String | CSS style(s) to be applied when this component is rendered. |
| styleClass | false | false | java.lang.String | Space separated list of CSS style class(es) to be applied when this element is rendered. |
| view | false | false | java.lang.String | The binding to the view to which the legend is connected. |
| viewId | false | false | java.lang.String | The ID of the view connected to this legend. |
| waitingImage | false | false | java.lang.String | The URL of the image displayed when the component is waiting for a server response. The image may be an animated GIF. |
| width | false | false | java.lang.String | The desired width in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute. |