StackedBarChartItem

<< 点击显示目录 >>

主页  mappView帮助助手 > mapp View帮助信息 > Widgets  > Chart  > StackedBarChart  >

StackedBarChartItem

Widget "StackedBarChartItem" is used to divide up a bar in a diagram into several parts. This makes it possible to display different values with one bar.

If multiple "StackedBarChartItem" widgets are added to a "StackedBarChart" widget, the numerical arrays linked to the "StackedBarChartItem" widgets must have the same array sizes.

The following properties cannot be used in compound widget "Mapping":

zIndex

Appearance

stackedbarchartitem_editor

stackedbarchart_browser

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

permissionView

RoleCollection

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

 

 

 

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.

 

 

 

style

StyleReference

Reference to a customizable widget style.

check

 

default

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

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

 

value

NumberArray1D

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

Only positive values are permitted for the array.

check

 

 

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 bars always start at value 0, so only minValue=0 is supported.

 

 

0

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.

"maxValue" should not be less than the sum of the linked value array; otherwise, the bars cannot be displayed completely (e.g. value[30,20,40]=maxValue(90))

 

 

100

node

ArrayNode

Value with unit for node binding.

Only positive values are permitted for the array.

check

 

 

text

String

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

 

 

 

Styleable properties

Name

Type

Description

Default value

borderWidth

PixelVal

Defines the width of the border around the widget.

2px

opacity

Opacity

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

1

borderColor

Color

Defines the color of the border around the widget.

#000000

backColor

ColorList

Defines the background color of the widget.

#FF8800, #FFDBB3, #C9FFB3

bold

Boolean

Defines whether the text is shown in bold.

false

fontName

FontName

Defines the font used for the text shown.

Arial

fontSize

PixelVal

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

12px

italic

Boolean

Defines whether the text is shown in italics.

false

textColor

Color

Defines the color used to display the text.

#000000

Topics in this section:

Actions and events