OnlineChartTimeAxis

<< 点击显示目录 >>

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

OnlineChartTimeAxis

Widget "OnlineChartTimeAxis" provides an x-axis for widget "OnlineChart".

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

zIndex, height

Appearance

onlinechart_editor_timeaxis

onlinechart_runtime_timeaxis

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.

 

 

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

format

DateFormat

Defines the number format for the widget.

check

 

mm:ss

style

StyleReference

Reference to a customizable widget style.

check

 

default

timeSpan

UInteger

Defines the time span the x-axis is visible in seconds.

 

 

60

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