Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

VIEW Gadget: PLOT View

  • Last UpdatedNov 07, 2024
  • 2 minute read

Members

Name

Type

Purpose

Background

REAL
Get/Set

Get or set background Color Number.

Background

STRING
Set Only

Set background Color Name.

Borders

BOOLEAN
Get/Set

Get or set borders ON (TRUE) or OFF (FALSE).

Contents

REAL ARRAY[2]
Get/Set

Get or set User Contents ID.

Defcall

STRING
Get/Set

Get or set default interaction callback.

Height

REAL
Get Only

Get view height.

Highlight

REAL
Get/Set

Get or set highlight Color Number.

Highlight

STRING
Set Only

Set highlight Color Name.

Prompt

GADGET
Get/Set

Get or set User Prompt PARAGRAPH gadget.

Subtype

STRING
Get Only

Get subtype of graphic view.

Width

REAL
Get Only

Get view width.

Methods

Name

Result

Purpose

Add(STRING)

NO RESULT

Add plot file with name given by STRING. Replaces given plot file if any.

Background()

STRING

Returns the background color as a name STRING.

Clear()

NO RESULT

Clear gadget contents.

Highlight()

STRING

Returns the highlight color as a name STRING.

Refresh()

NO RESULT

Refreshes the display of the gadget.

SetSize(REAL width, REAL height)

NO RESULT

Set view size.

Command

The VIEW ... PLOT command puts you into View Setup mode. You remain in View Setup mode until you use the EXIT command.

           .-------------------------<------------------------.

          /                                                   |

(PLOT) --+- <vshap> -----------------------------------.      |

         +- ADD ‑ plot_filename -----------------------|      |

         +- CLear -------------------------------------|      |

         +- SETColour - <colno> -----------------------|      |

         +- SETHighlight - <colno> --------------------‘- NL -|

         +- <cursor> -----------------------------------------|

         +- <border> -----------------------------------------|

         +-- <pml> -------------------------------------------*

         ‘-- EXIT -->

Figure 2.8. Syntax Graph: Setting Up a PLOT VIEW Object

Here:

  • <colno> is any valid AVEVA E3D Design color definition.

  • <cursor> is the syntax for selecting the cursor type, as in 2-19.

  • <border> allows control of zooming and panning as in 2-20.

Related Links
TitleResults for “How to create a CRG?”Also Available in