PREV NEXT

Generic Logic, Inc. www.genlogic.com


3 GLG Widget Resource Sets

The resources of the widgets in the GLG Widget Library are arranged in groups for the convenience of their users. These groupings are only conventions established by the widget creators; only a few of them have a functional meaning.

For example, if it is noted that a widget has the resources from the "Datagroup Resource Set," this means that all the resources named in that set are used in the resource hierarchy of that widget. Since many of the widgets are similar in nature, they share the same sets of resources.

The lists of resources in this chapter list the name of the resource, and then (in parentheses) the type of the object named by the resource. If the object has children objects, these are listed immediately below the parent. The description of the Datagroup Resource Set is shown below:

DataGroup (SERIES): The graph data samples.
DataSample (POLYGON): The data sample template object.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
EntryPoint (DDATA): The entry point for updating graph data samples.

The DataGroup resource indicates a series containing four resources: DataSample, Factor, ScrollType, and EntryPoint. The DataSample object itself contains four resources: Value, Low, and High. The Value resource may thus be indicated by DataGroup/DataSample/Value. The Value resource is a double-precision scalar value, indicated by the "DDATA" in the following parentheses. (Geometrical values are indicated by GDATA, and string values by SDATA.) If a resource is optional or constrained to equal another value, these facts are indicated in the parentheses.

Graph Widget Resource Sets

The resource sets used in the GLG Graph Widget Library are listed below:

Title

Title (TEXT): The title of the graph.

Data Area

DataArea (POLYGON): The area where data are displayed.

Polar Data Area

DataArea (ARC): The area where data are displayed.

3D Data Area

To specify a three-dimensional data area, three mutually perpendicular rectangles are used.

DataArea (POLYGON): The back data area. In its normal position, this is a rectangle in the XY plane.
DataAreaLeft (POLYGON): The left data area, a rectangle in the YZ plane.
DataAreaBottom (POLYGON): The bottom data area, a rectangle in the XZ plane.

Datagroup

DataGroup (SERIES): The graph data samples.
DataSample (POLYGON): The data sample template object..
Value (DDATA): A value defining the height of a data sample..
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit range of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
EntryPoint (DDATA): The data entry point for updating graph data samples.

Multiset Datagroup

A Multiset datagroup is simply a series of Datagroups.

DataGroupOne (SERIES): The graph's data sets.
DataGroup (SERIES): The graph data samples.
DataSample (POLYGON): The template polygon for the data samples.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The data entry point for updating graph data samples within a single Datagroup.
Factor (DDATA): The number of datagroups in the series.
Persistent (DDATA): May be set to preserve attribute settings of individual lines.
EntryPoint (DDATA): The entry point for updating all datagroups.

Packed Datagroup

DataGroup (SERIES): The graph data samples.
Pack (SERIES): The template for one cluster (pack) of data samples.
DataSample (POLYGON): The data sample template polygon.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples in a pack.
Persistent (DDATA): May be set to preserve attribute settings of individual samples in a pack.
Factor (DDATA): The number of data sample clusters.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The entry point for updating graph data samples.

Line Datagroup

These resources are used for simple line graphs.

DataGroup (POLYLINE): The graph data samples.
Marker (MARKER): A template object defining the marker to use at each data point.
DataSample (GDATA): The position of the marker.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Polygon (POLYGON): A template polygon defining the characteristics of the polyline line segments.
Markers (GROUP, optional): The created copies of the template marker. These will not appear unless the Marker resource is present.
Polygons (GROUP, optional): The created instances of line segments. These will not appear unless the Polygon resource is present.
Points (GROUP): The group of dynamically created points.
DataSample<n> (GDATA): The created instances of the data sample template.
Angle (DDATA, optional): The angle spanned by a polar polyline.
Factor (DDATA): The number of data samples on the polyline.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The entry point for updating graph data samples.

Multiline Datagroup

These resources are used for graphs with more than one line of data drawn in the same data area.

DataGroupOne (SERIES): The graph's data sets.
DataGroup (POLYLINE): The template for one data set.
Marker (MARKER): The template for the parent object's markers.
DataSample (GDATA): The template point of the polyline.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Polygon (POLYGON): The template for the parent object's line segments.
Markers (GROUP, optional): The dynamically created copies of the template marker. These will not appear unless the Marker resource is present.
Polygons (GROUP, optional): The created instances of line segments. These will not appear unless the Polygon resource is present.
Points (GROUP): The group of dynamically created points.
DataSample<n> (GDATA): The dynamically created copies of the data sample template.
Angle (DDATA, optional): The angle spanned by a polar polyline.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The entry point for updating the data samples of one datagroup.
Factor (DDATA): The number of datagroups in the graph.
Persistent (DDATA): May be set to preserve attribute settings of individual lines.
EntryPoint (DDATA): The data entry point for updating the data samples of all the datagroups in the graph.

XY Line Datagroup

