File Maintenance Generator

Smart Chart

Step 6: Field Layout

The Add a Smart Chart window is used to add (and edit) a Smart Chart on the file maintenance panel. See Webster+ [chart] short code.

(The ability to add/edit a Smart Chart was added in PxPlus 2021.)

To invoke this window, use one of the following methods:

     • Click the Add Object button (above the Layout Grid) and select the Smart Chart option. OR

     • Right click on a cell in the Layout Grid, select Add Object from the popup menu and then select the Add or Edit a Smart Chart option.

Many of these options are also available when defining a Smart Chart control in the NOMADS Panel Designer (see Defining Smart Controls), except for these differences:

Chart Control Name

Enter a unique name or use the default name provided. (Same as Name property in Chart Properties.)

Size

Width

Enter the width for the Chart either in number of Columns (Default) or as a Percentage of the column width.

When Columns is selected, the width defaults to Auto, which will result in the Chart filling the entire column or full line. If a Chart with an Auto width is the only control in the column, it will default to a width of 35. Otherwise, enter the desired value or use the spinner control. Valid entries are 0 to 300.

When Percentage is selected, the percentage defaults to 100%. Otherwise, enter the desired percentage or use the spinner control.

Height

Enter the height for the Chart in number of lines or use the spinner control. Valid entries are 0 to 255. (Default is 10.)

Visual Class

(Optional) Assign a Visual Class to the Chart control for setting up default settings such as font, color and various attributes.

Webster+ HTML

(Available when HTML Page check box is selected for Form Type)

Event

Enter an optional HTML Event.

Class

A single HTML Class can be entered. Multiple classes can be entered, separated by either spaces or commas. When spaces are used as the delimiter, the values must be within double quotes.

See Webster+ Defined Classes.

Other Options

One or multiple short code options associated with the [chart] short code can be entered. Multiple options must be separated by a space.

See Webster+ Short Code Options.

Example:

     tip=FloatingTip
     tip=FloatingTip link=https://www.pvxplus.com

Important Note:
The Other Options field should not be used for entering class=xxx or event=xxx short code options.

(HTML Event was added in PxPlus 2022.)
(The Other Options and Class fields were added in PxPlus 2023 Update 1.)

Span Multiple Lines

(Applicable for NOMADS Panels Only)

When selected (Default), the Chart spans according to its size. Fields placed in the rows below the Chart and below the adjoining cell (in a two-column layout) are pushed down to accommodate the Chart. The field in the adjoining cell remains in place beside the Chart.

Deselecting this option allows fields to be placed beside the Chart (in a two-column layout). However, fields below the Chart (in the same column) are not pushed down, which may result in overlapping and hidden fields.

This option works the same for Smart List Boxes, Smart Charts, Images and Embedded Panel/HTML Short Codes. For an example using a Smart List Box, see Example - Span Multiple Lines.