realchart 0.9.29 → 0.9.30

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.
@@ -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,25 @@
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
+ /** bullet gauge */
190
+ --rct-bullet-gauge-background-fill: #eee;
191
+ --rct-bullet-gauge-value-fill: #333;
192
+ --rct-bullet-gauge-target-fill: #333;
193
+ --rct-bullet-gauge-label-fill: #333;
194
+ --rct-bullet-gauge-scale-line-stroke: #333;
195
+ --rct-bullet-gauge-scale-ticks-stroke: #333;
196
+ --rct-bullet-gauge-scale-tick-labels-stroke: #333;
185
197
  /* circle gauge */
186
- --rct-circle-gauge-back-fill: #ededed;
198
+ --rct-circle-gauge-rim-fill: #ededed;
187
199
  --rct-circle-gauge-inner-fill: none;
188
200
  --rct-circle-gauge-label-fill: #000;
189
201
  --rct-gauge-scale-line: #555;
190
202
  --rct-gauge-scale-tick: #555;
191
- --rct-gauge-scale-tick-labels: #333;
203
+ --rct-gauge-scale-tick-labels-stroke: #333;
192
204
  /* clock gauge */
193
205
  --rct-clock-gauge-face-fill: white;
194
206
  --rct-clock-gauge-rim-fill: #eee;
@@ -216,6 +228,7 @@
216
228
 
217
229
  --rct-axis-title-fill: #fff;
218
230
  --rct-axis-line-stroke: #fff;
231
+ --rct-axis-baseline-stroke: #fff;
219
232
  --rct-axis-tick-stroke: #fff;
220
233
  --rct-axis-label-fill: #fff;
221
234
  --rct-axis-grid-line-stroke: #fff;
@@ -236,11 +249,11 @@
236
249
  --rct-polar-axis-labels-fill: #fff;
237
250
 
238
251
  /* circle gauge */
239
- --rct-circle-gauge-back-fill: #515151;
252
+ --rct-circle-gauge-rim-fill: #515151;
240
253
  --rct-circle-gauge-label-fill: #fff;
241
254
  --rct-gauge-scale-line: #fff;
242
255
  --rct-gauge-scale-tick: #fff;
243
- --rct-gauge-scale-tick-labels: #fff;
256
+ --rct-gauge-scale-tick-labels-stroke: #fff;
244
257
 
245
258
  /** zoom tracker */
246
259
  --rct-zoom-tracker-fill: #efefef40;
@@ -276,17 +289,16 @@
276
289
  --rct-polar-axis-labels-fill: #f0d9be;
277
290
 
278
291
  /* circle gauge */
279
- --rct-circle-gauge-back-fill: #515151;
292
+ --rct-circle-gauge-rim-fill: #515151;
280
293
  --rct-circle-gauge-label-fill: #fff;
281
294
  --rct-gauge-scale-line: #fff;
282
295
  --rct-gauge-scale-tick: #fff;
283
- --rct-gauge-scale-tick-labels: #fff;
296
+ --rct-gauge-scale-tick-labels-stroke: #fff;
284
297
 
285
298
  /** zoom tracker */
286
299
  --rct-zoom-tracker-fill: #efefef40;
287
300
  }
288
301
 
289
-
290
302
  /** control */
291
303
  .rct-control {
292
304
  background-color: var(--rct-background);
@@ -408,6 +420,10 @@
408
420
  stroke: var(--rct-axis-line-stroke);
409
421
  stroke-width: 1px;
410
422
  }
