BarChartThreshold

<< 点击显示目录 >>

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

BarChartThreshold

Widget "BarChartThreshold" displays a horizontal line as a reference value behind the "BarChartItem" widgets. In addition, it makes it possible to display a window that displays a range instead of a single line.

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

zIndex

Appearance

barchartthreshold_editor

barchartthreshold_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

Number

Defines the value of the y-axis on which the reference line is displayed.

check

 

80

node

Node

Defines the value of the y-axis with unit on which the reference line is displayed.

check

 

 

windowNode

Node

Threshold value with unit relative to value. The threshold value specifies the size of the window above and below the line.

Only a positive value is permitted.

check

 

 

window

Number

Threshold value relative to value. The threshold value specifies the size of the window above and below the line.

Only a positive value is permitted.

check

 

0

useWindowRange

Boolean

Defines whether the threshold values of property window or properties windowLow and windowHigh are displayed.

 

 

false

windowLow

Number

Defines the size of the threshold window below the line if property useWindowRange=true.

check

 

75

windowHigh

Number

Defines the size of the threshold window above the line if property useWindowRange=true.

check

 

80

Styleable properties

Name

Type

Description

Default value

lineColor

Color

Defines the color used to display the line in the widget.

#000000

lineWidth

PixelVal

Defines the width of the line in the widget.

2px

windowFillColor

Color

Defines the background color of the widget.

rgba(255, 136, 0, 0.5)

windowLinesColor

Color

Defines the color used to display the lines of the window in the widget.

#000000

windowLinesWidth

PixelVal

Defines the width of the lines that frame the widget window above and below.

2px

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