Configure widgets (legacy)

The building blocks of legacy Object View tabs are called widgets. Widgets are sometimes referred to as Sections or Plugins. Widgets are the primary way to display some form of data on an object view. Use them to visualize data as KPIs or charts, arrange the layout of an entire object view , and manipulate displayed data.

There are a several widget types available in Object View:

Widget configuration

Widget-specific settings

Widgets are used to visualize or manipulate data related to an object. Widgets typically access one of the following:

  • Properties of the current object
  • Objects linked to the current object
  • Aggregations on properties of objects linked to the current object

When you configure a widget on an object view, determine which object and what property you want to visualize. You must set up the relevant objects and define links in advance within the Ontology metadata.

The specific settings for each widget are unique to the functionality it provides. In general, there are two major components to widget-specific configuration:

  • The object model configuration requires selecting the object or linked object and which properties should be used. For example, when configuring a chart, you may need to aggregate all Flights in an Airport per Destination.
  • The visual configuration requires selecting options such as chart types, colors, formats, text labels, etc.

Widget format settings

All widgets have default format settings:

General

  • Title: Add a title to display in the widget header. By default, this is either the widget name an empty space. You must add a title to the widget to save it.
  • Icon: Choose an icon to display in the top left of the widget header. Each widget has a default icon.
  • Help Info: Empty by default, you can add text to explain the widget to users.

Edit general format settings in object view

Layout

  • Alignment: You can choose whether a widget should be the full width of the object view or have a right or left alignment to place two widgets side-by-side. Alignment is set to full width by default.
  • Sizing: The sizing setting does not exist on all widgets. When it is available, you can control the minimum and maximum height of the section within the object view.

Reuse widget configurations

You can reuse the configuration of a previously created widget by copying the YAML configuration. Access the configuration by selecting the code icon in the upper right corner of the Object View editing screen. Then, copy and paste the configuration into the YAML configuration of a new widget.

Open the YAML configuration to reuse widget configurations