XAxis

<< 点击显示目录 >>

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

XAxis

The XAxis collection defines the x-axis of the OnlineChartHDA graph.

Appearance

onlinecharthda_editor_xaxis_theme

onlinecharthda_runtime_theme

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

numberOfTicks

UInteger

Defines the number of subdivisions.

The initial value is not included.

check

 

5

position

VerticalAlign

Defines whether the x-axis is positioned at the bottom or top of the graph.

 

 

bottom

style

StyleReference

Reference to a customizable widget style.

check

 

default

timeFormat

DateFormat

Defines the format used to display the date and/or time. It is possible to specify a format string (e.g. "HH:mm:ss") or predefined pattern (e.g. "F").

check

 

hh:mm:ss

timeSpan

UNumber

Defines the time span the axis is visible in seconds.

If timeSpan receives a value less than 1, the x-axis automatically changes its time span to 1 s.

check

 

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

Styleable properties

Name

Type

Description

Default value

gridColor

Color

Defines the color used to display the graph grid.

#DBDBDB

color

Color

Defines the color used to display the y-axis and ticks of the widget.

#000000

textColor

Color

Defines the color used to display the x-axis texts.

#000000

disabledTextColor

Color

Defines the color used to x-axis texts in the disabled state.

#808080

fontName

FontName

Defines the font used to display x-axis texts.

Arial

fontSize

PixelVal

Defines the size used to display the x-axis texts.

12px

tickLabelRotation

Rotation

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

0deg