DataGroup (POLYLINE): The graph data samples.
Marker (MARKER): The template for the parent object's markers.
DataSample (GDATA): The position of the marker.
XValue (DDATA): The X coordinate of a data sample.
XLow (DDATA): The lower limit of X values.
XHigh (DDATA): The upper limit of X values.
YValue (DDATA): The Y coordinate of a data sample.
YLow (DDATA): The lower limit of Y values.
YHigh (DDATA): The upper limit of Y values.
Truncate (DDATA): Controls rendering values outside of the range.
Polygon (POLYGON): The template for the parent object's line segments.
Markers (GROUP, optional): The dynamically created copies of the template marker. These will not appear unless the Marker resource is present.
Polygons (GROUP, optional): The created instances of line segments. These will not appear unless the Polygon resource is present.
Points (GROUP): The group of dynamically created points.
DataSample<n> (GDATA): The dynamically created copies of the data sample template.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
XEntryPoint (DDATA): The data entry point for the X values.
YEntryPoint (DDATA): The data entry point for the Y values.

Multiline XY Datagroup

Title (TEXT): The title of the graph.
DataArea (POLYGON): The area in which data are displayed.
DataGroupOne (SERIES): The series containing all the graph's data sets.
DataGroup (POLYLINE): The template datagroup for the graph.
Marker (MARKER): The marker template for the polyline.
DataSample (GDATA): The position of the marker.
XValue (DDATA): The X coordinate of a data sample.
XLow (DDATA): The lower limit of X values.
XHigh (DDATA): The upper limit of X values.
YValue (DDATA): The Y coordinate of a data sample.
YLow (DDATA): The lower limit of Y values.
YHigh (DDATA): The upper limit of Y values.
Truncate (DDATA): Controls rendering values outside of the range.
Polygon (POLYGON): The template for the parent object's line segments.
Markers (GROUP, optional): The dynamically created copies of the template marker. These will not appear unless the Marker resource is present.
Polygons (GROUP, optional): The created instances of line segments. These will not appear unless the Polygon resource is present.
Points (GROUP): The group of dynamically created points.
DataSample<n> (GDATA): The dynamically created copies of the data sample template.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
XEntryPoint (DDATA): The data entry point for the X values of one set.
YEntryPoint (DDATA): The data entry point for the Y values of one set.
Factor (DDATA): The number of datagroups in the graph.
Persistent (DDATA): May be set to preserve attribute settings of individual lines.
XEntryPoint (DDATA): The data entry point for the X values of all sets.
YEntryPoint (DDATA): The data entry point for the Y values of all sets.

Filled Step Datagroup

DataGroup (SERIES): The graph data samples.
DataSample (GROUP): The template group.
Fill (POLYGON): The filled part of a data sample.
Edge (POLYGON): The edge of a data sample.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The entry point for updating graph data samples.

Multiline Step Datagroup

DataGroupOne (SERIES): The series of the data sets that compose the graph.
DataGroup (SERIES): The template data set for the graph.
DataSample (POLYGON): The data sample template object.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The data entry point for updating samples of one datagroup.
Factor (DDATA): The number of datagroups in the graph.
Persistent (DDATA): May be set to preserve attribute settings of individual lines.
EntryPoint (DDATA): The data entry point for updating samples of all the datagroups.

Filled Multiline Step Datagroup

DataGroupOne (SERIES): The collection of datagroups that make up the graph.
DataGroup (SERIES): The template datagroup.
DataSample (GROUP): The data sample template object.
Fill (POLYGON): The filled part of a data sample.
Edge (POLYGON): The edge of a data sample.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The data entry point for updating samples of one datagroup.
Factor (DDATA): The number of datagroups in the graph.
Persistent (DDATA): May be set to preserve attribute settings of individual lines.
EntryPoint (DDATA): The data entry point for updating samples of all the datagroups.

Pie Datagroup

DataGroup (SERIES): The graph data samples.
DataSample (GROUP): The data sample template object.
Sector (ARC): The arc segment of a pie chart.
Label (TEXT): A label showing the value of that segment.
Format (SDATA): The format (C-style) for displaying the Label value.
SplitFactor (DDATA): When set to 1, the pie segment will be drawn separated from the rest of the pie. When set to zero, the pie will contact its neighbors.
Factor (DDATA): The number of data samples (pieces of the pie).
EntryPoint (DDATA): The entry point for updating data samples.

Polar XY Line Datagroup

DataGroup (POLYLINE): The graph data samples.
Marker (MARKER): The marker to use for the series template.
DataSample (GDATA): The position of the marker.
RadValue (DDATA): The data point's distance from the center of the graph.
AngleValue (DDATA): The angle described by the data point, the center of the graph, and the X axis.
Low (DDATA): The lower limit of the data point's radius value.
High (DDATA): The upper limit of the data point's radius value.
Truncate (DDATA): Controls rendering values outside of the range.
Polygon (POLYGON): The polyline's template polygon.
Markers (GROUP, optional): The dynamically created copies of the template marker. These will not appear unless the Marker resource is present.
Polygons (GROUP, optional): The created instances of line segments. These will not appear unless the Polygon resource is present.
Points (GROUP): The group of dynamically created points.
DataSample<n> (GDATA): The dynamically created copies of the data sample template.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
AngleEntryPoint (DDATA): The entry point for updating the AngleValue resource of a the collection of data samples
RadiusEntryPoint (DDATA): The entry point for updating the RadValue resource of the collection of data samples.

Multiline Polar XY Datagroup

