<< 点击显示目录 >> 主页 mappView帮助助手 > mapp View帮助信息 > Widgets > Chart > BarChart > BarChartItem |
Widget "BarChartItem" makes it possible to display numerical values in a graph. The widget must be added to widget "BarChart" for this (provides the graph and associated axes).
The following properties cannot be used in compound widget "Mapping":
zIndex
The images show widget "BarChart" to which two "BarChartItem" widgets have been added.
Editor |
Web browser |
Type |
Description |
Bindable |
Necessary |
Default value |
|
Defines the usability of the widget. A disabled widget (enable=false) does not react to user interaction and does not trigger events. The "enable" behavior is inherited from the container widgets to the child widgets. |
|
true |
|||
maxValue |
Defines the maximum permissible value for value binding. With node binding, the "high" attribute for the EU range from the OPC UA variable is used. The greatest "maxValue" of all bars added to the chart determines the maximum value of the y-axis on the graph. |
|
|
100 |
|
minValue |
Defines the minimum permissible value for value binding. With node binding, the "low" attribute for the EU range from the OPC UA variable is used. The least "minValue" of all bars added to the chart determines the minimum value of the y-axis on the graph. |
|
|
0 |
|
permissionOperate |
Defines the roles that are permitted to use the widget. For roles without sufficient rights, the widget does not react to user interaction and does not trigger events. |
|
|
|
|
permissionView |
Defines the roles that are permitted to see the widget. For roles without sufficient rights, the widget is hidden. |
|
|
|
|
Reference to a customizable widget style. |
|
default |
|||
text |
Defines the text of the bar to be displayed on the x-axis. |
|
|
|
|
Defines the value of the widget. The higher the value, the larger the bars. |
|
50 |
|||
Value with unit for node binding. |
|
|
|||
Defines the visibility of the widget. The widget can be hidden with visible=false. (visible = true, hidden = false). The "visible" behavior is inherited from the container widget to the child widgets. |
|
true |
|||
zIndex determines the z-order of the widget. With overlapping widgets, the zIndex determines which widget is on the top and which one is on the bottom. The widget with the larger zIndex is on top, and the one with the smaller zIndex is on the bottom. The zIndex must be unique within a piece of content or a container widget. The zIndex is automatically assigned by the visual editor and can therefore be changed via the toolbar. |
|
|
Type |
Description |
Default value |
|
borderWidth |
Defines the width of the border around the widget. |
2px |
|
borderColor |
Defines the color of the border around the widget. |
#000000 |
|
backColor |
Defines the background color of the widget. |
#FF8800 |
|
textColor |
Defines the color used to display the text. |
#000000 |
|
fontSize |
Defines the size of the font used to display the text. |
12px |
|
fontName |
Defines the font used for the text shown. |
Arial |
|
bold |
Defines whether the text is shown in bold. |
false |
|
italic |
Defines whether the text is shown in italics. |
false |
|
opacity |
Defines the transparency of the widget. The lower the value, the more transparent the widget. |
1 |