Creating a Cylinder widget

A Cylinder widget is a simple status indicator that displays a vertical cylinder with fluid in it. The level of the fluid within the cylinder is a visual representation of a single metric value. Like the Gauge and Thermometer widgets, this type of widget is designed to display the value of a single metric.

The Cylinder widget is most useful when combined with a selector because this allows users to choose specific metric values to display in the cylinder. For example, the user can view the amount of revenue for 2007, then use a selector to change the display to revenue for 2008.

In the image below, the liquid level in the cylinder represents the amount of revenue (the Revenue metric).

Example of a Cylinder widget

To create a Cylinder widget

  1. Open the document in Design or Editable mode.

  2. From the Insert menu, point to Widgets, then Flash. Select Cylinder.

  3. Click the location on your document, except for the Detail section, where you want to place the widget. The Grid/Graph, which appears similar to a standard grid container, is displayed. A small icon at the bottom right corner of the Grid/Graph identifies the type of widget that you have added to the document.

  4. If desired, resize the widget by clicking and dragging its handles.

  5. Add objects to the Grid/Graph that contains the widget. To do this, from the Dataset Objects panel on the left, select attributes and metrics and drag them on top of the widget. Place one metric on the columns of the Grid/Graph. The metric values determine the amount of liquid displayed in the cylinder.

  6. To allow users to change the metric value displayed in the widget with a selector, complete the following steps:

  7. It is recommended that you also drag the dataset report from the Dataset Objects panel and place it beneath the selector. This allows you to see the report's values as you select different attribute elements from the selector and see how they change the appearance of the Cylinder widget.

  8. By default, the values on the side of the Cylinder widget range from 0 to 100. If metric values on your report are larger than 100 or less than 0:

  9. View and test your results by selecting Flash Mode from the Home menu.

Related topics