DataGroupOne (SERIES): The collection of polylines that make up the graph.
DataGroup (POLYLINE): The polyline template.
Marker (MARKER): The template for the parent object's markers.
DataSample (GDATA): The position of the marker.
RadValue (DDATA): The data point's distance from the center of the graph.
AngleValue (DDATA): The angle described by the data point, the center of the graph, and the X axis.
Low (DDATA): The lower limit of the data point's radius value.
High (DDATA): The upper limit of the data point's radius value.
Truncate (DDATA): Controls rendering values outside of the range.
Polygon (POLYGON): The template for the parent object's line segments.
Markers (GROUP, optional): The dynamically created copies of the template marker. These will not appear unless the Marker resource is present.
Polygons (GROUP, optional): The created instances of line segments. These will not appear unless the Polygon resource is present.
Points (GROUP): The group of dynamically created points.
DataSample<n> (GDATA): The dynamically created copies of the data sample template.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
AngleEntryPoint (DDATA): The entry point for updating the AngleValue resource of one set of data samples
RadiusEntryPoint (DDATA): The entry point for updating the RadValue resource of one set of data samples.
Factor (DDATA): The number of datagroups (polylines) in the graph.
Persistent (DDATA): May be set to preserve attribute settings of individual lines.
AngleEntryPoint (DDATA): The angle entry point for updating all of the data samples.
RadiusEntryPoint (DDATA): The radius entry point for updating all of the data samples.

3D Datagroup

DataGroup (SERIES): The graph data samples.
DataSample (GROUP): The data sample template object. This is a collection of several polygons arranged in three-dimensional space.
Element (POLYGON): The template polygon whose attributes are constrained to the attributes of all the polygons in the DataSample group.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The entry point for updating graph data samples.

Multiset 3D Datagroup

DataGroupOne (SERIES): The collection of the graph's data sets.
DataGroup (SERIES): A template datagroup.
DataSample (GROUP): The data sample template object. This is a collection of several polygons arranged in three-dimensional space.
Element (POLYGON): The template polygon whose attributes are constrained to the attributes of all the polygons in the DataSample group.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The entry point for updating one data set.
Factor (DDATA): The number of datagroups in the graph.
EntryPoint (DDATA): The entry point for updating all data sets.

3D Packed Datagroup

DataGroup (SERIES): The graph data samples.
Pack (SERIES): The template for one cluster (pack) of data samples.
DataSample (GROUP): The data sample template object.
Element (POLYGON): One polygon component of a composite data sample object. The attributes of all the component polygons are constrained to attributes of this element.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples. in a pack
Factor (DDATA): The number of data sample clusters.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The entry point for updating graph data samples.

Multiset 3D Packed Datagroup

DataGroupOne (SERIES): The collection of data groups that make up the graph.
DataGroup (SERIES): The collection of data samples.making up one component of the graph.
Pack (SERIES): The template for one cluster (pack) of data samples.
DataSample (GROUP): The data sample template object.
Element (POLYGON): One polygon component of a composite data sample object. The attributes of all the component polygons are constrained to the attributes of this element.
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Factor (DDATA): The number of data samples. in a pack
Factor (DDATA): The number of data sample clusters.
ScrollType (DDATA): The scrolling type of the graph.
Inversed (DDATA): Controls the scrolling direction.
EntryPoint (DDATA): The entry point for updating graph data samples.
Factor (DDATA): The number of datagroups in the graph.
EntryPoint (DDATA): The data entry point for updating all data sets.

Surface Datagroup

DataGroup (SERIES): The graph data samples.
DataSample (GDATA): The data sample for a surface graph is the 3-D coordinates of a vertex point of the surface.
Value (DDATA): A value defining the height (Y-coordinate) of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Truncate (DDATA): Controls rendering values outside of the range.
Polygon (POLYGON): The template polygon for the surface facets. The colors and line characteristics are copied from this template.
Polygons (GROUP): The group that contains the dynamically created facets of the surface.
Polygon<n> (POLYGON): Each facet of the surface is individually addressable with this resource. Note that, as with all GLG indexes, this index starts at zero.
Marker (MARKER): The template for the markers that appear at the surface vertices.
Markers (GROUP): The group containing the dynamically markers (if markers are enabled).
Marker<n> (MARKER): Each marker of a surface is individually addressable with this resource.
Points (GROUP): The group containing the positions of each vertex in the graph surface.
DataSample<n> (GDATA): An instance of the data sample with index <n> (zero based).
Value (DDATA): A value defining the height of a data sample.
Low (DDATA): The lower limit of graph values.
High (DDATA): The upper limit of graph values.
Rows (DDATA): The number of rows of data samples.
Columns (DDATA): The number of columns of data samples.
EntryPoint (DDATA): The entry point for updating graph data samples.

Level

Level objects are used to draw horizontal lines on a bar graph. They will often be used to indicate some externally defined data level.

LevelObjectGroup (SERIES): This is the series of level lines for the graph.
LevelObject (POLYGON): The template level line provides the line characteristics for the line.
Value (DDATA): The height of a level line
Low (DDATA, constrained): The lower limit of graph values.
High (DDATA, constrained): The upper limit of graph values.
Factor (DDATA): The number of level lines in the graph.
LevelObject<n> (POLYGON): The nth level line.
Value (DDATA): The height of a level line.
Low (DDATA, constrained): The lower limit of graph values.
High (DDATA, constrained): The upper limit of graph values.