423
+ .rct-axis-baseline {
424
+ stroke: var(--rct-axis-baseline-stroke);
425
+ stroke-width: 1px;
426
+ }
411
427
  .rct-axis-tick {
412
428
  stroke: var(--rct-axis-tick-stroke);
413
429
  stroke-width: 1px;
@@ -524,6 +540,7 @@
524
540
  .rct-series-trendline {
525
541
  stroke: red;
526
542
  stroke-width: 2px;
543
+ stroke-linejoin: round;
527
544
  fill: none;
528
545
  }
529
546
 
@@ -618,7 +635,7 @@
618
635
  .rct-series {
619
636
  opacity: inherit;
620
637
  transition-property: opacity;
621
- transition-duration: 0.9s;
638
+ transition-duration: 0.7s;
622
639
  }
623
640
  .rct-series[data-unfocus] {
624
641
  opacity: 0.2;
@@ -631,7 +648,7 @@
631
648
  .rct-point-labels {
632
649
  opacity: inherit;
633
650
  transition-property: opacity;
634
- transition-duration: 0.9s;
651
+ transition-duration: 0.7s;
635
652
  }
636
653
  .rct-point-labels[data-unfocus] {
637
654
  opacity: 0.3;
@@ -676,7 +693,16 @@
676
693
  stroke-dasharray: none;
677
694
  }
678
695
  .rct-line-series .rct-point[data-focus] {
679
- stroke-width: 3px;
696
+ stroke: #0088ff20 !important;
697
+ stroke-width: 9px !important;
698
+ opacity: inherit !important;
699
+ /** TODO: 아래가 적용되지 않고 있다 */
700
+ transition-property: opacity;
701
+ transition-duration: 0.7s;
702
+ }
703
+ .rct-line-series-flag {
704
+ font-weight: bold;
705
+ font-size: 0.9em;
680
706
  }
681
707
 
682
708
  /** area series */
@@ -884,8 +910,8 @@
884
910
  }
885
911
 
886
912
  /** circle gauge */
887
- .rct-circle-gauge-back {
888
- fill: var(--rct-circle-gauge-back-fill);
913
+ .rct-circle-gauge-rim {
914
+ fill: var(--rct-circle-gauge-rim-fill);
889
915
  }
890
916
  .rct-circle-gauge-inner {
891
917
  fill: var(--rct-circle-gauge-inner-fill);
@@ -965,19 +991,19 @@
965
991
  }
966
992
  .rct-gauge-scale-tick-labels {
967
993
  font-size: 0.85em;
968
- fill: var(--rct-gauge-scale-tick-labels);
994
+ fill: var(--rct-gauge-scale-tick-labels-stroke);
969
995
  }
970
996
 
971
997
  /** linear gauge */
972
998
  .rct-linear-gauge-background {
973
- fill: #eee;
999
+ fill: var(--rct-linear-gauge-background-fill);
974
1000
  }
975
1001
  .rct-linear-gauge-value {
976
- fill: green;
1002
+ fill: var(--rct-linear-gauge-value-fill);
977
1003
  }
978
1004
  .rct-linear-gauge-band-tick-labels {
979
1005
  font-size: 0.85em;
980
- fill: #333;
1006
+ fill: var(--rct-linear-gauge-band-tick-labels-stroke);
981
1007
  }
982
1008
 
983
1009
  /** linear gauge group */
@@ -987,27 +1013,27 @@
987
1013
 
988
1014
  /** bullet gauge */
989
1015
  .rct-bullet-gauge-background {
990
- fill: #eee;
1016
+ fill: var(--rct-bullet-gauge-background-fill);
991
1017
  }
992
1018
  .rct-bullet-gauge-value {
993
- fill: #333;
1019
+ fill: var(--rct-bullet-gauge-value-fill);
994
1020
  }
995
1021
  .rct-bullet-gauge-target {
996
- fill: #338;
1022
+ fill: var(--rct-bullet-gauge-target-fill);
997
1023
  }
998
1024
  .rct-bullet-gauge-label {
999
1025
  font-size: 1em;
1000
- fill: #333;
1026
+ fill: var(--rct-bullet-gauge-label-fill);
1001
1027
  }
1002
1028
  .rct-bullet-gauge-scale-line {
1003
- stroke: #333;
1029
+ stroke: var(--rct-bullet-gauge-scale-line-stroke);
1004
1030
  }
1005
1031
  .rct-bullet-gauge-scale-ticks {
1006
- stroke: #333;
1032
+ stroke: var(--rct-bullet-gauge-scale-ticks-stroke);
1007
1033
  }
1008
1034
  .rct-bullet-gauge-scale-tick-labels {
1009
1035
  font-size: 0.9em;
1010
- fill: #333;
1036
+ fill: var(--rct-bullet-gauge-scale-tick-labels-stroke);
1011
1037
  }
1012
1038
 
1013
1039
  /** bullet gauge group */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "realchart",
3
- "version": "0.9.29",
3
+ "version": "0.9.30",
4
4
  "description": "Wooritech charting library",
5
5
  "main": "./dist/index",
6
6
  "author": {