<< 点击显示目录 >> 主页 mappView帮助助手 > mapp View帮助信息 > Widgets > Chart > XYChart > Concept > Example configuration |
The following explains how to configure and use widget XYChart.
Widget XYChart is added in a piece of content:
The widget consists of 4 collections (graph, xAxis, yAxis, cursor), i.e. the x-axis, y-axis, graph and an optional cursor are all configured directly from widget XYChart.
If collection graph is opened, the styleable properties of a graph and the bindable data sources are configured in a collection dialog box.
The reference to the y-axis and the x-axis must be established at property yAxisReference and xAxisReference. The name of the y-axis and the x-axis is specified.
Data binding
In order to define which data pairs should be displayed, the bindings must be created in the collection dialog box of the graph.
The desired arrays are selected at properties valueX and valueY and then confirmed with OK.
If displaying a unit on the y-axis or x-axis is desired, the unit must be added to the variable in the OPC UA DefaultView file (OpcUaMap.uad).
Browser
Widget XYChart can look like this when bound to the HMI application:
For information about how to interact with widget XYChart, see here.