skip to main content
Defense > Developing with design tools > Using the Symbol Editor > Using more features of the Symbol Editor > Revisiting the BAM dashboard
 
Revisiting the BAM dashboard
You will use the gauge symbol created in Rotating an object and create a simple status indicator to present BAM data.
A graphics-intensive dashboard
Making a simple status indicator
To create a simple status indicator:
1. In the Symbol Editor, create a new symbol.
For more information, see Making a new symbol.
2. Import image light.svg from the directory <installdir>/jviews-diagrammer/bin/symboleditor/data/examples.
The SVG image creates an SVG object. For more information, see Importing a vector graphic.
3. Delete the Text and Shape objects.
SVG is now the base object.
4. Ungroup the SVG object.
5. Create an Integer parameter statusvalue, with three allowed values: good, warning and problem.
For more details, see Setting allowed values for a parameter.
6. Select the GeneralPath8 object.
7.
The GeneralPath8 object
8. Add the conditions good, warning and problem to GeneralPath8 so changes to the value of statusvalue are reflected by changes in color.
For more information, see Setting conditions on an object.
9.
The svglight symbol
10. Save this symbol as svglight in the stoplights category of the bampalette.
Creating the SVG region symbol
To create a new region symbol:
1. In the Symbol Editor, open the bampalette.
2. Double-click the regionbase symbol.
The regionbase symbol opens in the Symbol Editor.
3. Resize regionbase to the following dimensions: Width:701, Height 421.
4. Add the svglight and gauge symbols so the dashboard resembles figure A graphics-intensive dashboard.
5. Create new parameters and link them to the composite symbol parameters using expressions.
For more information, see Connecting symbol parameters using expressions.
6. Save this symbol as svgregion in the regions category of the bampalette.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.