Symmetrical Level

These level lines are used to mark pairs of level lines that are symmetrical around a given level.

LevelObjectOne (SERIES): A series of level line pairs.
LevelObjectGroup (GROUP): The template for a pair of level lines.
LevelObject1 (POLYGON): The upper level line.
Value (DDATA): The height of the upper level line.
High (DDATA, constrained): The upper limit of graph values.
LevelObject2 (POLYGON): The lower level line.
Value (DDATA, constrained): The height of the lower level line.
High (DDATA, constrained): The upper limit of graph values.
Factor (DDATA): number of level line sets

Polar Level

These lines are used on polar graphs.

LevelObjectGroup (SERIES): A series of level lines.
LevelObject (ARC): The template level line. The line's characteristics, like weight and type, are taken from this template.
Value (DDATA): The radius of a level line.
Low (DDATA, constrained): The lower limit of graph values.
High (DDATA, constrained): The upper limit of graph values.
Factor (DDATA): The number of level lines.

X Level

XLevelObjectGroup (SERIES): A series of vertical (X) level lines.
XLevelObject (POLYGON): The template X level line.
Value (DDATA): The X-coordinate of the line.
XLow (DDATA, constrained): The lower limit of X values in the graph.
XHigh (DDATA, constrained): The upper limit of X values in the graph.
Factor (DDATA): The number of X level lines in the graph.

Y Level

YLevelObjectGroup (SERIES): A series of horizontal (Y) level lines.
YLevelObject (POLYGON): The template Y level line.
Value (DDATA): The Y-coordinate of the line.
YLow (DDATA, constrained): The lower limit of Y values in the graph.
YHigh (DDATA, constrained): The upper limit of Y values in the graph.
Factor (DDATA): The number of Y level lines.

Status Object

A status object is used to point to the update position for a wrapped graph.

StatusObject (POLYGON): Shows current update state. The origin of the polygon object is placed at the axis intercept of the current update position.

Value Axis

This is the general-purpose axis resource group. More specific resource groups (e.g. X-axis, Y-axis, X-axis for data values, X-axis for time values, and so on) are described below.

Axis (POLYGON): The line representing the axis itself.
AxisLabel (TEXT, optional): The label for the axis.
Base (POLYGON, optional): A polygon defining the positioning of axis ticks. The position of this polygon's first point coincides with the first tick on the axis.
MajorGroup (SERIES): The series of major ticks.
MajorTick (POLYGON): A template for the axis major ticks.
Factor (DDATA): The number of major ticks.
MinorGroupOne (SERIES, optional): The series that contains all the axis minor ticks.
MinorGroup (SERIES): The template for one set of minor ticks (between two major ticks).
MinorTick (POLYGON): The template for an individual minor tick.
Factor (DDATA): The number of minor ticks between major ticks.
LogType (DDATA): Controls logarithmic positioning of minor ticks.
Factor (DDATA, constrained): The number of X major ticks.
LabelGroup (SERIES): The series of major tick labels.
Label (TEXT): A template for the major tick labels.
Format (SDATA): The C-style format to use for displaying label values.
Low (DDATA, constrained): The lower limit of the graph's data.
High (DDATA, constrained): The upper limit of the graph's data.
Factor (DDATA, constrained): The number of major ticks.

X Axis

These resources control the appearance of a graph's X axis. Note that the axis labels in this group and other similar ones are arranged in a series with an enclosed history object. (For more about the history object, see [*].) This arrangement is provided as a convenient way to set individual attributes of series members, and has no functional relation to the graph's EntryPoint resource.

XAxis (POLYGON): The line representing the X axis itself.
XMajorGroup (SERIES): The series of X major ticks.
XMajorTick (POLYGON): The template for the X major ticks.
Factor (DDATA): The number of X major ticks.
XMinorGroupOne (SERIES): The series of X minor ticks.
XMinorGroup (SERIES): template for one set of X minor ticks
XMinorTick (POLYGON): The template for the X minor ticks.
Factor (DDATA): The number of X minor ticks.
Factor (DDATA, constrained): The number of X major ticks.
XGridGroup (SERIES, optional): The X axis grid lines.
XGrid (POLYGON): The template grid line.
Factor (DDATA, constrained): The number of X major ticks.
XLabelGroup (SERIES, optional): The series of major tick labels.
XLabel (TEXT): A template major tick label.
Factor (DDATA, constrained): The number of major ticks.
EntryPoint (SDATA, optional): Entry point for simplified setting of label strings.

Y Axis

