realchart 0.9.29 → 0.9.31
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/dist/index.d.ts +337 -425
- package/dist/index.esm.js +3 -3
- package/dist/index.js +3 -3
- package/dist/realchart-style.css +58 -26
- package/package.json +1 -1
package/dist/realchart-style.css
CHANGED
|
@@ -136,7 +136,6 @@
|
|
|
136
136
|
.rct-control[data-theme='real'] {
|
|
137
137
|
--rct-background: #264653;
|
|
138
138
|
}
|
|
139
|
-
|
|
140
139
|
.rct-root {
|
|
141
140
|
--rct-font-family: AppleSDGothicNeo-Light, "HelveticaNeue", "Malgun Gothic", "맑은 고딕", sans-serif;
|
|
142
141
|
--rct-font-size: 16px;
|
|
@@ -152,6 +151,7 @@
|
|
|
152
151
|
|
|
153
152
|
--rct-axis-title-fill: #333;
|
|
154
153
|
--rct-axis-line-stroke: #aaa;
|
|
154
|
+
--rct-axis-baseline-stroke: #333;
|
|
155
155
|
--rct-axis-tick-stroke: #555;
|
|
156
156
|
--rct-axis-label-fill: #555;
|
|
157
157
|
--rct-axis-grid-line-stroke: #ddd;
|
|
@@ -182,13 +182,26 @@
|
|
|
182
182
|
--rct-polar-yaxis-grid-line-stroke: #ccc;
|
|
183
183
|
--rct-polar-axis-labels-fill: #555;
|
|
184
184
|
|
|
185
|
+
/* linear gauge */
|
|
186
|
+
--rct-linear-gauge-background-fill: #eee;
|
|
187
|
+
--rct-linear-gauge-value-fill: green;
|
|
188
|
+
--rct-linear-gauge-band-tick-labels-stroke: #333;
|
|
189
|
+
--rct-linear-gauge-group-label-fill: #333;
|
|
190
|
+
/** bullet gauge */
|
|
191
|
+
--rct-bullet-gauge-background-fill: #eee;
|
|
192
|
+
--rct-bullet-gauge-value-fill: #333;
|
|
193
|
+
--rct-bullet-gauge-target-fill: #333;
|
|
194
|
+
--rct-bullet-gauge-label-fill: #333;
|
|
195
|
+
--rct-bullet-gauge-scale-line-stroke: #333;
|
|
196
|
+
--rct-bullet-gauge-scale-ticks-stroke: #333;
|
|
197
|
+
--rct-bullet-gauge-scale-tick-labels-stroke: #333;
|
|
185
198
|
/* circle gauge */
|
|
186
|
-
--rct-circle-gauge-
|
|
199
|
+
--rct-circle-gauge-rim-fill: #ededed;
|
|
187
200
|
--rct-circle-gauge-inner-fill: none;
|
|
188
201
|
--rct-circle-gauge-label-fill: #000;
|
|
189
202
|
--rct-gauge-scale-line: #555;
|
|
190
203
|
--rct-gauge-scale-tick: #555;
|
|
191
|
-
--rct-gauge-scale-tick-labels: #333;
|
|
204
|
+
--rct-gauge-scale-tick-labels-stroke: #333;
|
|
192
205
|
/* clock gauge */
|
|
193
206
|
--rct-clock-gauge-face-fill: white;
|
|
194
207
|
--rct-clock-gauge-rim-fill: #eee;
|
|
@@ -216,6 +229,7 @@
|
|
|
216
229
|
|
|
217
230
|
--rct-axis-title-fill: #fff;
|
|
218
231
|
--rct-axis-line-stroke: #fff;
|
|
232
|
+
--rct-axis-baseline-stroke: #fff;
|
|
219
233
|
--rct-axis-tick-stroke: #fff;
|
|
220
234
|
--rct-axis-label-fill: #fff;
|
|
221
235
|
--rct-axis-grid-line-stroke: #fff;
|
|
@@ -235,12 +249,14 @@
|
|
|
235
249
|
--rct-polar-yaxis-grid-line-stroke: #fff;
|
|
236
250
|
--rct-polar-axis-labels-fill: #fff;
|
|
237
251
|
|
|
252
|
+
/* linear gauge */
|
|
253
|
+
--rct-linear-gauge-group-label-fill: #eee;
|
|
238
254
|
/* circle gauge */
|
|
239
|
-
--rct-circle-gauge-
|
|
255
|
+
--rct-circle-gauge-rim-fill: #515151;
|
|
240
256
|
--rct-circle-gauge-label-fill: #fff;
|
|
241
257
|
--rct-gauge-scale-line: #fff;
|
|
242
258
|
--rct-gauge-scale-tick: #fff;
|
|
243
|
-
--rct-gauge-scale-tick-labels: #fff;
|
|
259
|
+
--rct-gauge-scale-tick-labels-stroke: #fff;
|
|
244
260
|
|
|
245
261
|
/** zoom tracker */
|
|
246
262
|
--rct-zoom-tracker-fill: #efefef40;
|
|
@@ -276,17 +292,16 @@
|
|
|
276
292
|
--rct-polar-axis-labels-fill: #f0d9be;
|
|
277
293
|
|
|
278
294
|
/* circle gauge */
|
|
279
|
-
--rct-circle-gauge-
|
|
295
|
+
--rct-circle-gauge-rim-fill: #515151;
|
|
280
296
|
--rct-circle-gauge-label-fill: #fff;
|
|
281
297
|
--rct-gauge-scale-line: #fff;
|
|
282
298
|
--rct-gauge-scale-tick: #fff;
|
|
283
|
-
--rct-gauge-scale-tick-labels: #fff;
|
|
299
|
+
--rct-gauge-scale-tick-labels-stroke: #fff;
|
|
284
300
|
|
|
285
301
|
/** zoom tracker */
|
|
286
302
|
--rct-zoom-tracker-fill: #efefef40;
|
|
287
303
|
}
|
|
288
304
|
|
|
289
|
-
|
|
290
305
|
/** control */
|
|
291
306
|
.rct-control {
|
|
292
307
|
background-color: var(--rct-background);
|
|
@@ -408,6 +423,10 @@
|
|
|
408
423
|
stroke: var(--rct-axis-line-stroke);
|
|
409
424
|
stroke-width: 1px;
|
|
410
425
|
}
|
|
426
|
+
.rct-axis-baseline {
|
|
427
|
+
stroke: var(--rct-axis-baseline-stroke);
|
|
428
|
+
stroke-width: 1px;
|
|
429
|
+
}
|
|
411
430
|
.rct-axis-tick {
|
|
412
431
|
stroke: var(--rct-axis-tick-stroke);
|
|
413
432
|
stroke-width: 1px;
|
|
@@ -524,6 +543,7 @@
|
|
|
524
543
|
.rct-series-trendline {
|
|
525
544
|
stroke: red;
|
|
526
545
|
stroke-width: 2px;
|
|
546
|
+
stroke-linejoin: round;
|
|
527
547
|
fill: none;
|
|
528
548
|
}
|
|
529
549
|
|
|
@@ -618,7 +638,7 @@
|
|
|
618
638
|
.rct-series {
|
|
619
639
|
opacity: inherit;
|
|
620
640
|
transition-property: opacity;
|
|
621
|
-
transition-duration: 0.
|
|
641
|
+
transition-duration: 0.7s;
|
|
622
642
|
}
|
|
623
643
|
.rct-series[data-unfocus] {
|
|
624
644
|
opacity: 0.2;
|
|
@@ -631,7 +651,7 @@
|
|
|
631
651
|
.rct-point-labels {
|
|
632
652
|
opacity: inherit;
|
|
633
653
|
transition-property: opacity;
|
|
634
|
-
transition-duration: 0.
|
|
654
|
+
transition-duration: 0.7s;
|
|
635
655
|
}
|
|
636
656
|
.rct-point-labels[data-unfocus] {
|
|
637
657
|
opacity: 0.3;
|
|
@@ -676,7 +696,16 @@
|
|
|
676
696
|
stroke-dasharray: none;
|
|
677
697
|
}
|
|
678
698
|
.rct-line-series .rct-point[data-focus] {
|
|
679
|
-
stroke
|
|
699
|
+
stroke: #0088ff20 !important;
|
|
700
|
+
stroke-width: 9px !important;
|
|
701
|
+
opacity: inherit !important;
|
|
702
|
+
/** TODO: 아래가 적용되지 않고 있다 */
|
|
703
|
+
transition-property: opacity;
|
|
704
|
+
transition-duration: 0.7s;
|
|
705
|
+
}
|
|
706
|
+
.rct-line-series-flag {
|
|
707
|
+
font-weight: bold;
|
|
708
|
+
font-size: 0.9em;
|
|
680
709
|
}
|
|
681
710
|
|
|
682
711
|
/** area series */
|
|
@@ -884,8 +913,8 @@
|
|
|
884
913
|
}
|
|
885
914
|
|
|
886
915
|
/** circle gauge */
|
|
887
|
-
.rct-circle-gauge-
|
|
888
|
-
fill: var(--rct-circle-gauge-
|
|
916
|
+
.rct-circle-gauge-rim {
|
|
917
|
+
fill: var(--rct-circle-gauge-rim-fill);
|
|
889
918
|
}
|
|
890
919
|
.rct-circle-gauge-inner {
|
|
891
920
|
fill: var(--rct-circle-gauge-inner-fill);
|
|
@@ -965,49 +994,50 @@
|
|
|
965
994
|
}
|
|
966
995
|
.rct-gauge-scale-tick-labels {
|
|
967
996
|
font-size: 0.85em;
|
|
968
|
-
fill: var(--rct-gauge-scale-tick-labels);
|
|
997
|
+
fill: var(--rct-gauge-scale-tick-labels-stroke);
|
|
969
998
|
}
|
|
970
999
|
|
|
971
1000
|
/** linear gauge */
|
|
972
1001
|
.rct-linear-gauge-background {
|
|
973
|
-
fill:
|
|
1002
|
+
fill: var(--rct-linear-gauge-background-fill);
|
|
974
1003
|
}
|
|
975
1004
|
.rct-linear-gauge-value {
|
|
976
|
-
fill:
|
|
1005
|
+
fill: var(--rct-linear-gauge-value-fill);
|
|
977
1006
|
}
|
|
978
1007
|
.rct-linear-gauge-band-tick-labels {
|
|
979
1008
|
font-size: 0.85em;
|
|
980
|
-
fill:
|
|
1009
|
+
fill: var(--rct-linear-gauge-band-tick-labels-stroke);
|
|
981
1010
|
}
|
|
982
1011
|
|
|
983
1012
|
/** linear gauge group */
|
|
984
1013
|
.rct-linear-gauge-group-label {
|
|
1014
|
+
fill: var(--rct-linear-gauge-group-label-fill);
|
|
985
1015
|
font-size: 1.5em;
|
|
986
1016
|
}
|
|
987
1017
|
|
|
988
1018
|
/** bullet gauge */
|
|
989
1019
|
.rct-bullet-gauge-background {
|
|
990
|
-
fill:
|
|
1020
|
+
fill: var(--rct-bullet-gauge-background-fill);
|
|
991
1021
|
}
|
|
992
1022
|
.rct-bullet-gauge-value {
|
|
993
|
-
fill:
|
|
1023
|
+
fill: var(--rct-bullet-gauge-value-fill);
|
|
994
1024
|
}
|
|
995
1025
|
.rct-bullet-gauge-target {
|
|
996
|
-
fill:
|
|
1026
|
+
fill: var(--rct-bullet-gauge-target-fill);
|
|
997
1027
|
}
|
|
998
1028
|
.rct-bullet-gauge-label {
|
|
999
1029
|
font-size: 1em;
|
|
1000
|
-
fill:
|
|
1030
|
+
fill: var(--rct-bullet-gauge-label-fill);
|
|
1001
1031
|
}
|
|
1002
1032
|
.rct-bullet-gauge-scale-line {
|
|
1003
|
-
stroke:
|
|
1033
|
+
stroke: var(--rct-bullet-gauge-scale-line-stroke);
|
|
1004
1034
|
}
|
|
1005
1035
|
.rct-bullet-gauge-scale-ticks {
|
|
1006
|
-
stroke:
|
|
1036
|
+
stroke: var(--rct-bullet-gauge-scale-ticks-stroke);
|
|
1007
1037
|
}
|
|
1008
1038
|
.rct-bullet-gauge-scale-tick-labels {
|
|
1009
1039
|
font-size: 0.9em;
|
|
1010
|
-
fill:
|
|
1040
|
+
fill: var(--rct-bullet-gauge-scale-tick-labels-stroke);
|
|
1011
1041
|
}
|
|
1012
1042
|
|
|
1013
1043
|
/** bullet gauge group */
|
|
@@ -1036,10 +1066,12 @@
|
|
|
1036
1066
|
}
|
|
1037
1067
|
|
|
1038
1068
|
/** annotation */
|
|
1069
|
+
.rct-annotation-background {
|
|
1070
|
+
fill: none;
|
|
1071
|
+
stroke: none;
|
|
1072
|
+
}
|
|
1039
1073
|
.rct-text-annotation {
|
|
1040
1074
|
font-size: 20px;
|
|
1041
|
-
}
|
|
1042
|
-
.rct-shape-annotation {
|
|
1043
1075
|
stroke: #333;
|
|
1044
1076
|
stroke-width: 3px;
|
|
1045
1077
|
}
|