Histogram chart

BrowseName: HistogramChart
SuperType: Element (Item)
TypeView path: Tipi > UI > Controlli dati > Grafico a barre

Display model or database data in a histogram.

How It Appears

../../../_images/Histogram.png

Configuring the object

Configures the data to display

  1. To set the data source, click image50A9E0FA next to the Model property and select the node or database containing the variables to be represented in the chart. .. note:: the displayable data are the values of the attributes or properties of all the direct child nodes and of the type indicated in the ItemKind property. Typically this refers to a collection of objects with the same or similar information model.

  2. To set the labels of the chart sections, click image50A9E0FA next to the Label property, then click Alias > {Item}(object path), click the desired variable, then in Attribute select the desired attribute (e.g., BrowseName) and click Select. .. note:: if the variable type in Aliases displayed in the Dynamic Link Window does not match the desired variable, set the ItemKind property to the desired variable type.

  3. To set the values to display as sections of the chart, click image50A9E0FA next to the Value property, then click Aliases > {Item}(object path), click the desired variable, then in Attribute select the desired attribute (e.g., Value) and click Select.

Properties

Name

BrowseName

DataType

Description

Model

Model

NodeId

Reference to the information model or database from which to obtain the data

Query

Query

String

Standard SQL query to filter the data of interest. It can be used both to filter data from a database and to filter data obtained from a node-based model. In case of a node-based model, the SELECT * FROM Model part is mandatory, followed by the WHERE clause with which to indicate the search conditions - e.g.: SELECT * FROM Model WHERE Speed > 40.

Label

Label

LocalizedText

Visualizes a text.

Value

Value

Double

Value displayed and possibly changed by the user

Label visible

LabelVisible

Boolean

Show/hide the scale values.

Value visible

ValueVisible

Boolean

Show/hide the values of the chart sections.

Value axis visible

ValueAxisVisible

Boolean

Show/hide the axis of values of the chart sections.

Orientation

Orientation

OrientationEnum

Horizontal or vertical orientation of the object

Bar color

BarColor

Color

Sets a single color for the chart bars. If not set, then each bar has a different color.

Visible

Visible

Boolean

Show/hide the window.
(Inherited from Element)
Enabled

Enabled

Boolean

Enables/disables the interaction with the user (True = enabled; False = disabled).
(Inherited from Element)
Opacity

Opacity

Float

Opacity level (0 = transparent)
(Inherited from Element)
Left margin

LeftMargin

Size

(Only if Horizontal Alignment = Left or Center or Stretch) Distance between the left edge of the object and the left edge of its container.
(Inherited from Element)
Top margin

TopMargin

Size

(Only if Vertical Alignment = Top or Center or Stretch) Distance between the top edge of the object and the top edge of its container.
(Inherited from Element)
Right margin

RightMargin

Size

(Only if Horizontal Alignment = Right or Center or Stretch) Distance between the right edge of the object and the right edge of its container.
(Inherited from Element)
Bottom margin

BottomMargin

Size

(Only if Vertical Alignment = Bottom or Center or Stretch) Distance between the bottom edge of the object and the bottom edge of its container.
(Inherited from Element)
Width

Width

Size

Width of the window. It can assume values greater than or equal to zero. The Auto value sets the width equal to the width of the content (in this case, in the absence of content the object collapses).
(Inherited from Element)
Height

Height

Size

Height of the window. It can assume values greater than or equal to zero. The Auto value sets the height equal to the height of the content (in this case, in the absence of content the object collapses).
(Inherited from Element)
Horizontal alignment

HorizontalAlignment

HorizontalAlignment

Alignment of the object on the horizontal axis. Left = the left side is positioned on the left side of the container, except for the left margin; Right = the right side is positioned on the right side of the container, except for the right margin; Center = the center of the object is positioned in the center of the container, except for the left and/or right margins; Stretch = object width equals container width, except for the left and/or right margins.
(Inherited from Element)
Vertical alignment

VerticalAlignment

VerticalAlignment

Alignment of the object on the vertical axis. Top = the top side is positioned on the top side of the container, except for the top margin; Bottom = the bottom side is positioned on the bottom side of the container, except for the bottom margin; Center = the center of the object is positioned in the center of the container, except for the top and/or bottom margins; Stretch = object height equals container height, except for the top and/or bottom margins.
(Inherited from Element)
Rotation

Rotation

Size

Rotation of the object around its center point. Positive values indicate clockwise arc degrees.
(Inherited from Element)

Methods

Refresh

BrowseName: Refresh