YAxis (POLYGON): The line representing the Y axis itself.
YMajorGroup (SERIES): The series of Y major ticks.
YMajorTick (POLYGON): The template for the Y major ticks.
Factor (DDATA): The number of Y major ticks.
YMinorGroupOne (SERIES): The series of Y minor ticks.
YMinorGroup (SERIES): template for one set of Y minor ticks
YMinorTick (POLYGON): The template for the Y minor ticks.
Factor (DDATA): The number of Y minor ticks..
Factor (DDATA, constrained): The number of Y major ticks.
YGridGroup (SERIES, optional): The series of Y axis grid lines.
YGrid (POLYGON): The template grid line.
Factor (DDATA, constrained): The number of Y major ticks.
YLabelGroup (SERIES, optional): The series of major tick labels.
YLabel (TEXT): The template major tick label.
Factor (DDATA, constrained): The number of major ticks.
EntryPoint (SDATA, optional): Entry point for simplified setting of label strings.

Z Axis

ZAxis (POLYGON): The line representing the Z axis itself.
ZMajorGroup (SERIES): The series of Z major ticks.
ZMajorTick (POLYGON): The template for the Z major ticks.
Factor (DDATA): The number of Z major ticks.
ZMinorGroupOne (SERIES, optional): The series of Z minor ticks.
ZMinorGroup (SERIES): The template for one set of Z minor ticks.
ZMinorTick (POLYGON): The template for a single Z minor tick.
Factor (DDATA): The number of Z minor ticks.
Factor (DDATA, constrained): The number of Z major ticks.
ZLabelGroup (SERIES, optional): The set of major tick labels.
ZLabel (TEXT): A template major tick label.
Factor (DDATA, constrained): The number of major ticks.
EntryPoint (SDATA, optional): Entry point for simplified setting of label strings.

X Value Axis

XAxis (POLYGON, optional): The line representing the X axis itself.
XAxisLabel (TEXT, optional): The title for the X axis.
XMajorGroup (SERIES): The series of X major ticks.
XMajorTick (POLYGON): The template for the X major ticks.
Factor (DDATA): The number of X major ticks.
XMinorGroupOne (SERIES): The series of X minor ticks.
XMinorGroup (SERIES): template for one set of X minor ticks
XMinorTick (POLYGON): The template for the X minor ticks.
Factor (DDATA): The number of X minor ticks.
LogType (DDATA): Controls logarithmic positioning of minor ticks.
Factor (DDATA, constrained): The number of X major ticks.
XLabelGroup (SERIES): X major tick labels
XLabel (TEXT): The template for the X major ticks. label
Format (SDATA): The C-style format to use for displaying label values.
Low (DDATA, constrained): The lower limit of the graph's data.
High (DDATA, constrained): The upper limit of the graph's data.
Factor (DDATA, constrained): The number of X major ticks.
XGridGroup (SERIES): The series of X axis grid lines.
XGrid (POLYGON): The template grid line.
Factor (DDATA, constrained): The number of X major ticks.

Y Value Axis

YAxis (POLYGON, optional): The line representing the Y axis itself.
YAxisLabel (TEXT, optional): The title for the Y axis.
YMajorGroup (SERIES): The series of Y major ticks.
YMajorTick (POLYGON): The template for the Y major ticks.
Factor (DDATA): The number of Y major ticks.
YMinorGroupOne (SERIES): The series of Y minor ticks.
YMinorGroup (SERIES): template for one set of Y minor ticks
YMinorTick (POLYGON): The template for the Y minor ticks.
Factor (DDATA): The number of Y minor ticks.
LogType (DDATA): Controls logarithmic positioning of minor ticks.
Factor (DDATA, constrained): The number of Y major ticks.
YLabelGroup (SERIES): Y major tick labels
YLabel (TEXT): The template for the Y major ticks. label
Format (SDATA): The C-style format to use for displaying label values.
Low (DDATA, constrained): The lower limit of the graph's data.
High (DDATA, constrained): The upper limit of the graph's data.
Factor (DDATA, constrained): The number of Y major ticks.
YGridGroup (SERIES): The series of Y axis grid lines.
YGrid (POLYGON): The template grid line.
Factor (DDATA, constrained): The number of Y major ticks.

Y1 Value Axis

An auxiliary set of ticks and labels. It is the same as Y Value Axis Resource Set except that all the resources at the top level of the resource hierarchy that begin with "Y" are replaced with names that begin with "Y1" instead.

Y Value Multiaxis

This set of several Y-axes is designed to be used in graphs that display several different sets of data at the same time.

YAxisGroupOne (SERIES): A series containing several vertical axes.
Factor (DDATA): The number of Y axes displayed.
YAxisGroup (GROUP): The template for one vertical axis with ticks and labels.
YAxis (POLYGON): The line representing the Y axis itself.
YAxisLabel (TEXT): The title for the Y axis.
YMajorGroup (SERIES): The series of Y major ticks.
YMajorTick (POLYGON): The template for the Y major ticks.
Factor (DDATA): The number of Y major ticks.
YMinorGroupOne (SERIES): The series of Y minor ticks.
YMinorGroup (SERIES): template for one set of Y minor ticks
YMinorTick (POLYGON): The template for the Y minor ticks.
Factor (DDATA): The number of Y minor ticks.
LogType (DDATA): controls logarithmic positioning of minor ticks
Factor (DDATA, constrained): The number of Y major ticks.
YLabelGroup (SERIES): Y major tick labels
YLabel (TEXT): The template for the Y major ticks. label
Format (SDATA): The C-style format to use for displaying label values.
Low (DDATA, constrained): The lower limit of the graph's data.
High (DDATA, constrained): The upper limit of the graph's data.
Factor (DDATA, constrained): The number of Y major ticks.
YGridGroup (SERIES): The Y axis grid lines.
YGrid (POLYGON): The template grid line.
Factor (DDATA, constrained): The number of Y major ticks.

