Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Stacked Bar chart offers users the flexibility to group data by different time intervals such as hours, days, weeks, and allows customization of the aggregation function. This chart visually displays the distribution and composition of data categories within each time interval.


Starting the Control

To start the control click on the “Assets” button in the upper left corner of the PI Vision display.

In the upper part select “weruStackedBar” by clicking on it.

Afterwards the desired attribute from the asset tree could be added to the display via drag and drop. The StackedBar control appears on the display and can be used.

Adding additional Attributes

When the control is already present on the display, it is possible to add more attributes by dragging and dropping them on the control.

Configuration

With a right click on the control it is possible to press "Configure". Thereby the configuration tile appears.

With Group By it is possible to select how the Data should be grouped. So it is possible to get values for the following selections:

  • Days

  • Weeks

  • Months

  • Years

  • Quarters

  • Category-Tag

With Category-Tag you can set a PI-Tag that will be used to Categorise your data.
(This Option is only shown and used when Category-Tag was choosen in the option Group By)

With Data Mode the aggregation function can be determined. The following functions are available for selection:

  • Sum

  • Minimum

  • Maximum

  • Average

  • Average (Event Based)

  • First value

  • Last value

With Decimal Places it is possibile to set how many decimal places should be shown.

Offset Data makes it possible to artificially show a time range one time unit before the current PI-Vision time.

Under Tags it is possibile to remove Tags and change the color in which the Tags will be shown in the visualization

With Legend Mode it is possible to choose how the Legend should behave. Following possibilities are possible:

  • Normal

  • Scroll

  • Off

With Space for Legend you can set how much space between the top of the Control and the top of the graph there is for the Legend.
This can be usefull especially when using lots of Pi-Tags and the Normal Legend Mode.

Mit Order By kann ausgewählt werden, in welchen Zeiteinheiten die Daten aggregiert werden sollen. So ist es möglich, Werte für folgende Auswahlmöglichkeiten zu erhalten:

  • Tage

  • Wochen

  • Monate

  • Jahre

  • Quartale

  • Über PI Tag

Mit Category-Tag wird festgelegt, welcher PI-Tag zum Kategorisieren benutzt werden soll.
(Diese Option erscheint nur wenn man bei Order By Category-Tag auswählt)

Mit Data Mode kann die Aggregationsfunktion bestimmt werden. Folgende Funktionen stehen dabei zur Auswahl:

  • Summe

  • Minimum

  • Maximum

  • Durchschnitt (Event basiert)

  • Durchschnitt

  • Erster Wert

  • Letzter Wert

  • Integral

Mit Decimal Places kann angegeben werden wie viele Nachkommastellen angezeigt werden sollen.

Mit Offset Data kann der Zeit Bereich des Controls künstlich um eine Zeiteinheit vor der eingestellten PI Vision Zeit angezeigt werden.

Unter Tags können PI-Tags entfernt und Farben in der Visualisierung geändert werden.

Mit Legend Mode kann ausgewählt werden wie sich die Legende verhalten soll. Es gibt folgende Möglichkeiten:

  • Normal

  • Scroll

  • Off

Mit Space for Legend kann angegeben werden wieviel platz in Pixel der Legende gegeben wird.
Das kann nützlich werden, damit die Legende nicht den Grafen überschneidet, wenn man viele Tags benutzen möchte mit den Normal Legenden Modus.

Image RemovedImage Added

Include Page
Tag Configuration
Tag Configuration
Include Page
Legend Configuration
Legend Configuration
Include Page
Text Configuration
Text Configuration

Change the Size of the Control

In a first step you need to go into edit mode (Icon in the upper right corner) and in a second step to click on the control. The eight appearing dots around the control can be used to adjust the size that everything is visible.

Removing the Control

Before removing the control it is necessary to switch into edit mode (Icon in the upper right corner). Thereafter it is possible to click on the control and press the delete key to remove the control.