@operato/scene-gauge 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/global/index.d.ts +1 -0
- package/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +15 -0
- package/assets/gauge-circle.png +0 -0
- package/assets/gauge-horizontal.png +0 -0
- package/assets/gauge-vertical.png +0 -0
- package/dist/gauge-circle.d.ts +57 -0
- package/dist/gauge-circle.js +211 -0
- package/dist/gauge-circle.js.map +1 -0
- package/dist/gauge-horizon.d.ts +56 -0
- package/dist/gauge-horizon.js +145 -0
- package/dist/gauge-horizon.js.map +1 -0
- package/dist/gauge-properties.d.ts +39 -0
- package/dist/gauge-properties.js +114 -0
- package/dist/gauge-properties.js.map +1 -0
- package/dist/gauge-vertical.d.ts +56 -0
- package/dist/gauge-vertical.js +143 -0
- package/dist/gauge-vertical.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/helps/scene/component/gauge-circle.ko.md +168 -0
- package/helps/scene/component/gauge-circle.md +167 -0
- package/helps/scene/component/gauge-circle.zh.md +164 -0
- package/helps/scene/component/gauge-horizon.ko.md +145 -0
- package/helps/scene/component/gauge-horizon.md +145 -0
- package/helps/scene/component/gauge-horizon.zh.md +145 -0
- package/helps/scene/component/gauge-vertical.ko.md +12 -0
- package/helps/scene/component/gauge-vertical.md +9 -0
- package/helps/scene/component/gauge-vertical.zh.md +10 -0
- package/helps/scene/images/gauge-circle-01.png +0 -0
- package/helps/scene/images/gauge-circle-02.png +0 -0
- package/helps/scene/images/gauge-circle-03.png +0 -0
- package/helps/scene/images/gauge-circle-04.png +0 -0
- package/helps/scene/images/gauge-circle-05.png +0 -0
- package/helps/scene/images/gauge-circle-06.png +0 -0
- package/helps/scene/images/gauge-circle-07.png +0 -0
- package/helps/scene/images/gauge-circle-08.png +0 -0
- package/helps/scene/images/gauge-circle-09.png +0 -0
- package/helps/scene/images/gauge-circle-10.png +0 -0
- package/helps/scene/images/gauge-circle-11.png +0 -0
- package/helps/scene/images/gauge-circle-12.png +0 -0
- package/helps/scene/images/gauge-circle-13.png +0 -0
- package/helps/scene/images/gauge-circle-14.png +0 -0
- package/helps/scene/images/gauge-circle-15.png +0 -0
- package/helps/scene/images/gauge-circle-16.png +0 -0
- package/helps/scene/images/gauge-circle-17.png +0 -0
- package/helps/scene/images/gauge-circle-18.png +0 -0
- package/helps/scene/images/gauge-circle-19.png +0 -0
- package/helps/scene/images/gauge-circle-20.png +0 -0
- package/helps/scene/images/gauge-circle-21.png +0 -0
- package/helps/scene/images/gauge-horizontal-01.png +0 -0
- package/helps/scene/images/gauge-vertical-01.png +0 -0
- package/helps/scene/images/gauge-vertical-02.png +0 -0
- package/helps/scene/images/gauge-vertical-03.png +0 -0
- package/helps/scene/images/gauge-vertical-04.png +0 -0
- package/helps/scene/images/gauge-vertical-05.png +0 -0
- package/helps/scene/images/gauge-vertical-06.png +0 -0
- package/helps/scene/images/gauge-vertical-07.png +0 -0
- package/helps/scene/images/gauge-vertical-08.png +0 -0
- package/helps/scene/images/gauge-vertical-09.png +0 -0
- package/helps/scene/images/gauge-vertical-10.png +0 -0
- package/helps/scene/images/gauge-vertical-11.png +0 -0
- package/helps/scene/images/gauge-vertical-12.png +0 -0
- package/helps/scene/images/gauge-vertical-13.png +0 -0
- package/helps/scene/images/gauge-vertical-14.png +0 -0
- package/helps/scene/images/gauge-vertical-15.png +0 -0
- package/helps/scene/images/gauge-vertical-16.png +0 -0
- package/helps/scene/images/gauge-vertical-17.png +0 -0
- package/helps/scene/images/gauge-vertical-18.png +0 -0
- package/package.json +61 -0
- package/src/gauge-circle.ts +310 -0
- package/src/gauge-horizon.ts +204 -0
- package/src/gauge-properties.ts +114 -0
- package/src/gauge-vertical.ts +203 -0
- package/src/index.ts +6 -0
- package/test/basic-test.html +67 -0
- package/test/index.html +22 -0
- package/things-scene.config.js +158 -0
- package/translations/en.json +3 -0
- package/translations/ko.json +3 -0
- package/translations/ms.json +3 -0
- package/translations/zh.json +3 -0
- package/tsconfig.json +22 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# circle gauge[en]
|
|
2
|
+
## properties
|
|
3
|
+
|
|
4
|
+
1. Value(Number) - The value of gauge.
|
|
5
|
+
<figure style="text-align: center;">
|
|
6
|
+
|
|
7
|
+
![Gauge-Value application result][gauge-circle-02]
|
|
8
|
+
<figurecaption>(value: 85)</figurecaption>
|
|
9
|
+
</figure>
|
|
10
|
+
|
|
11
|
+
2. startValue - The start value of gauge.
|
|
12
|
+
<figure style="text-align: center;">
|
|
13
|
+
|
|
14
|
+
![Gauge-BackgroundColor application result][gauge-circle-03]
|
|
15
|
+
<figurecaption>(startValue: 10)</figurecaption>
|
|
16
|
+
</figure>
|
|
17
|
+
|
|
18
|
+
3. endValue - The end value of gauge.
|
|
19
|
+
<figure style="text-align: center;">
|
|
20
|
+
|
|
21
|
+
![Gauge-BackgroundColor application result][gauge-circle-04]
|
|
22
|
+
<figurecaption>(endValue: 120)</figurecaption>
|
|
23
|
+
</figure>
|
|
24
|
+
|
|
25
|
+
4. step - The tick interval of gauge.
|
|
26
|
+
<figure style="text-align: center;">
|
|
27
|
+
|
|
28
|
+
![Gauge-BackgroundColor application result][gauge-circle-05]
|
|
29
|
+
<figurecaption>(step: 30)</figurecaption>
|
|
30
|
+
</figure>
|
|
31
|
+
|
|
32
|
+
5. stepTextSize - The tick text size of gauge.
|
|
33
|
+
<figure style="text-align: center;">
|
|
34
|
+
|
|
35
|
+
![Gauge-BackgroundColor application result][gauge-circle-06]
|
|
36
|
+
<figurecaption>(stepTextSize: 10)</figurecaption>
|
|
37
|
+
</figure>
|
|
38
|
+
|
|
39
|
+
6. subStep - The space between ticks of gauge.
|
|
40
|
+
<figure style="text-align: center;">
|
|
41
|
+
|
|
42
|
+
![Gauge-BackgroundColor application result][gauge-circle-07]
|
|
43
|
+
<figurecaption>(subStep: 10)</figurecaption>
|
|
44
|
+
</figure>
|
|
45
|
+
|
|
46
|
+
7. stepNeedleSize - The tick size of gauge.
|
|
47
|
+
<figure style="text-align: center;">
|
|
48
|
+
|
|
49
|
+
![Gauge-BackgroundColor application result][gauge-circle-08]
|
|
50
|
+
<figurecaption>(stepNeedleSize: 3)</figurecaption>
|
|
51
|
+
</figure>
|
|
52
|
+
|
|
53
|
+
8. startAngle - The start angle of gauge. It increases clockwise based on the 12 o'clock position. If a negative value, it will be reverse direction.
|
|
54
|
+
<figure style="text-align: center;">
|
|
55
|
+
|
|
56
|
+
![Gauge-BackgroundColor application result][gauge-circle-09]
|
|
57
|
+
<figurecaption>(startAngle: -90)</figurecaption>
|
|
58
|
+
</figure>
|
|
59
|
+
|
|
60
|
+
9. endAngle - The end angle of gauge. It increases clockwise based on the 12 o'clock position. If a negative value, it will be reverse direction.
|
|
61
|
+
<figure style="text-align: center;">
|
|
62
|
+
|
|
63
|
+
![Gauge-BackgroundColor application result][gauge-circle-10]
|
|
64
|
+
<figurecaption>(endAngle: 90)</figurecaption>
|
|
65
|
+
</figure>
|
|
66
|
+
|
|
67
|
+
10. textFillStyle - The tick text color of gauge.
|
|
68
|
+
<figure style="text-align: center;">
|
|
69
|
+
|
|
70
|
+
![Gauge-BackgroundColor application result][gauge-circle-11]
|
|
71
|
+
<figurecaption>(textFillStyle: #ec5324)</figurecaption>
|
|
72
|
+
</figure>
|
|
73
|
+
|
|
74
|
+
11. needleFillStyle - The needle color of gauge.
|
|
75
|
+
<figure style="text-align: center;">
|
|
76
|
+
|
|
77
|
+
![Gauge-BackgroundColor application result][gauge-circle-12]
|
|
78
|
+
<figurecaption>(needleFillStyle: #ec5324)</figurecaption>
|
|
79
|
+
</figure>
|
|
80
|
+
|
|
81
|
+
12. innerCircleFillStyle - The circle color of gauge needle.
|
|
82
|
+
<figure style="text-align: center;">
|
|
83
|
+
|
|
84
|
+
![Gauge-BackgroundColor application result][gauge-circle-13]
|
|
85
|
+
<figurecaption>(innerCircleFillStyle: #ec5324)</figurecaption>
|
|
86
|
+
</figure>
|
|
87
|
+
|
|
88
|
+
13. stepFillStyle - The needle color of gauge.
|
|
89
|
+
<figure style="text-align: center;">
|
|
90
|
+
|
|
91
|
+
![Gauge-BackgroundColor application result][gauge-circle-14]
|
|
92
|
+
<figurecaption>(stepFillStyle: #ec5324)</figurecaption>
|
|
93
|
+
</figure>
|
|
94
|
+
|
|
95
|
+
14. colorStops - The color of each sector of gauge. You can add a sector by double clicking and delete it by dragging down the marker.
|
|
96
|
+
<figure style="text-align: center;">
|
|
97
|
+
|
|
98
|
+
![Gauge-BackgroundColor application result][gauge-circle-15]
|
|
99
|
+
<figurecaption>(colorStops: <img src="../images/color-stops-value.png" height="30" alt="color stops">)</figurecaption>
|
|
100
|
+
</figure>
|
|
101
|
+
|
|
102
|
+
15. showStartValue - Determine whether to display the start value of gauge.
|
|
103
|
+
<figure style="text-align: center;">
|
|
104
|
+
|
|
105
|
+
![Gauge-BackgroundColor application result][gauge-circle-16]
|
|
106
|
+
<figurecaption>(showStartValue: unchecked)</figurecaption>
|
|
107
|
+
</figure>
|
|
108
|
+
|
|
109
|
+
16. showEndValue - Determine whether to display the end value of gauge.
|
|
110
|
+
<figure style="text-align: center;">
|
|
111
|
+
|
|
112
|
+
![Gauge-BackgroundColor application result][gauge-circle-17]
|
|
113
|
+
<figurecaption>(showEndValue: unchecked)</figurecaption>
|
|
114
|
+
</figure>
|
|
115
|
+
|
|
116
|
+
17. showStepLine - Determine whether to display the tick of gauge.
|
|
117
|
+
<figure style="text-align: center;">
|
|
118
|
+
|
|
119
|
+
![Gauge-BackgroundColor application result][gauge-circle-18]
|
|
120
|
+
<figurecaption>(showStepLine: unchecked)</figurecaption>
|
|
121
|
+
</figure>
|
|
122
|
+
|
|
123
|
+
18. showStepText - Determine whether to display the tick value of gauge.
|
|
124
|
+
<figure style="text-align: center;">
|
|
125
|
+
|
|
126
|
+
![Gauge-BackgroundColor application result][gauge-circle-19]
|
|
127
|
+
<figurecaption>(showStepText: unchecked)</figurecaption>
|
|
128
|
+
</figure>
|
|
129
|
+
|
|
130
|
+
19. showSubStep - Determine whether to display the minor tick of gauge.
|
|
131
|
+
<figure style="text-align: center;">
|
|
132
|
+
|
|
133
|
+
![Gauge-BackgroundColor application result][gauge-circle-20]
|
|
134
|
+
<figurecaption>(showSubStep: unchecked)</figurecaption>
|
|
135
|
+
</figure>
|
|
136
|
+
|
|
137
|
+
20. inText - Determine the location of tick value of gauge. (checked: inside, unchecked: outside)
|
|
138
|
+
<figure style="text-align: center;">
|
|
139
|
+
|
|
140
|
+
![Gauge-BackgroundColor application result][gauge-circle-21]
|
|
141
|
+
<figurecaption>(inText: unchecked)</figurecaption>
|
|
142
|
+
</figure>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
[gauge-circle-01]: ../images/gauge-circle-01.png
|
|
146
|
+
[gauge-circle-02]: ../images/gauge-circle-02.png
|
|
147
|
+
[gauge-circle-03]: ../images/gauge-circle-03.png
|
|
148
|
+
[gauge-circle-04]: ../images/gauge-circle-04.png
|
|
149
|
+
[gauge-circle-05]: ../images/gauge-circle-05.png
|
|
150
|
+
[gauge-circle-06]: ../images/gauge-circle-06.png
|
|
151
|
+
[gauge-circle-07]: ../images/gauge-circle-07.png
|
|
152
|
+
[gauge-circle-08]: ../images/gauge-circle-08.png
|
|
153
|
+
[gauge-circle-09]: ../images/gauge-circle-09.png
|
|
154
|
+
[gauge-circle-10]: ../images/gauge-circle-10.png
|
|
155
|
+
[gauge-circle-11]: ../images/gauge-circle-11.png
|
|
156
|
+
[gauge-circle-12]: ../images/gauge-circle-12.png
|
|
157
|
+
[gauge-circle-13]: ../images/gauge-circle-13.png
|
|
158
|
+
[gauge-circle-14]: ../images/gauge-circle-14.png
|
|
159
|
+
[gauge-circle-15]: ../images/gauge-circle-15.png
|
|
160
|
+
[gauge-circle-16]: ../images/gauge-circle-16.png
|
|
161
|
+
[gauge-circle-17]: ../images/gauge-circle-17.png
|
|
162
|
+
[gauge-circle-18]: ../images/gauge-circle-18.png
|
|
163
|
+
[gauge-circle-19]: ../images/gauge-circle-19.png
|
|
164
|
+
[gauge-circle-20]: ../images/gauge-circle-20.png
|
|
165
|
+
[gauge-circle-21]: ../images/gauge-circle-21.png
|
|
166
|
+
|
|
167
|
+
## properties
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# circel gauge
|
|
2
|
+
## properties
|
|
3
|
+
1. Value(Number) - 仪表的值。
|
|
4
|
+
<figure style="text-align: center;">
|
|
5
|
+
|
|
6
|
+
![仪表-Value适用结果][gauge-circle-02]
|
|
7
|
+
<figurecaption>(value: 85)</figurecaption>
|
|
8
|
+
</figure>
|
|
9
|
+
|
|
10
|
+
2. startValue - 仪表的起始值。
|
|
11
|
+
<figure style="text-align: center;">
|
|
12
|
+
|
|
13
|
+
![仪表-BackgroundColor适用结果][gauge-circle-03]
|
|
14
|
+
<figurecaption>(startValue: 10)</figurecaption>
|
|
15
|
+
</figure>
|
|
16
|
+
|
|
17
|
+
3. endValue - 仪表的最终值。
|
|
18
|
+
<figure style="text-align: center;">
|
|
19
|
+
|
|
20
|
+
![仪表-BackgroundColor适用结果][gauge-circle-04]
|
|
21
|
+
<figurecaption>(endValue: 120)</figurecaption>
|
|
22
|
+
</figure>
|
|
23
|
+
|
|
24
|
+
4. step - 仪表的刻度间隔。
|
|
25
|
+
<figure style="text-align: center;">
|
|
26
|
+
|
|
27
|
+
![仪表-BackgroundColor适用结果][gauge-circle-05]
|
|
28
|
+
<figurecaption>(step: 30)</figurecaption>
|
|
29
|
+
</figure>
|
|
30
|
+
|
|
31
|
+
5. stepTextSize - 仪表的刻度文本大小。
|
|
32
|
+
<figure style="text-align: center;">
|
|
33
|
+
|
|
34
|
+
![仪表-BackgroundColor适用结果][gauge-circle-06]
|
|
35
|
+
<figurecaption>(stepTextSize: 10)</figurecaption>
|
|
36
|
+
</figure>
|
|
37
|
+
|
|
38
|
+
6. subStep - 仪表的刻度之间间隔。
|
|
39
|
+
<figure style="text-align: center;">
|
|
40
|
+
|
|
41
|
+
![仪表-BackgroundColor适用结果][gauge-circle-07]
|
|
42
|
+
<figurecaption>(subStep: 10)</figurecaption>
|
|
43
|
+
</figure>
|
|
44
|
+
|
|
45
|
+
7. stepNeedleSize - 仪表的刻度大小。
|
|
46
|
+
<figure style="text-align: center;">
|
|
47
|
+
|
|
48
|
+
![仪表-BackgroundColor适用结果][gauge-circle-08]
|
|
49
|
+
<figurecaption>(stepNeedleSize: 3)</figurecaption>
|
|
50
|
+
</figure>
|
|
51
|
+
|
|
52
|
+
8. startAngle - 仪表的起始角度。以12点方向为标准,向顺时针方向增加。 如果是负数,就会是反方向。
|
|
53
|
+
<figure style="text-align: center;">
|
|
54
|
+
|
|
55
|
+
![仪表-BackgroundColor适用结果][gauge-circle-09]
|
|
56
|
+
<figurecaption>(startAngle: -90)</figurecaption>
|
|
57
|
+
</figure>
|
|
58
|
+
|
|
59
|
+
9. endAngle - 仪表的最终角度。以12点方向为标准,向顺时针方向增加。 如果是负数,就会是反方向。
|
|
60
|
+
<figure style="text-align: center;">
|
|
61
|
+
|
|
62
|
+
![仪表-BackgroundColor适用结果][gauge-circle-10]
|
|
63
|
+
<figurecaption>(endAngle: 90)</figurecaption>
|
|
64
|
+
</figure>
|
|
65
|
+
|
|
66
|
+
10. textFillStyle - 仪表的刻度文本颜色。
|
|
67
|
+
<figure style="text-align: center;">
|
|
68
|
+
|
|
69
|
+
![仪表-BackgroundColor适用结果][gauge-circle-11]
|
|
70
|
+
<figurecaption>(textFillStyle: #ec5324)</figurecaption>
|
|
71
|
+
</figure>
|
|
72
|
+
|
|
73
|
+
11. needleFillStyle - 仪表的针色。
|
|
74
|
+
<figure style="text-align: center;">
|
|
75
|
+
|
|
76
|
+
![仪表-BackgroundColor适用结果][gauge-circle-12]
|
|
77
|
+
<figurecaption>(needleFillStyle: #ec5324)</figurecaption>
|
|
78
|
+
</figure>
|
|
79
|
+
|
|
80
|
+
12. innerCircleFillStyle - 仪表指针的圆的颜色。
|
|
81
|
+
<figure style="text-align: center;">
|
|
82
|
+
|
|
83
|
+
![仪表-BackgroundColor适用结果][gauge-circle-13]
|
|
84
|
+
<figurecaption>(innerCircleFillStyle: #ec5324)</figurecaption>
|
|
85
|
+
</figure>
|
|
86
|
+
|
|
87
|
+
13. stepFillStyle - 仪表指针的颜色。
|
|
88
|
+
<figure style="text-align: center;">
|
|
89
|
+
|
|
90
|
+
![仪表-BackgroundColor适用结果][gauge-circle-14]
|
|
91
|
+
<figurecaption>(stepFillStyle: #ec5324)</figurecaption>
|
|
92
|
+
</figure>
|
|
93
|
+
|
|
94
|
+
14. colorStops - 仪表的各个区间的颜色。可以通过双击而添加区间,也可以向下拖动标记而删除区间。
|
|
95
|
+
<figure style="text-align: center;">
|
|
96
|
+
|
|
97
|
+
![仪表-BackgroundColor适用结果][gauge-circle-15]
|
|
98
|
+
<figurecaption>(colorStops: <img src="../images/color-stops-value.png"
|
|
99
|
+
</figure>
|
|
100
|
+
|
|
101
|
+
15. showStartValue - 决定是否显示仪表的起始值。
|
|
102
|
+
<figure style="text-align: center;">
|
|
103
|
+
|
|
104
|
+
![仪表-BackgroundColor适用结果][gauge-circle-16]
|
|
105
|
+
<figurecaption>(showStartValue: unchecked)</figurecaption>
|
|
106
|
+
</figure>
|
|
107
|
+
|
|
108
|
+
16. showEndValue - 决定是否显示仪表的最终值。
|
|
109
|
+
<figure style="text-align: center;">
|
|
110
|
+
|
|
111
|
+
![仪表-BackgroundColor适用结果][gauge-circle-17]
|
|
112
|
+
<figurecaption>(showEndValue: unchecked)</figurecaption>
|
|
113
|
+
</figure>
|
|
114
|
+
|
|
115
|
+
17. showStepLine - 决定是否显示仪表的刻度。
|
|
116
|
+
<figure style="text-align: center;">
|
|
117
|
+
|
|
118
|
+
![仪表-BackgroundColor适用结果][gauge-circle-18]
|
|
119
|
+
<figurecaption>(showStepLine: unchecked)</figurecaption>
|
|
120
|
+
</figure>
|
|
121
|
+
|
|
122
|
+
18. showStepText - 决定是否显示仪表的刻度值。
|
|
123
|
+
<figure style="text-align: center;">
|
|
124
|
+
|
|
125
|
+
![仪表-BackgroundColor适用结果][gauge-circle-19]
|
|
126
|
+
<figurecaption>(showStepText: unchecked)</figurecaption>
|
|
127
|
+
</figure>
|
|
128
|
+
|
|
129
|
+
19. showSubStep - 决定是否显示仪表的分刻度。
|
|
130
|
+
<figure style="text-align: center;">
|
|
131
|
+
|
|
132
|
+
![仪表-BackgroundColor适用结果][gauge-circle-20]
|
|
133
|
+
<figurecaption>(showSubStep: unchecked)</figurecaption>
|
|
134
|
+
</figure>
|
|
135
|
+
|
|
136
|
+
20. inText - 决定仪表的刻度值的位置。(checked:内部,unchecked:外部)
|
|
137
|
+
<figure style="text-align: center;">
|
|
138
|
+
|
|
139
|
+
![仪表-BackgroundColor适用结果][gauge-circle-21]
|
|
140
|
+
<figurecaption>(inText: unchecked)</figurecaption>
|
|
141
|
+
</figure>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
[gauge-circle-01]: ../images/gauge-circle-01.png
|
|
145
|
+
[gauge-circle-02]: ../images/gauge-circle-02.png
|
|
146
|
+
[gauge-circle-03]: ../images/gauge-circle-03.png
|
|
147
|
+
[gauge-circle-04]: ../images/gauge-circle-04.png
|
|
148
|
+
[gauge-circle-05]: ../images/gauge-circle-05.png
|
|
149
|
+
[gauge-circle-06]: ../images/gauge-circle-06.png
|
|
150
|
+
[gauge-circle-07]: ../images/gauge-circle-07.png
|
|
151
|
+
[gauge-circle-08]: ../images/gauge-circle-08.png
|
|
152
|
+
[gauge-circle-09]: ../images/gauge-circle-09.png
|
|
153
|
+
[gauge-circle-10]: ../images/gauge-circle-10.png
|
|
154
|
+
[gauge-circle-11]: ../images/gauge-circle-11.png
|
|
155
|
+
[gauge-circle-12]: ../images/gauge-circle-12.png
|
|
156
|
+
[gauge-circle-13]: ../images/gauge-circle-13.png
|
|
157
|
+
[gauge-circle-14]: ../images/gauge-circle-14.png
|
|
158
|
+
[gauge-circle-15]: ../images/gauge-circle-15.png
|
|
159
|
+
[gauge-circle-16]: ../images/gauge-circle-16.png
|
|
160
|
+
[gauge-circle-17]: ../images/gauge-circle-17.png
|
|
161
|
+
[gauge-circle-18]: ../images/gauge-circle-18.png
|
|
162
|
+
[gauge-circle-19]: ../images/gauge-circle-19.png
|
|
163
|
+
[gauge-circle-20]: ../images/gauge-circle-20.png
|
|
164
|
+
[gauge-circle-21]: ../images/gauge-circle-21.png
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# gauge-horizon[en]
|
|
2
|
+
![컴포넌트-게이지(수직)][gauge-vertical-01]
|
|
3
|
+
게이지를 세로막대 형태로 표시해주는 컴포넌트
|
|
4
|
+
|
|
5
|
+
## properties :
|
|
6
|
+
|
|
7
|
+
1. Value(Number) - 게이지의 값.
|
|
8
|
+
<figure style="text-align: center;">
|
|
9
|
+
|
|
10
|
+
![게이지-Value적용결과][gauge-vertical-02]
|
|
11
|
+
<figurecaption>(value: 85)</figurecaption>
|
|
12
|
+
</figure>
|
|
13
|
+
|
|
14
|
+
2. startValue - 게이지의 시작 값.
|
|
15
|
+
<figure style="text-align: center;">
|
|
16
|
+
|
|
17
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-03]
|
|
18
|
+
<figurecaption>(startValue: 10)</figurecaption>
|
|
19
|
+
</figure>
|
|
20
|
+
|
|
21
|
+
3. endValue - 게이지의 끝 값.
|
|
22
|
+
<figure style="text-align: center;">
|
|
23
|
+
|
|
24
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-04]
|
|
25
|
+
<figurecaption>(endValue: 120)</figurecaption>
|
|
26
|
+
</figure>
|
|
27
|
+
|
|
28
|
+
4. step - 게이지 눈금 간격.
|
|
29
|
+
<figure style="text-align: center;">
|
|
30
|
+
|
|
31
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-05]
|
|
32
|
+
<figurecaption>(step: 30)</figurecaption>
|
|
33
|
+
</figure>
|
|
34
|
+
|
|
35
|
+
5. stepTextSize - 게이지 눈금 글씨 크기.
|
|
36
|
+
<figure style="text-align: center;">
|
|
37
|
+
|
|
38
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-06]
|
|
39
|
+
<figurecaption>(stepTextSize: 10)</figurecaption>
|
|
40
|
+
</figure>
|
|
41
|
+
|
|
42
|
+
6. subStep - 게이지 눈금 사이 간격.
|
|
43
|
+
<figure style="text-align: center;">
|
|
44
|
+
|
|
45
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-07]
|
|
46
|
+
<figurecaption>(subStep: 10)</figurecaption>
|
|
47
|
+
</figure>
|
|
48
|
+
|
|
49
|
+
7. stepNeedleSize - 게이지 눈금 크기.
|
|
50
|
+
<figure style="text-align: center;">
|
|
51
|
+
|
|
52
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-08]
|
|
53
|
+
<figurecaption>(stepNeedleSize: 3)</figurecaption>
|
|
54
|
+
</figure>
|
|
55
|
+
|
|
56
|
+
8. textColor - 게이지 눈금 글씨 색상.
|
|
57
|
+
<figure style="text-align: center;">
|
|
58
|
+
|
|
59
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-09]
|
|
60
|
+
<figurecaption>(textColor: #ec5324)</figurecaption>
|
|
61
|
+
</figure>
|
|
62
|
+
|
|
63
|
+
9. needleFillStyle - 게이지 바늘 색상.
|
|
64
|
+
<figure style="text-align: center;">
|
|
65
|
+
|
|
66
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-10]
|
|
67
|
+
<figurecaption>(needleFillStyle: #ec5324)</figurecaption>
|
|
68
|
+
</figure>
|
|
69
|
+
|
|
70
|
+
10. needleSize - 게이지 바늘 크기.
|
|
71
|
+
<figure style="text-align: center;">
|
|
72
|
+
|
|
73
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-11]
|
|
74
|
+
<figurecaption>(needleSize: 10)</figurecaption>
|
|
75
|
+
</figure>
|
|
76
|
+
|
|
77
|
+
11. stepFillStyle - 게이지 눈금 색상.
|
|
78
|
+
<figure style="text-align: center;">
|
|
79
|
+
|
|
80
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-12]
|
|
81
|
+
<figurecaption>(stepFillStyle: #ec5324)</figurecaption>
|
|
82
|
+
</figure>
|
|
83
|
+
|
|
84
|
+
12. colorStops - 게이지 구간별 색상. 더블클릭으로 구간을 추가할 수 있으며 마커를 드래그하여 아래로 내리면 구간을 삭제할 수 있다.
|
|
85
|
+
<figure style="text-align: center;">
|
|
86
|
+
|
|
87
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-13]
|
|
88
|
+
<figurecaption>(colorStops: <img src="../images/color-stops-value.png" height="30" alt="color stops">)</figurecaption>
|
|
89
|
+
</figure>
|
|
90
|
+
|
|
91
|
+
13. showStartValue - 게이지 시작값의 표시여부를 결정.
|
|
92
|
+
<figure style="text-align: center;">
|
|
93
|
+
|
|
94
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-14]
|
|
95
|
+
<figurecaption>(showStartValue: unchecked)</figurecaption>
|
|
96
|
+
</figure>
|
|
97
|
+
|
|
98
|
+
14. showEndValue - 게이지 끝값의 표시여부를 결정.
|
|
99
|
+
<figure style="text-align: center;">
|
|
100
|
+
|
|
101
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-15]
|
|
102
|
+
<figurecaption>(showEndValue: unchecked)</figurecaption>
|
|
103
|
+
</figure>
|
|
104
|
+
|
|
105
|
+
15. showStepLine - 게이지 눈금의 표시여부를 결정.
|
|
106
|
+
<figure style="text-align: center;">
|
|
107
|
+
|
|
108
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-16]
|
|
109
|
+
<figurecaption>(showStepLine: unchecked)</figurecaption>
|
|
110
|
+
</figure>
|
|
111
|
+
|
|
112
|
+
16. showStepText - 게이지 눈금 값의 표시여부를 결정.
|
|
113
|
+
<figure style="text-align: center;">
|
|
114
|
+
|
|
115
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-17]
|
|
116
|
+
<figurecaption>(showStepText: unchecked)</figurecaption>
|
|
117
|
+
</figure>
|
|
118
|
+
|
|
119
|
+
17. showSubStep - 게이지 보조 눈금의 표시여부를 결정.
|
|
120
|
+
<figure style="text-align: center;">
|
|
121
|
+
|
|
122
|
+
![게이지-BackgroundColor적용결과][gauge-vertical-18]
|
|
123
|
+
<figurecaption>(showSubStep: unchecked)</figurecaption>
|
|
124
|
+
</figure>
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
[gauge-vertical-01]: ../images/gauge-vertical-01.png
|
|
128
|
+
[gauge-vertical-02]: ../images/gauge-vertical-02.png
|
|
129
|
+
[gauge-vertical-03]: ../images/gauge-vertical-03.png
|
|
130
|
+
[gauge-vertical-04]: ../images/gauge-vertical-04.png
|
|
131
|
+
[gauge-vertical-05]: ../images/gauge-vertical-05.png
|
|
132
|
+
[gauge-vertical-06]: ../images/gauge-vertical-06.png
|
|
133
|
+
[gauge-vertical-07]: ../images/gauge-vertical-07.png
|
|
134
|
+
[gauge-vertical-08]: ../images/gauge-vertical-08.png
|
|
135
|
+
[gauge-vertical-09]: ../images/gauge-vertical-09.png
|
|
136
|
+
[gauge-vertical-10]: ../images/gauge-vertical-10.png
|
|
137
|
+
[gauge-vertical-11]: ../images/gauge-vertical-11.png
|
|
138
|
+
[gauge-vertical-12]: ../images/gauge-vertical-12.png
|
|
139
|
+
[gauge-vertical-13]: ../images/gauge-vertical-13.png
|
|
140
|
+
[gauge-vertical-14]: ../images/gauge-vertical-14.png
|
|
141
|
+
[gauge-vertical-15]: ../images/gauge-vertical-15.png
|
|
142
|
+
[gauge-vertical-16]: ../images/gauge-vertical-16.png
|
|
143
|
+
[gauge-vertical-17]: ../images/gauge-vertical-17.png
|
|
144
|
+
[gauge-vertical-18]: ../images/gauge-vertical-18.png
|
|
145
|
+
## properties
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# gauge horizon[en]
|
|
2
|
+
![Component-Gauge(Vertical)][gauge-vertical-01]
|
|
3
|
+
The component which displays the gauge with a vertical bar.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## properties
|
|
7
|
+
|
|
8
|
+
1. Value(Number) - The value of gauge.
|
|
9
|
+
<figure style="text-align: center;">
|
|
10
|
+
|
|
11
|
+
![Gauge-Value application result][gauge-vertical-02]
|
|
12
|
+
<figurecaption>(value: 85)</figurecaption>
|
|
13
|
+
</figure>
|
|
14
|
+
|
|
15
|
+
2. startValue - The start value of gauge.
|
|
16
|
+
<figure style="text-align: center;">
|
|
17
|
+
|
|
18
|
+
![Gauge-BackgroundColor application result][gauge-vertical-03]
|
|
19
|
+
<figurecaption>(startValue: 10)</figurecaption>
|
|
20
|
+
</figure>
|
|
21
|
+
|
|
22
|
+
3. endValue - The end value of gauge.
|
|
23
|
+
<figure style="text-align: center;">
|
|
24
|
+
|
|
25
|
+
![Gauge-BackgroundColor application result][gauge-vertical-04]
|
|
26
|
+
<figurecaption>(endValue: 120)</figurecaption>
|
|
27
|
+
</figure>
|
|
28
|
+
|
|
29
|
+
4. step - The tick interval of gauge.
|
|
30
|
+
<figure style="text-align: center;">
|
|
31
|
+
|
|
32
|
+
![Gauge-BackgroundColor application result][gauge-vertical-05]
|
|
33
|
+
<figurecaption>(step: 30)</figurecaption>
|
|
34
|
+
</figure>
|
|
35
|
+
|
|
36
|
+
5. stepTextSize - The tick text size of gauge.
|
|
37
|
+
<figure style="text-align: center;">
|
|
38
|
+
|
|
39
|
+
![Gauge-BackgroundColor application result][gauge-vertical-06]
|
|
40
|
+
<figurecaption>(stepTextSize: 10)</figurecaption>
|
|
41
|
+
</figure>
|
|
42
|
+
|
|
43
|
+
6. subStep - The space between ticks of gauge.
|
|
44
|
+
<figure style="text-align: center;">
|
|
45
|
+
|
|
46
|
+
![Gauge-BackgroundColor application result][gauge-vertical-07]
|
|
47
|
+
<figurecaption>(subStep: 10)</figurecaption>
|
|
48
|
+
</figure>
|
|
49
|
+
|
|
50
|
+
7. stepNeedleSize - The tick size of gauge.
|
|
51
|
+
<figure style="text-align: center;">
|
|
52
|
+
|
|
53
|
+
![Gauge-BackgroundColor application result][gauge-vertical-08]
|
|
54
|
+
<figurecaption>(stepNeedleSize: 3)</figurecaption>
|
|
55
|
+
</figure>
|
|
56
|
+
|
|
57
|
+
8. textColor - The tick text color of gauge.
|
|
58
|
+
<figure style="text-align: center;">
|
|
59
|
+
|
|
60
|
+
![Gauge-BackgroundColor application result][gauge-vertical-09]
|
|
61
|
+
<figurecaption>(textColor: #ec5324)</figurecaption>
|
|
62
|
+
</figure>
|
|
63
|
+
|
|
64
|
+
9. needleFillStyle - The needle color of gauge.
|
|
65
|
+
<figure style="text-align: center;">
|
|
66
|
+
|
|
67
|
+
![Gauge-BackgroundColor application result][gauge-vertical-10]
|
|
68
|
+
<figurecaption>(needleFillStyle: #ec5324)</figurecaption>
|
|
69
|
+
</figure>
|
|
70
|
+
|
|
71
|
+
10. needleSize - The needle size of gauge.
|
|
72
|
+
<figure style="text-align: center;">
|
|
73
|
+
|
|
74
|
+
![Gauge-BackgroundColor application result][gauge-vertical-11]
|
|
75
|
+
<figurecaption>(needleSize: 10)</figurecaption>
|
|
76
|
+
</figure>
|
|
77
|
+
|
|
78
|
+
11. stepFillStyle - The tick color of gauge.
|
|
79
|
+
<figure style="text-align: center;">
|
|
80
|
+
|
|
81
|
+
![Gauge-BackgroundColor application result][gauge-vertical-12]
|
|
82
|
+
<figurecaption>(stepFillStyle: #ec5324)</figurecaption>
|
|
83
|
+
</figure>
|
|
84
|
+
|
|
85
|
+
12. colorStops - The color of each sector of gauge. You can add a sector by double clicking and delete it by dragging down the marker.
|
|
86
|
+
<figure style="text-align: center;">
|
|
87
|
+
|
|
88
|
+
![Gauge-BackgroundColor application result][gauge-vertical-13]
|
|
89
|
+
<figurecaption>(colorStops: <img src="../images/color-stops-value.png" height="30" alt="color stops">)</figurecaption>
|
|
90
|
+
</figure>
|
|
91
|
+
|
|
92
|
+
13. showStartValue - Determine whether to display the start value of gauge.
|
|
93
|
+
<figure style="text-align: center;">
|
|
94
|
+
|
|
95
|
+
![Gauge-BackgroundColor application result][gauge-vertical-14]
|
|
96
|
+
<figurecaption>(showStartValue: unchecked)</figurecaption>
|
|
97
|
+
</figure>
|
|
98
|
+
|
|
99
|
+
14. showEndValue - Determine whether to display the end value of gauge.
|
|
100
|
+
<figure style="text-align: center;">
|
|
101
|
+
|
|
102
|
+
![Gauge-BackgroundColor application result][gauge-vertical-15]
|
|
103
|
+
<figurecaption>(showEndValue: unchecked)</figurecaption>
|
|
104
|
+
</figure>
|
|
105
|
+
|
|
106
|
+
15. showStepLine - Determine whether to display the tick of gauge.
|
|
107
|
+
<figure style="text-align: center;">
|
|
108
|
+
|
|
109
|
+
![Gauge-BackgroundColor application result][gauge-vertical-16]
|
|
110
|
+
<figurecaption>(showStepLine: unchecked)</figurecaption>
|
|
111
|
+
</figure>
|
|
112
|
+
|
|
113
|
+
16. showStepText - Determine whether to display the tick value of gauge.
|
|
114
|
+
<figure style="text-align: center;">
|
|
115
|
+
|
|
116
|
+
![Gauge-BackgroundColor application result][gauge-vertical-17]
|
|
117
|
+
<figurecaption>(showStepText: unchecked)</figurecaption>
|
|
118
|
+
</figure>
|
|
119
|
+
|
|
120
|
+
17. showSubStep - Determine whether to display the minor tick of gauge.
|
|
121
|
+
<figure style="text-align: center;">
|
|
122
|
+
|
|
123
|
+
![Gauge-BackgroundColor application result][gauge-vertical-18]
|
|
124
|
+
<figurecaption>(showSubStep: unchecked)</figurecaption>
|
|
125
|
+
</figure>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
[gauge-vertical-01]: ../images/gauge-vertical-01.png
|
|
129
|
+
[gauge-vertical-02]: ../images/gauge-vertical-02.png
|
|
130
|
+
[gauge-vertical-03]: ../images/gauge-vertical-03.png
|
|
131
|
+
[gauge-vertical-04]: ../images/gauge-vertical-04.png
|
|
132
|
+
[gauge-vertical-05]: ../images/gauge-vertical-05.png
|
|
133
|
+
[gauge-vertical-06]: ../images/gauge-vertical-06.png
|
|
134
|
+
[gauge-vertical-07]: ../images/gauge-vertical-07.png
|
|
135
|
+
[gauge-vertical-08]: ../images/gauge-vertical-08.png
|
|
136
|
+
[gauge-vertical-09]: ../images/gauge-vertical-09.png
|
|
137
|
+
[gauge-vertical-10]: ../images/gauge-vertical-10.png
|
|
138
|
+
[gauge-vertical-11]: ../images/gauge-vertical-11.png
|
|
139
|
+
[gauge-vertical-12]: ../images/gauge-vertical-12.png
|
|
140
|
+
[gauge-vertical-13]: ../images/gauge-vertical-13.png
|
|
141
|
+
[gauge-vertical-14]: ../images/gauge-vertical-14.png
|
|
142
|
+
[gauge-vertical-15]: ../images/gauge-vertical-15.png
|
|
143
|
+
[gauge-vertical-16]: ../images/gauge-vertical-16.png
|
|
144
|
+
[gauge-vertical-17]: ../images/gauge-vertical-17.png
|
|
145
|
+
[gauge-vertical-18]: ../images/gauge-vertical-18.png
|