Attributes |
Name | Required | Request-time | Type | Description |
backgroundColor | false | false | java.lang.String | The background color of the generated image. |
beforeSessionExpirationHandler | false | false | java.lang.String | The JavaScript code that will be called when the session is about to expire. For example to keep the session alive set this attribute to view.updateImage() . |
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. |
chart | false | false | java.lang.String | An optional JViews chart to display. This must be a value reference returning an IlvChart component. |
component | false | false | java.lang.String | The component to display. Valid values are chart or area . The default value is chart . In chart mode, the entire chart is displayed including the legend. In area mode, the legend is not displayed. |
data | false | false | java.lang.String | The data to display: icpr project, XML file, IlvDataSource instance value binding, ID of a data source component. |
dataSource | false | false | java.lang.String | The binding to a predefined data source. See the dataSource component for more information. |
dataSourceId | false | false | java.lang.String | The ID of a predefined data source. See the dataSource component for more information. |
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 whether it should generate an image map. The image map itself is provided by the servlet that generates the image. To be active the image map has to be 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. |
imageFormat | false | false | java.lang.String | The desired format of the image generated by the servlet. The format can be JPEG or PNG. |
imageMapGenerator | false | false | java.lang.String | The value binding expression of the image map generator. This generator is invoked if the attribute generateImageMap is set to true . |
imageMapGeneratorClass | false | false | java.lang.String | The image map generator class name. This property is used if and only if the imageMapGenerator property is not set. |
imageMapVisible | false | false | java.lang.String | Shows or hides the image map. See the generateImageMap attribute. When the image map is shown, the current interactor set on the view is disabled. |
interactor | false | false | java.lang.String | The binding to the default interactor to set on the view. |
interactorId | false | false | java.lang.String | The ID of the default interactor to set on the view. |
keepVisibleWindow | false | false | java.lang.String | Whether to keep or not the current visible window between two JSF requests. The default value is false |
messageBox | false | false | java.lang.String | The binding to a message box component used to display messages. |
messageBoxId | false | false | java.lang.String | The ID of a message box component used to display messages. |
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. |
partialTriggers | false | false | java.lang.String | This attribute is meaningful only when the component is used inside an Apache MyFaces Trinidad application. The IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too. Separate multiple triggers with a space. Trigger identifiers are relative to the source component for non-NamingContainer components and relative to the parent component for NamingContainer components. Identifiers must account for NamingContainers. You can use a single colon to start the search from the root, or use multiple colons to move up through the NamingContainer. For example, for a non-NamingContainer component, "::" will search from the parent naming container, ":::" will search from the grandparent naming container, etc. For a NamingContainer component, "::" will search from the parent component's parent naming container. ":::" will search from the parent component's grandparent naming container. |
project | false | false | java.lang.String | The URL to a Charts Designer project. |
resizable | false | false | java.lang.String | Sets whether the chart view can be resized or not. |
accessible | false | false | java.lang.String | Sets whether the chart view is accessible or not. |
hotkeys | false | false | java.lang.String | Sets the keyboard hotkeys for the view |
servlet | false | false | java.lang.String | The URL or the class name of the servlet that provides the image to display. |
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. |
styleSheet | false | false | java.lang.String | The URL of a CSS file used to style the chart. |
styleSheets | false | false | java.lang.String | The comma separated URLs of the CSS files used to style the chart. |
type | false | false | java.lang.String | The type of the chart. The type must be one of the following values: Cartesian, polar, radar or pie. |
updateInterval | false | false | java.lang.String | The interval in seconds between two automatic updates of the image. 0 disables the feature. |
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. |
XZoomFactor | false | false | java.lang.String | Since JViews 6.5 this attribute is deprecated. Use the attribute xZoomFactor instead. |
xZoomFactor | false | false | java.lang.String | The zoom factor in x applied by the zoom actions on the chart. |
YZoomFactor | false | false | java.lang.String | Since JViews 6.5 this attribute is deprecated. Use the attribute yZoomFactor instead. |
yZoomFactor | false | false | java.lang.String | The zoom factor in y applied by the zoom actions on the chart. |