Z Value Axis

ZAxis (POLYGON, optional): The line representing the Z axis itself.
ZAxisLabel (TEXT): The title for the Z axis.
ZMajorGroup (SERIES): The series of Z major ticks.
ZMajorTick (POLYGON): The template for the Z major ticks.
Factor (DDATA): The number of Z major ticks.
ZMinorGroupOne (SERIES): The series of Z minor ticks.
ZMinorGroup (SERIES): The template for one set of Z minor ticks.
ZMinorTick (POLYGON): The template for a single Z minor tick.
Factor (DDATA): The number of Z minor ticks.
Factor (DDATA, constrained): The number of Z major ticks.
ZLabelGroup (SERIES): The Z major tick labels.
ZLabel (TEXT): The template for the Z major ticks.
Format (SDATA): format to use for displaying label values
Low (DDATA): The lower limit of the Z axis.
High (DDATA): The upper limit of the Z axis.
Factor (DDATA, constrained): The number of Z major ticks.

X Time Axis

XAxis (POLYGON, optional): The line representing the X axis itself.
XAxisLabel (TEXT): The title for the X axis.
XMajorGroup (SERIES): The series of X major ticks.
XMajorTick (POLYGON): The template for the X major ticks.
Factor (DDATA): The number of X major ticks.
ScrollType (DDATA, constrained): The scrolling type of the graph.
Inversed (DDATA, constrained): Controls the direction of the graph's scrolling behavior.
XMinorGroupOne (SERIES): The series of X minor ticks.
XMinorGroup (SERIES): The template for one set of X minor ticks.
XMinorTick (POLYGON): The template for the X minor ticks.
Factor (DDATA): The number of X minor ticks.
Factor (DDATA, constrained): The number of X major ticks.
XLabelGroup (SERIES): X major tick labels
XLabel (TEXT): The template for the X major ticks labels.
Factor (DDATA, constrained): The number of X major ticks.
MinorFactor (DDATA, constrained): The number of X minor ticks.
ScrollType (DATA, constrained): The scrolling type of the graph.
Inversed (DDATA, constrained): Controls the direction of the labels' scrolling behavior.
EntryPoint (SDATA, optional): The entry point for setting labels' strings.
XGridGroup (SERIES): The series of X axis grid lines.
XGrid (POLYGON): The template grid line.
Factor (DDATA, constrained): The number of X major ticks.
MinorFactor (DDATA, constrained): The number of X minor ticks.
ScrollType (DATA, constrained): The scrolling type used for the grid lines.
Inversed (DDATA, constrained): Controls the direction of the grid lines' scrolling behavior.

Y Time Axis

YAxis (POLYGON, optional): The line representing the Y axis itself.
YAxisLabel (TEXT): The title for the Y axis.
YMajorGroup (SERIES): The series of Y major ticks.
YMajorTick (POLYGON): The template for the Y major ticks.
Factor (DDATA): The number of Y major ticks.
ScrollType (DATA, constrained): The scrolling type of the graph.
Inversed (DDATA, constrained): Controls the direction of the axis ticks' scrolling behavior.
YMinorGroupOne (SERIES): The series of Y minor ticks.
YMinorGroup (SERIES): template for one set of Y minor ticks
YMinorTick (POLYGON): The template for the Y minor ticks.
Factor (DDATA): The number of Y minor ticks.
Factor (DDATA, constrained): The number of Y major ticks.
YLabelGroup (SERIES): Y major tick labels
YLabel (TEXT): The template for the Y major ticks. label
Factor (DDATA, constrained): The number of Y major ticks.
MinorFactor (DDATA, constrained): The number of Y minor ticks.
ScrollType (DATA, constrained): The scrolling type of the graph.
Inversed (DDATA, constrained): Controls the direction of the labels' scrolling behavior.
EntryPoint (SDATA, optional): The data entry point provided for simplified setting of label strings.
YGridGroup (SERIES): The Y axis grid lines.
YGrid (POLYGON): The template grid line.
Factor (DDATA, constrained): The number of Y major ticks.
MinorFactor (DDATA, constrained): The number of Y minor ticks.
ScrollType (DATA, constrained): The scrolling type of the graph.
Inversed (DDATA, constrained): Controls the direction of the labels' scrolling behavior.

Tangent Ticks

The tangent and radial groups are used for polar graph grids. The tangent axes are the ones that go in a circle around the origin, while the radial axes radiate outwards from the origin.

TangentMajorGroup (SERIES): The series of tangent major ticks.
TangentMajorTick (POLYGON): The template tangent major tick.
Factor (DDATA): The number of tangent major ticks.
TangentMinorGroupOne (SERIES): The series of tangent minor ticks.
TangentMinorGroup (SERIES): The template for one set of tangent minor ticks (to be drawn between an adjacent pair of major ticks).
TangentMinorTick (POLYGON): The template for a single tangent minor tick.
Factor (DDATA): The number of tangent minor ticks between adjacent major ticks.
Factor (DDATA, constrained): The number of tangent major ticks.

