The inmation:webchart

The inmation:webchart is an advanced chart display application that can be used inside a browser or as embedded content in Visual KPI. This Web App application connects to system:inmation using the Web API to retrieve and display data directly from your system.

The ability to display multiple axes (both x and y) means Web Chart is a great way to illustrate a lot of information within limited space and allow new insight to the data you may have otherwise missed.

Multiple x-axis support enables different time period comparisons. Diverse production data can be added to a single graph, making the comparison of critical outliers much easier by removing the need to switch between graphs. Multiple y-axis support enables different scale comparison. Variables with different scales can have a strong relation, e.g. temperature and humidity. Thanks to multi y-axis support these relations can now be easily illustrated. Combination of both multi x and y-axis makes Web Chart a powerful tool for chart plotting, analysis and trend exploration.

Web Chart also offers a wider range of chart types, such as Candlestick, Spline, Waterfall and others for robust data visualization.

inmation:webchart

Features

Web Chart features are as follows:

Feature Description

Actual values

Actual values are the last know values of the item, they are displayed on the right corner of the Legend section.

Live chart streaming

Live chart streaming is an option to play the selected chart. When play button is pressed the actual values are incoming with a 10 second interval and are directly displayed on your screen as a number value and as a chart.

String value support

String values can be displayed on the same graph as numeric values. Any relevant information e.g. batch start and end time, can be stored as a tag an displayed on the graph with numeric production values.

Files in the Web Chart

Objects containing files can be added to Web Chart. Files will be displayed on the same graph as a numeric values in the inmation:webchart. File preview and save options are also available directly from the Web Chart. For more information check File Browser section.

Saving charts

Web Chart application allows saving charts. In order to organize your charts, you can create, modify and delete folders in the Model.

Shift, stretch and compress

Shift, stretch and compress functionality allows setting fixed start or end time. You can shift, stretch and compress graph by using the Hand icon from the Top Bar. Dragging graph from the middle section will shift graph with it’s time frame. Moving graph from the right or the left side of the chart, will set start or end time to fixed point, this way compressing time window.

Refreshing charts

Next to the usual refresh option - refreshing chart to get the latest value. Web Chart now also allows refreshing charts set to fixed time, whether it is set to time in the past or in the future.

Multi language support

The inmation Web Chart supports multiple languages. Languages can be switched: 1. by selecting different language flag in the Top Bar, 2. by changing the language settings in the browser or 3. by adding a query parameter lang in the URL, for example http(s)://baseaddress/static/webchart/?model=true&lang=de.

Share option

Your tailor made chart can be shared through a share option. To share click on </> icon. Share icon is located in the Top Bar. Share option allows user to choose whether or not he wishes to share chart with KPI Model, Include Credentials, enable Visual KPI or share Actual Values.

Application sections

Web Chart application is organized into five sections:

Section Description

1. Top Bar

At the top bar, main controls such as starting a new chart, refreshing the chart, date picker, cursor, zooming in and zooming out (ALT + zoom icon), generating chart’s share link, connectivity, language and display settings can be found.

2. Model

Model is on the left side of the screen. Model displays item tree with your folders, saved charts and tag table containing items.

3. Trend Inspector

Trend Inspector is on the right side of the screen. In the Trend Inspector user can add, edit or delete Pens and axis. Read more about Pen and axis configuration options bellow.

4. Legend

Legend is at the bottom of the screen, by default it shows Pen Name and Actual Value. User can switch Pen Name to Object Name, Description or Path by clicking directly on the text.

5. Chart Display Screen

Chart display screen is the main application screen. User can maximize Chart Display Screen by reducing Model, Trend Inspector and Legend sections. Control buttons to reduce these components are on the right side of the Top Bar.

Deployment

Web Chart is shipped together with inmation Web API. Make sure Web API is installed and running on your system. To install Web API follow installation guide here.

After your system is set up, you can start using inmation:webchart. Web Chart can be accessed via the following URL links:

Description URL

Base URL

http(s)://baseaddress/static/webchart/

KPI model view

http(s)://baseaddress/static/webchart/?model=true

Language

http(s)://baseaddress/static/webchart/?model=true&lang=de

