BarChartItem

<< 点击显示目录 >>

主页  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

Appearance

The images show widget "BarChart" to which two "BarChartItem" widgets have been added.

barchartitem_editor

barchartitem_runtime

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

enable

Boolean

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.

check

 

true

maxValue

Number

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

Number

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

RoleCollection

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

RoleCollection

Defines the roles that are permitted to see the widget. For roles without sufficient rights, the widget is hidden.

 

 

 

style

StyleReference

Reference to a customizable widget style.

check

 

default

text

String

Defines the text of the bar to be displayed on the x-axis.

 

 

 

value

Number

Defines the value of the widget. The higher the value, the larger the bars.

check

 

50

node

Node

Value with unit for node binding.

check

 

 

visible

Boolean

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.

check

 

true

zIndex

UInteger

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.

 

check

 

Styleable properties

Name

Type

Description

Default value

borderWidth

PixelValCollection

Defines the width of the border around the widget.

2px

borderColor

ColorCollection

Defines the color of the border around the widget.

#000000

backColor

Color

Defines the background color of the widget.

#FF8800

textColor

Color

Defines the color used to display the text.

#000000

fontSize

PixelVal

Defines the size of the font used to display the text.

12px

fontName

FontName

Defines the font used for the text shown.

Arial

bold

Boolean

Defines whether the text is shown in bold.

false

italic

Boolean

Defines whether the text is shown in italics.

false

opacity

Opacity

Defines the transparency of the widget. The lower the value, the more transparent the widget.

1

Topics in this section:

Actions and events