Tangent Labels

TangentLabelGroup (SERIES): The series of tangent labels.
TangentLabel (TEXT): The template tangent label.
Format (SDATA): The C-style format to use for displaying label values.
Low (DDATA, constrained): The lower limit of the label values.
High (DDATA, constrained): The upper limit of the label values.
Factor (DDATA, constrained): The number of tangent labels.

Tangent Grid

TangentGridGroup (SERIES): A series of tangent grid lines.
TangentGrid (POLYGON): The template grid line.
Factor (DDATA): The number of tangent grid lines.

Radial Grid

RadialGridGroup (SERIES): A series of radial grid lines.
RadialGrid (ARC): The template grid line.
Factor (DDATA): The number of radial grids.

Legend

LegendObject (VIEWPORT): legend viewport
LegendGroup (GROUP): a group of legend elements
Legend (GROUP): template legend element
LegendBox (POLYGON, optional): legend box
LegendLine (POLYGON, optional): legend line
LegendMarker1 (POLYGON, optional): legend line marker
LegendMarker2 (POLYGON, optional): legend line marker
LegendLabel (TEXT): legend text object

Bevel

Body (GROUP): set of bevels
Element (POLYGON, optional): bevel polygon
BevelSize (DDATA, optional): the width of button bevels in pixels
Insert (VIEWPORT, optional): a viewport to place objects inside bevels
FrameSize (DDATA): the width of the gap between the bevels and the Insert viewport.
InverseShading (DDATA, optional): inverses bevel shading when set to 1.

View Resources

These resource sets control the view a user has of the widget.

Viewing

The angles used to specify the viewing transformation are defined relative to the "main view. " This view of a drawing has the X-axis pointing to the right, the Y-axis pointing up, and the Z-axis pointing directly at the viewer.

PanCenter (GDATA): This point is drawn in the center of the top-level viewport.
Scale (DDATA): The zoom factor for a drawing. A value of 1.0 indicates that the corners of the top-level viewport will have the coordinates (-1000 -1000) and (1000 1000).
XAngle (DDATA): The angle of rotation around the X axis from the main view.
YAngle (DDATA): The angle of rotation around the Yaxis from the main view.
ZAngle (DDATA): The angle of rotation around the Z axis from the main view.
ShearFactor (DDATA): The degree of shear along the Z axis.
ShearX (DDATA): The proportion of the specified shear in the X direction.
ShearY (DDATA): The proportion of the specified shear in the Y direction.

Zooming

PanCenter (GDATA): This point is drawn in the center of the top-level viewport.
Scale (DDATA): The zoom factor for a drawing. A value of 1.0 indicates that the corners of the top-level viewport will have the coordinates (-1000 -1000) and (1000 1000).

Control And Interface Widget Common Resources

This section lists the sets of resources common for control and interface widgets. For lists of the resources used by the widget input handlers, and for more information about the input widgets, see also the Input Widgets, Dials and Meters section of Using the GLG Widgets.

Slider

ValueX (DDATA, optional): The slider's X value.
OutValueX (DDATA, optional): The slider's X output value. You may constrain other objects to this attribute.
ValueY (DDATA, optional): The slider's Y value.
OutValueY (DDATA, optional): The slider's Y output value. You may constrain other objects to this resource.
Value (DDATA, optional): The native slider's input value.
OutValue (DDATA, optional): The native slider's X output value. You may constrain other objects to this attribute.
Low (DDATA, optional): The lower limit of the slider's output value.
High (DDATA, optional): The upper limit of the slider's output value.
LowX (DDATA, optional): The lower limit of the 2D slider's X value.
HighX (DDATA, optional): The upper limit of the 2D slider's X value.
LowY (DDATA, optional): The lower limit of the 2D slider's Y value.
HighY (DDATA, optional): The upper limit of the 2D slider's Y value.
Granularity (DDATA, optional): If this resource is present and set to a non-zero value, the slider is limited to this number of allowed positions.
DisableMotion (DDATA, optional): If this resource is present and set to a non-zero value. the slider's reaction to MotionNotify events is disabled.
Start (MARKER, optional): A marker placed at the lower limit of the slider's range.
XEnd (MARKER, optional): A marker placed at the upper limit of the slider's range of X values.
YEnd (MARKER, optional): A marker placed at the upper limit of the slider's range of Y values.
ActiveArea (POLYGON, optional): The screen cursor must be within this polygon for the slider to react to user input. This resource is not usually present in the default slider. Instead, the ActiveAreaSpare polygon (invisible by default) is defined. It may be renamed ActiveArea and positioned as desired to make only some area of the slider sensitive to mouse events.
Plane (POLYGON, optional): The slider pointer slides on the plane defined with this polygon. The points of the polygon must be coplanar.
Increase (VIEWPORT, optional): An "increase" button for a one-dimensional slider.
Decrease (VIEWPORT, optional): A "decrease" button for a one-dimensional slider.
Left (VIEWPORT, optional): A directional button for a two-dimensional slider.
Right (VIEWPORT, optional): A directional button for a two-dimensional slider.
Up (VIEWPORT, optional): A directional button for a two-dimensional slider.
Down (VIEWPORT, optional): A directional button for a two-dimensional slider.
Increment (DDATA, optional): If the slider viewport contains motion buttons, each click of the button moves the slider by the amount specified by this resource. The value of the resource is between 0 and 1, and refers to a proportion of the total range of the slider. If this resource is not present, the default increment of motion is 0.1 times the total slider range.

