<< 点击显示目录 >> 主页 mappView帮助助手 > mapp View帮助信息 > Widgets > Chart > XYChart > YAxis |
The y-axis collection defines the y-axis of the XYChart graph.
A maximum of 8 y-axes can be used in one graph.
Editor |
Web browser |
Type |
Description |
Bindable |
Necessary |
Default value |
|
Defines the number of subdivisions. The initial value is not included. |
|
5 |
|||
Defines the number format for the widget. |
|
{'metric':{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }, 'imperial' :{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }, 'imperial-us' :{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }} |
|||
Defines the maximum range if rangeMode is set to "fromConfiguration". This value has no unit and is not converted. |
|
100 |
|||
Defines the minimum range if rangeMode is set to "fromConfiguration". This value has no unit and is not converted. |
|
0 |
|||
position |
Defines whether the y-axis is positioned left or right in the graph. |
|
|
left |
|
rangeMode |
Defines which minimum and maximum values are used for the y-axis. If rangeMode "fromConfiguration" is used, the range is static and is not converted. |
|
|
autoscale |
|
showUnit |
Defines whether the unit should be displayed. A node binding is necessary for this. |
|
|
true |
|
Reference to a customizable widget style. |
|
default |
|||
title |
Defines the title of the y-axis. A static text or text from the text system can be used. |
|
|
|
|
Defines the unit code of the widget. |
|
|
|||
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. |
|
true |
Type |
Description |
Default value |
|
gridColor |
Defines the color used to display the graph grid. |
#DBDBDB |
|
color |
Defines the color used to display the y-axis and ticks of the widget. |
#000000 |
|
textColor |
Defines the color used to display the y-axis texts. |
#000000 |
|
disabledTextColor |
Defines the color used to display y-axis texts in the disabled state. |
#808080 |
|
fontName |
Defines the font used to display the y-axis texts. |
Arial |
|
fontSize |
Defines the size used to display the y-axis texts. |
12px |
|
titleTextColor |
Defines the color used to display y-axis titles. |
#000000 |
|
titleFontSize |
Defines the size of the font used to display y-axis titles. |
12px |
|
titleFontName |
Defines the font used to display y-axis titles. |
Arial |