LineChartIndexAxis

<< 点击显示目录 >>

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

LineChartIndexAxis

Widget "LineChartIndexAxis" provides an x-axis for widget "LineChart". The individual values of the data buffer are displayed on the x-axis using their index in the buffer.

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

zIndex, height

Appearance

linechartindexaxis_editor

linechartindexaxis_runtime

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

axisLabel

String

Label for the axis.

 

 

 

axisLabelDistance

PixelVal

Distance between the axis and the axisLabel.

 

 

30px

axisPosition

VerticalAlign

Position of the axis in the widget.

Possible values: "bottom" or "top".

 

 

bottom

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 "disabled..." style is displayed at runtime. The "enable" behavior is inherited from the container widgets to the child widgets.

check

 

true

minValue

UInteger

Smallest index displayed on the axis.

The array element with index 0 is displayed on the graph with index "minValue".

The highest index is thus "minValue" plus the number of array elements.

 

 

0

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

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

 

height

Size

Defines the total height of the widget in pixels.

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

 

 

50

tickLabelDistance

PixelVal

Determines how far the tick texts should be from the axis.

 

 

9px

tickLabelRotation

Rotation

Defines the rotation of the tick texts, e.g. a value of 90 degrees changes the rotation of the widget by 90 degrees clockwise.

 

 

0deg

Styleable properties

Name

Type

Description

Default value

axisColor

Color

Defines the color of the axis for the widget.

#000000

disabledAxisColor

Color

Defines the axis color of the widget in the disabled state.

#EEEEEE

Topics in this section:

Actions and events