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.
diasym_svgbam10.png
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-diagrammer810/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.
  6. Select the GeneralPath8 object.
    diasym_svggeneralpath811.png
    The GeneralPath8 object
  7. 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.
    diasym_svglight12.png
    The svglight symbol
  8. 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.
  6. Save this symbol as svgregion in the regions category of the bampalette.