# Smart Chart

> Source: https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/chart

The **Add a Smart Chart** window is used to add (and edit) a Smart Chart on the file maintenance panel. See Webster+ **[\[chart\]](https://manual.pvxplus.com/webster/short-codes#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.

![](https://manual.pvxplus.com/migration-assets/ffe1fdabd72494f85713bf4cdcb70329e5ea9d71cdf7d977cbe72c2ce0cc481a.jpg)

Many of these options are also available when defining a Smart Chart control in the NOMADS Panel Designer (see **[Defining Smart Controls](https://manual.pvxplus.com/nomads-graphical-application/smart-controls/defining-smart-controls#Mark8)**), except for these differences:

|  |  |
| --- | --- |
| *Chart Control Name* | Enter a unique name or use the default name provided. (Same as **[Name](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/chart-control/chart#name)** property in **Chart Properties**.) |
| **Size** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Width* \| Enter the width for the Chart either in number of *Columns **(Default)*** or as a *Percentage* of the column width.<br>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.<br>When *Percentage* is selected, the percentage defaults to 100%. Otherwise, enter the desired percentage or use the spinner control. \|<br>\| *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](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/visual-classes)** to the Chart control for setting up default settings such as font, color and various attributes. |
| **Webster+ HTML** | ***(Available when* [HTML Page](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/object-definition#formtype) *check box is selected for Form Type)***<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Event* \| Enter an optional **[HTML Event](https://manual.pvxplus.com/webster/webster-events)**. \|<br>\| *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.<br>See **[Webster+ Defined Classes](https://manual.pvxplus.com/webster/webster-defined-classes)**. \|<br>\| *Other Options* \| One or multiple short code options associated with the **[\[chart\]](https://manual.pvxplus.com/webster/short-codes#chart)** short code can be entered. Multiple options must be separated by a space.<br>See Webster+ **[Short Code Options](https://manual.pvxplus.com/webster/short-code-options)**.<br>***Example:***<br>```<br>tip=FloatingTip<br>tip=FloatingTip link=https://www.pvxplus.com<br>```<br>Important Note:<br>The Other Options field should not be used for entering class=xxx or event=xxx short code options. \|<br>*(HTML Event was added in PxPlus 2022.)  <br>(The Other Options and Class fields were added in PxPlus 2023 Update 1.)* |
| *Span Multiple Lines* | ***(Applicable for NOMADS Panels Only)***<br>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.<br>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.<br>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](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/listbox#span_example)**. |
