Graph

<< 点击显示目录 >>

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

Graph

The graph collection defines the data to be displayed in widget XYChart.

A maximum of 16 graphs can be used in one graph.

Appearance

xychart_graph_editor

xychart_runtime

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

cursor1XNode

Node

Defines the current value with the unit at which the first cursor intersects the graph on the x-axis.

If there is no data point in front of the cursor or the cursor is not active, the property is set to "null".

A binding on widget NumericOutput, for example, displays "XX" if the cursor intersection point does not receive a valid value.

check

 

 

cursor1XValue

Number

Defines the current value at which the first cursor intersects the graph on the x-axis.

If there is no data point in front of the cursor or the cursor is not active, the property is set to "null".

A binding on widget NumericOutput, for example, displays "XX" if the cursor intersection point does not receive a valid value.

check

 

0

cursor1YNode

Node

Defines the current value with the unit at which the first cursor intersects the graph on the y-axis.

If there is no data point in front of the cursor or the cursor is not active, the property is set to "null".

A binding on widget NumericOutput, for example, displays "XX" if the cursor intersection point does not receive a valid value.

check

 

 

cursor1YValue

Number

Defines the current value at which the first cursor intersects the graph on the y-axis.

If there is no data point in front of the cursor or the cursor is not active, the property is set to "null".

A binding on widget NumericOutput, for example, displays "XX" if the cursor intersection point does not receive a valid value.

check

 

0

cursor2XNode

Node

Defines the current value with the unit at which the second cursor intersects the graph on the x-axis.

If there is no data point in front of the cursor or the cursor is not active, the property is set to "null".

A binding on widget NumericOutput, for example, displays "XX" if the cursor intersection point does not receive a valid value.

check

 

 

cursor2XValue

Number

Defines the current value at which the second cursor intersects the graph on the x-axis.

If there is no data point in front of the cursor or the cursor is not active, the property is set to "null".

A binding on widget NumericOutput, for example, displays "XX" if the cursor intersection point does not receive a valid value.

check

 

0

cursor2YNode

Node

Defines the current value with the unit at which the second cursor intersects the graph on the y-axis.

If there is no data point in front of the cursor or the cursor is not active, the property is set to "null".

A binding on widget NumericOutput, for example, displays "XX" if the cursor intersection point does not receive a valid value.

check

 

 

cursor2YValue

Number

Defines the current value at which the second cursor intersects the graph on the y-axis.

If there is no data point in front of the cursor or the cursor is not active, the property is set to "null".

A binding on widget NumericOutput, for example, displays "XX" if the cursor intersection point does not receive a valid value.

check

 

0

nodeX

NumberArray1D

Defines the data source of the x-values. It is possible to bind to a numerical array with a unit.

check

 

 

valueX

NumberArray1D

Defines the data source of the x-values.

check

 

 

nodeY

NumberArray1D

Defines the data source of the y-values. It is possible to bind to a numerical array with a unit.

check

 

 

valueY

NumberArray1D

Defines the data source of the y-values.

check

 

 

style

StyleReference

Reference to a customizable widget style.

check

 

default

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

xAxisReference

String

Specifies the reference of the x-axis that must be assigned to this graph.

The display unit and the scaling of the graph are defined on the x-axis collection.

 

check

xAxis1

yAxisReference

String

Specifies the reference of the y-axis that must be assigned to this graph.

The y-axis collection defines the display unit and the scaling of the graph.

 

check

yAxis1

numberOfSamples

Integer

Defines the number of values that should be drawn (highest element of the bound x-/y-array starting with [0]). A value of -1 draws all data from the bound x-/y-array.

check

 

-1

Styleable properties

Name

Type

Description

Default value

lineColor

Color

Defines the color of the graphs.

#FF0000

disabledLineColor

Color

Defines the color of the graphs in the disabled state.

#DBDBDB

lineWidth

PixelVal

Defines the thickness of the graphs.

3px