The base address in the above examples is Web API address made up of hostname (or IP address) and port number. For example, http://localhost:8002/static/webchart

Alternatively, Web Chart is available on app.inmation.com.

Creating a Web Chart

To create a new chart click on the New Chart icon in the Top Bar. Chart Display Screen and Trend Inspector will open. All controls for chart creation can be accessed from the Trend Inspector and viewed on the Chart Display screen. After a new chart has been started name your chart and start Pen, x and y-axis configuration.

Pen configuration

Pen controls are located in the Trend Inspector Pens section.

Action Description

Add

User can add Pens in two ways: 1. by clicking on the plus sign in the Pens section and entering item’s path, 2. or by selecting Pens from the Tag table. Click on a Tag table icon in the Model view, select which Pens you want to add to the chart and confirm your choice with Apply button. Tag table option is available when user has configured Tag table in his Model. Read how to create a Tag table in the section "Creating Tag table".

Edit

Edit Pens by clicking on the selected Pen in the Trend Inspector. Pen editor allows changing Pen Color, Aggregate, Line Thickness, Markers and turning on or off specific x and y-axis.

Delete

To delete a Pen, click on the pencil icon, select a Pen which you want to delete and confirm your choice by clicking on the garbage can icon.

Pens can be rearranged by clicking on the Pencil icon and dragging Pens up or down. The first Pen on the list will be drawn as first on the chart. When trends offset each other, you can choose which Trend should be drawn on top, by rearranging them.

X-axis configuration

With multiple x-axis user can assign different time periods to different Pens. Controls are located in the Trend Inspector x-axis section.

Action Description

Add

Add multiple x-axis by clicking on a plus sign and naming the axis. Axis can be individually assign to different Pens, a call to the server will be executed to fetch the correct time period and aggregation.

Edit

You can edit axis color, add grid, change display margin, rotate title orientation and change the alignment. User can also lock all editing options before saving the chart.

Delete

Pencil icon allows deleting the axis. Pencil icon also allows rearranging axis.

Y-axis configuration

With multiple y-axis user can assign different frequencies to Pens. Y-axis controls are located in the Trend Inspector y-axis section.

Description

Add

Add multiple y-axis by clicking on a plus sign and naming the axis. Y-axis can be individually assign to Pens in the Pen edit section.

Edit

You can edit axis color, add grid, change display margin, rotate title orientation and change the alignment. User can also lock all editing options before saving the chart.

Delete

Pencil icon allows deleting and rearranging axis.

Saving chart

Charts can be saved together with all configured properties. To support save functionally Web Chart allows folder creation in the Model view. Users with specific rights will see the Ellipse button next to the folder to which they have access rights to. By clicking on the Ellipse button user will be presented with four options:

  • New Folder. To create a new folder, type folder name and confirm by clicking Create.

  • Save Chart. Click on Save Chart next to the Folder where you wish to save currently opened chart.

  • Modify. This option allows folder renaming.

  • Delete. Delete folder or chart depending on your location in the Model.

Required inmation access rights to save, modify and delete folders or charts - Write, Modify or Delete sequentially.

Creating Tag table

A tag table is a table containing objects from the system:inmation DataStudio I/O model. Tag tables can be created by adding a custom table property to KPI Model objects. This can be done in DataStudio by selecting any node object in the KPI Model (KPI Group, Site, Enterprise, etc.) and opening the Custom Options property compound in the Object Properties panel. Select the Custom Table property and click the "+" sign to add a custom table.

The custom table name should be added as "tagtable" and the Table data should be 3 columns with the titles "Name", "Path" and "Description". Tags from the I/O Model can be dragged into the "Path" column and a user defined "Name" and "Description" for each tag can be given. Click OK to save the Table data and then click Apply in the Object Properties panel to confirm the changes.

Refreshing the Model section in the Web Chart will make the tag table available next to the relevant KPI Model object. Click on the table icon and the tags can now be added to the Web Chart.

Visual KPI and Web Chart

Users of Visual KPI can benefit from the Web Chart too, as it can be embedded into Visual KPI dashboard. For embedded content enquiries, please contact inmation support.