XYChart

<< 点击显示目录 >>

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

XYChart

Widget XYChart is used to graphically display x-values and y-values using 2-data arrays.

For a description of how the widget can be configured, see here.

See page Interacting with the widget for a more detailed explanation of other actions.

Appearance

xychart_editor

xychart_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

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

tooltip

String

Defines the text that should appear as information when the tooltip indicator is pressed.

You can use a static text or a text from the text system. 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.

 

 

 

updateChartTime

UInteger

Defines the interval in milliseconds in which the graph is redrawn (updated).

This value is independent of how often the OPC UA server sends a value change.

It is recommended to increase the value accordingly on clients with low performance (e.g. 1000 ms).

check-de.online-hilfe-standard

 

1000

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-de.online-hilfe-standard

 

true

zoomType

ChartZoomType

Defines that axes that zooming should be possible for.

check

 

xy

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

 

left

Integer

Absolute position measured from the left border of the surrounded element (e.g. container widget or content).

 

 

 

top

Integer

Absolute position measured from the top border of the surrounded element (e.g. container widget or content).

 

 

 

height

Size

Defines the total height of the widget in pixels.

A value in % refers to the height of the surrounding element.

 

 

440

width

Size

Defines the total width of the widget in pixels.

A value in % refers to the width of the surrounding element.

 

 

720

tabIndex

Integer

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 XYChart with the keyboard must be done via the corresponding actions (e.g. in event Click of a button for scrolling).

 

 

-1

Collections

A collection describes a grouping of properties that summarizes a component of widget XYChart. The widget has four collections: the cursor, graph, x-axis and y-axis.

These grouped properties can be configured in a separate collection dialog box.

Name

Type

Description

minSize

maxSize

cursor

XYChart.Cursor

Defines the appearance and behavior of the cursor for data analysis.

1

1

graph

XYChart.Graph

Defines the appearance and behavior of the data to be displayed that is bound here.

1

16

xAxis

XYChart.XAxis

Defines the appearance and behavior of the x-axis.

1

8

yAxis

XYChart.YAxis

Defines the appearance and behavior of the y-axis.

1

8

Styleable properties

Name

Type

Description

Default value

backColor

Color

Defines the background color of the widget.

#DBDBDB

borderWidth

PixelValCollection

Defines the width of the border around the widget.

0px

borderColor

ColorCollection

Defines the color of the border around the widget.

#000000

borderStyle

BorderStyle

Defines the style of the border around the widget. Borders can be unbroken, dashed or dotted.

solid

chartColor

Color

Defines the color of the graph area in the widget.

#FFFFFF

disabledChartColor

Color

Defines the color for the graph area of the widget in the disabled state.

#F0F0F0

cursorTableBackColor

Color

Defines the background color of the table in which the cursor values are displayed.

#DBDBDB

cursorTableBorderColor

ColorCollection

Defines the color of the table frame in which the cursor values are displayed.

#000000

cursorTableFontName

FontName

Defines in which font the cursor values are displayed in the table.

Arial

cursorTableFontSize

PixelVal

Defines the size in which the cursor values are displayed in the table.

12px

Topics in this section:

Actions and events

Graph

XAxis

YAxis

Cursor

Concept