Technologies > User Interface Add-Ins > Flash Drawing Views > Thematically Highlight with Legend in Panel
Technologies > User Interface Add-Ins > Flash Drawing Views > With Legend at Top
Technologies > User Interface Add-Ins > Flash Drawing Views > With Legend and Floor Selector at Left
Note: With the release of ARCHIBUS V.23.2, all ARCHIBUS views were converted to use the HTML drawing control instead of the Flash drawing control. If you have previously created views that use the Flash drawing control, the view's drawings will still work.
For new views that you create, ARCHIBUS, Inc. recommends using the HTML control, as the Flash control is slated for desupport in future versions of ARCHIBUS. For information on converting existing views with Flash drawings to HTML format, see Convert views with the Flash drawing control to the HTML drawing control.
The legendPanel attribute allows the Application Designer to tightly integrate a legend with the Drawing Control. The legend panel is a standard Report Grid panel that uses specific table and field names. The following is an example of what the legend panel should look like in a view file. A legend panel may be displayed in any region of a multi-pane view. The legend data source is given the attribute
distinct="true". Note the table and name attributes of the legend's report grid.
<dataSource id="legendDs" distinct="true">
<table name="rm" role="main"/>
<panel type="grid" controlType="reportGrid" id="legendGrid" dataSource="legendDs"
<field table="legend" name="color" controlType="color">
<title translatable="true"> </title>
<field table="legend" name="value" width="80%">
The highlight pattern for the legend panel, as well for the drawing, is defined by the
highlightDataSource, specified by the drawing panel definition. To assign a legend panel to a drawing, assign the legend's panel id to the
legendPanel attribute of the drawing panel:
<panel type="drawing" id="cadPanel"
Example 1: http://localhost:8080/archibus/schema/ab-products/solutions/drawing-flash/ab-with-legend-left-drawing.axvw
Example 2: http://localhost:8080/archibus/schema/ab-products/solutions/drawing-flash/ab-with-legend-top-drawing.axvw
Example 3: http://localhost:8080/archibus/schema/ab-products/solutions/drawing-flash/ab-with-legend-with-floor-selector-drawing.axvw
|Copyright © 1984-2018, ARCHIBUS, Inc. All rights reserved.|