<< 点击显示目录 >> 主页 mappView帮助助手 > mapp View帮助信息 > Widgets > Chart > LineChart > LineChart |
Widget "LineChart" is a container that can hold axes and graphs. It is used to display historical data.
For more information about container or child widgets, see Definition of container/child widgets.
Our B&R Tutorial Portal includes a tutorial on widget LineChart (GER/ENG). (access data) |
The following properties cannot be used in compound widget "Mapping":
zIndex, left, top, height, width
Editor |
Web browser |
Type |
Description |
Bindable |
Necessary |
Default value |
|
chartMargin |
Defines the spacing between the area where the graph is displayed and the outer border of the widget. |
|
|
15px |
|
Defines the usability of the widget. A disabled widget (enable=false) does not react to user interaction and does not trigger events. The "disabled..." style is displayed at runtime. The "enable" behavior is inherited from the container widgets to the child widgets. |
|
true |
|||
maxZoomLevel |
Limits the factor for zooming in. The value 100 means there is no zoom. The zoom factor is specified as a percentage here. |
|
|
500 |
|
minZoomLevel |
Limits the factor for zooming out. The value 100 means there is no zoom. The zoom factor is specified as a percentage here. |
|
|
20 |
|
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. |
|
|
|
|
showGrid |
Defines if the grid lines are shown. |
|
|
true |
|
Reference to a customizable widget style. |
|
default |
|||
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. |
|
|
|||
left |
Absolute position measured from the left border of the surrounded element (e.g. container widget or content). |
|
|
|
|
top |
Absolute position measured from the top border of the surrounded element (e.g. container widget or content). |
|
|
|
|
height |
Defines the total height of the widget in pixels. A value in % refers to the height of the surrounding element. |
|
|
440 |
|
width |
Defines the total width of the widget in pixels. A value in % refers to the width of the surrounding element. |
|
|
720 |
|
Defines for which axes zooming should be possible. |
|
xy |
|||
infiniteScroll |
Defines whether infinite scrolling should be possible in the chart. |
|
|
true |
|
tooltip |
Defines the text that should appear as information when the tooltip indicator is pressed. A static text or a text from the text system can be used. For more information, see here. Mode "Tooltip" must be enabled for this. There are two different options for this: •Using action "ShowTooltip" •Using action "Client system" ShowTooltips. |
|
|
|
|
tabIndex |
Property tabIndex is used to manage the tab order during keyboard operation. For additional information, see Keyboard operation. ENTER triggers event Click if tabIndex ≥0. Operating widget LineChart with the keyboard must be done via the corresponding actions (e.g. in event Click of a button for scrolling). |
|
|
-1 |
Type |
Description |
Default value |
|
backColor |
Defines the background color of the widget. |
Transparent |
|
disabledBackColor |
Defines the background color of the widget in the disabled state. |
Transparent |
|
backGroundGradient |
Defines the background color of the widget as a color gradient. |
|
|
disabledBackGroundGradient |
Defines the background color of the widget as a color gradient in the disabled state. |
|
|
chartColor |
Defines the background color of the graph. |
#FFFFFF |
|
disabledChartColor |
Defines the background color of the graph in the disabled state. |
#FFFFFF |
|
chartBorderColor |
Defines the color of the border around the graphs. |
#000000 |
|
disabledChartBorderColor |
Defines the color of the border around the graphs in the disabled state. |
#999999 |
|
gridColor |
Defines the line color for the grid. |
#DDDDDD |
|
disabledGridColor |
Defines the line color of the grid in the disabled state. |
#EEEEEE |
|
fontSize |
Defines the size of the font used to display the text. |
12px |
|
fontName |
Defines the font used for the text shown. |
Arial |
|
borderWidth |
Defines the width of the border around the widget. |
1px |
|
borderColor |
Defines the color of the border around the widget. |
#5B7C70 |
|
disabledBorderColor |
Defines the color of the border around the widget in the disabled state. |
#C8C8C8 |
|
borderStyle |
Defines the style of the border around the widget. Borders can be unbroken, dashed or dotted. |
solid |