Knob

Value (DDATA, mandatory): The knob's value.
OutValue (DDATA, optional): The knob's output value. You may constrain other objects to this resource.
Low (DDATA, optional): The lower limit of the knob's value.
High (DDATA, optional): The upper limit of the knob's value.
Granularity (DDATA, optional): If this resource is present and set to a non-zero value, it specifies the number of allowed positions for the knob.
DisableMotion (DDATA, optional): If this resource is present and set to a non-zero value. the knob's reaction to MotionNotify events is disabled.
StartAngle (DDATA, optional): The Value resource is at its lower limit when the knob is at this angle.
EndAngle (DDATA, optional): The Value resource is at its upper limit when the knob is at this angle.
Center (MARKER, optional): A marker placed at the rotation center of the knob.
ActiveArea (POLYGON, optional): The screen cursor must be within this polygon for the knob to react to user input. This resource is not usually present in the default knob. Instead, the ActiveAreaSpare polygon (invisible by default) is defined. It may be renamed ActiveArea and positioned as desired to make only some area of the knob sensitive to mouse events.
Plane (POLYGON, optional): The knob pointer slides on the plane defined with this polygon. The points of the polygon must be coplanar.
Increase (VIEWPORT, optional): An "increase" button for a knob.
Decrease (VIEWPORT, optional): A "decrease" button for a knob.
Increment (DDATA, optional): If the knob viewport contains control buttons, each click of the button moves the knob by the amount specified by this resource. The value of the resource is between 0 and 1, and refers to a proportion of the total range of the knob. If this resource is not present, the default increment of motion is 0.1 times the total knob range.

Active Element

An input widget's active element may be a simple object, or a group of objects:

ActiveElement (POLYGON or ARC, optional): The moving part of a control widget.

or

ActiveElementGroup (GROUP, optional): The moving parts of a control widget.
ActiveElement (POLYGON or ARC, optional): The main part of the active element group.
Pointer (POLYGON, optional): The end part of a meter needle.

The active element may have the Truncate resource that controls how input values outside of the range are displayed. When it is set to ON, the value is truncated to fit into the High-Low range of the widget. When the value is truncated, the active element is positioned at either the start or the end of the scale, depending on the input value.

Clock Hands

HourHandGroup (GROUP, optional): The hour hand.
HourHand (POLYGON): A polygon element of the hour hand.
MinHandGroup (GROUP, optional): The minute hand.
MinHand (POLYGON): A polygon element of the minute hand.
SecHandGroup (GROUP, optional): The second hand.
SecHand (POLYGON): A polygon element of the second hand.

Unit Label

UnitLabel (TEXT): The axis label of a control widget.

Scale Area

ScaleArea (POLYGON): The area behind the moving part of a control widget or dial.
ScaleAreaBorder (POLYGON, optional): A polygon surrounding the ScaleArea.
ScaleAreaBorder1 (POLYGON, optional): A polygon surrounding the polygon surrounding the ScaleArea.

Center Marker

Element (POLYGON, ARC or GROUP): A graphical object providing additional decoration to a meter's rotation center.

Value Label

ValueLabel (TEXT): The value label of a control widget.
Low (DDATA, constrained): The lower limit of the meter's value.
High (DDATA, constrained): The upper limit of the meter's value.
Format (SDATA): The C-style label display format.

Value Label Group

ValueLabelGroup (GROUP): A value label with decorations.
LabelArea (POLYGON): The background area of the label.
LabelBorder (POLYGON): One side of the bevels decorating the label.
ValueLabel (TEXT): The value label of a control widget.
Value (DDATA, constrained, optional): The meter value.
Low (DDATA, constrained, optional): The lower limit of the meter value.
High (DDATA, constrained, optional): The upper limit of the meter value.
Format (SDATA): The display format for the label.

X Value Label Group

XValueLabelGroup (GROUP): A value label with decorations.
XLabelArea (POLYGON): The background area of the label.
XLabelBorder (POLYGON): One side of the bevels decorating the label.
XValueLabel (TEXT): The meter value label.
Low (DDATA, constrained): The lower limit of the meter value.
High (DDATA, constrained): The upper limit of the meter value.
Format (SDATA): The C-style label display format.

Y Value Label Group

YValueLabelGroup (GROUP): A value label with decorations.
YLabelArea (POLYGON): The background area of the label.
YLabelBorder (POLYGON): One side of the bevels decorating the label.
YValueLabel (TEXT): The meter value label.
Low (DDATA, constrained): The lower limit of the meter value.
High (DDATA, constrained): The upper limit of the meter value.
Format (SDATA): The C-style label display format.

Pointer

XPointer (POLYGON): A graphical shape that indicates the current X value on an XY graph.
YPointer (POLYGON): A graphical shape that indicates the current Y value on an XY graph.


Generic Logic, Inc.
www.genlogic.com
PREV NEXT