INFORMIX
Visionary User's Guide
Chapter 5: Displaying Data in a Scene
Home Contents Index Master Index New Book

Modifying Data Elements

This section summarizes the ways that you can modify data elements and includes examples. This section includes the following topics:

Data elements typically have only one property: visibility. To modify the visibility property, you can select True or False, or you can write a property expression that returns a True or False value in the Visibility property cell of the Object Inspector. In this way, you can set up the conditions in which the data element is visible in the layout.

To modify a data element, you can also change its data source, insert graphic objects (primitives, connectors, data symbols, and layouts), or modify object properties of child objects of the data element. This section describes only how to insert data symbols and connectors. For more information about how to modify data elements, refer to the on-line help.

To change how a data element looks, you must modify the properties of one of its child objects. For example, a data element for a pie chart contains several child objects: a Wedge object, an Info object, and an Alignment Panel that contains a Text object. To modify the color of the data element, you must select the Wedge object and modify its color property.

Important: The simple form layout has no data element, so its visibility is a property of the layout rather than the data element.
For information about the child objects of each layout's data element, see Appendix A, "Object Properties Reference." For instructions on how to modify properties, see Chapter 7, "Modifying Object Properties."

Tip: To prepare to modify a data element and to view its child objects in the Object Inspector list box, right-click the layout and select Open Data Element from the popup menu.

What Are Data Symbols?

A data symbol is an icon used to represent a data point in a layout. Visionary provides default data symbols for most layouts, but you can substitute other data symbols for these defaults. You can also modify properties of a data symbol.

Visionary provides the following data symbols.

Data Symbol Description

A symbol that displays four numeric values over a specific time interval.

The candlestick is typically used to display the opening, closing, high, and low prices of a stock on a specific date. The color of the candlestick is designed to show gain or loss of stock value.

A rectangle of variable width used to display ranges of x-values, such as a length of time an event lasted, along an axis.

The event band is typically used with other data layers to depict events that correspond to other data.

A vertical rectangle in which the height is associated with a data value returned by a query, and the label is located on the x-axis.

The vertical label bar is typically used to create bar values parallel to the y-axis of an XY chart.

A vertical rectangle in which the height is associated with a data value returned by a query.

The vertical value bar is typically used to create bar values parallel to the y-axis of an XY chart.

A horizontal rectangle in which the width is associated with a data value returned by a query, and the label is located on the y-axis.

The horizontal label bar is typically used to create bar values parallel to the x-axis of an XY chart

A horizontal rectangle in which the width is associated with a data value returned by a query.

The horizontal value bar is typically used to create bar values parallel to the x-axis of an XY chart

A configurable shape, such as solid diamond, a cross, or any of several other shapes. (Shape is specified as a property in the Object Inspector.)

The marker is typically used to represent a data point in an axis-based chart.

A vertical line with horizontal ticks extending to the left and right side of the line. It is used to display four numeric values over a specific time interval.

The price interval bar is typically used to display the opening, closing, high, and low prices of a stock or other index on a specific date. The shape of the price interval bar can be modified to turn open/close and high/low tick marks on or off.

A horizontal rectangle. The threshold band is similar to the event band data symbol, and is used to display ranges of y-values along an axis.

The threshold band is typically used with data layers to depict value thresholds that correspond to other series of data.

For details about individual data symbol properties, see Appendix A, "Object Properties Reference."

Example of Inserting a Data Symbol

When you insert a layout into a scene, a default data symbol is automatically placed in the data element to represent each of the data points in the layout. You can add a new data symbol to the data element, or change the data symbol from the default.

To insert a data symbol into a data element in a layout

    1. Select the layout in the Scenes panel.

    2. Choose View Data Element so that the data element is displayed in the Data Element Editor.

    3. In the World Manager, click the Graphics tab.

    4. In the Graphics page, click the Data Symbols button to display the Data Symbols panel.

    5. Double-click the data symbol you want to add to the data element.

Tip: If you want more than one object to represent each data point, first insert an alignment panel into the data element and then place the data symbol in the alignment panel.

What Are Connectors?

A connector is a graphic object, such as a straight or curved line, that provides a visual link between data points in a layout, or between graphic objects in a scene. You add a connector to a data element when you want to display a particular type of line connecting all the data points in a layout. You add a connection point when you want to force all data points or objects to terminate at one specified point.

Visionary provides the following connectors.

Connector Description

A straight line

A two-jointed line

A smoothly curved line

A target point that overrides the default targets for connectors

Example of Inserting a Connector

Use the Connectors panel in the World Manager to insert connectors into a data element. The following procedure is an example of how to insert a connector.

To insert a spline connector

    1. In the Scenes panel, double-click the data element where you want to insert the connector.

    A Data Element Editor window opens.

    2. Choose Insert Connector Spline Connector.

    The spline connector appears in the Data Element Editor.

    3. Click Runtime Mode to view the results in the layout.

    4. Modify connector properties, as desired.

Tip: To force all connection lines to connect at a single specified point, insert a connection point and position it as desired.



Visionary User's Guide, version 1.0
Copyright © 1998, Informix Software, Inc. All rights reserved.