realchart 1.4.2 → 1.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "realchart",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Wooritech charting library",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",
@@ -147,15 +147,28 @@
147
147
  --rct-title-fill: #333;
148
148
  --rct-subtitle-fill: #333;
149
149
 
150
+ --rct-text-annotation-fill: #333;
151
+
150
152
  --rct-body-background-stroke: none;
151
153
 
154
+ --rct-empty-view-stroke: #eee;
155
+ --rct-empty-view-fill: #fcfcff;
156
+ --rct-empty-view-label-fill: #777;
157
+
158
+ --rct-body-depth-org-line-stroke: #cdcdcd;
159
+ --rct-body-depth-side: #fafafa;
160
+ --rct-body-depth-side-line-stroke: #cdcdcd;
161
+ --rct-body-depth-grid-line-stroke: #e0e0e0;
162
+
152
163
  --rct-axis-title-fill: #333;
153
164
  --rct-axis-line-stroke: #aaa;
154
165
  --rct-axis-baseline-stroke: #333;
155
166
  --rct-axis-tick-stroke: #555;
156
167
  --rct-axis-label-fill: #333;
157
168
  --rct-axis-unit-label-fill: #333;
158
- --rct-axis-grid-line-stroke: #eaeaea;
169
+ --rct-axis-break-stroke: #aaa;
170
+ --rct-axis-break-fill: #fff;
171
+ --rct-axis-grid-line-stroke: #e8e8e8;
159
172
  --rct-axis-grid-line-stroke-start: none;
160
173
  --rct-axis-grid-line-stroke-end: none;
161
174
  --rct-axis-grid-line-stroke-width: 1px;
@@ -163,6 +176,10 @@
163
176
  --rct-axis-scrollbar-track-stroke: #aaa;
164
177
  --rct-axis-scrollbar-thumb-fill: #d3d3d3;
165
178
  --rct-axis-scrollbar-rx: 4px;
179
+
180
+ --rct-crosshair-line-stroke: #80808080;
181
+ --rct-crosshair-flag-text-fill: #fff;
182
+ --rct-crosshair-flag-fill: #555;
166
183
 
167
184
  --rct-legend-background: none;
168
185
  --rct-legend-background-stroke: none;
@@ -182,6 +199,7 @@
182
199
  --rct-credits-fill: #777;
183
200
 
184
201
  /* polar */
202
+ --rct-polar-xaxis-line-stroke: #333;
185
203
  --rct-polar-xaxis-grid-line-stroke: #cacaca;
186
204
  --rct-polar-yaxis-grid-line-stroke: #cacaca;
187
205
  --rct-polar-axis-labels-fill: #555;
@@ -218,9 +236,17 @@
218
236
  --rct-zoom-tracker-fill: #0044ff30;
219
237
  /** series navigator */
220
238
  --rct-navigator-handle-color: #0098ff;
221
- --rct-navigator-handle-hover-color: #55c;
239
+ --rct-navigator-handle-hover-color: #005893;
222
240
  --rct-navigator-track-fill: #d3d3d3;
223
241
  --rct-navigator-thumb-fill:#0098ff;
242
+ --rct-navigator-back-fill: #fff;
243
+ --rct-navigator-back-stroke: #f0f0f0;
244
+ --rct-navigator-mask-fill: #4488cc20;
245
+
246
+ --rct-button-background-fill: #e0e0e0;
247
+ --rct-button-background-stroke: #e0e0e0;
248
+ --rct-button-fill: #333;
249
+
224
250
  }
225
251
  .rct-root[data-theme='dark'] {
226
252
  --rct-focus-stroke: #ccc;
@@ -229,14 +255,29 @@
229
255
  --rct-title-fill: #fff;
230
256
  --rct-subtitle-fill: #fff;
231
257
 
258
+ --rct-text-annotation-fill: #939393;
259
+
232
260
  --rct-body-background-stroke: none;
261
+
262
+ --rct-empty-view-stroke: #898989;
263
+ --rct-empty-view-fill: #414141;
264
+ --rct-empty-view-label-fill: #939393;
265
+
266
+ --rct-body-depth-side: #4D4D4D;
233
267
 
234
268
  --rct-axis-title-fill: #fff;
235
269
  --rct-axis-line-stroke: #fff;
236
270
  --rct-axis-baseline-stroke: #fff;
237
271
  --rct-axis-tick-stroke: #fff;
238
272
  --rct-axis-label-fill: #fff;
239
- --rct-axis-grid-line-stroke: #fff;
273
+ --rct-axis-break-stroke: #fff;
274
+ --rct-axis-break-fill: #262626;
275
+ --rct-axis-grid-line-stroke: #939393;
276
+ --rct-axis-scrollbar-thumb-fill: #7D7D7D;
277
+
278
+ --rct-crosshair-line-stroke: #fff;
279
+ --rct-crosshair-flag-text-fill: #555;
280
+ --rct-crosshair-flag-fill: #fff;
240
281
 
241
282
  --rct-legend-background: none;
242
283
  --rct-legend-background-stroke: none;
@@ -245,11 +286,13 @@
245
286
  --rct-legend-item-disabled-decoration: line-through;
246
287
 
247
288
  --rct-point-label-fill: #ddd;
289
+ --rct-point-label-line-stroke: #939393;
248
290
 
249
291
  --rct-credits-fill: #999;
250
292
 
251
293
  /* polar */
252
- --rct-polar-xaxis-grid-line-stroke: #ccc;
294
+ --rct-polar-xaxis-line-stroke: #fff;
295
+ --rct-polar-xaxis-grid-line-stroke: #fff;
253
296
  --rct-polar-yaxis-grid-line-stroke: #fff;
254
297
  --rct-polar-axis-labels-fill: #fff;
255
298
 
@@ -264,6 +307,19 @@
264
307
 
265
308
  /** zoom tracker */
266
309
  --rct-zoom-tracker-fill: #efefef40;
310
+
311
+ /** series navigator */
312
+ --rct-navigator-handle-color: #0098ff;
313
+ --rct-navigator-handle-hover-color: #005893;
314
+ --rct-navigator-track-fill: #d3d3d3;
315
+ --rct-navigator-thumb-fill:#0098ff;
316
+ --rct-navigator-back-fill: #1C1C1C;
317
+ --rct-navigator-back-stroke: #8E8E8E;
318
+ --rct-navigator-mask-fill: #81818130;
319
+
320
+ --rct-button-background-fill: #262626;
321
+ --rct-button-background-stroke: #fff;
322
+ --rct-button-fill: #fff;
267
323
  }
268
324
  .rct-root[data-theme='real'] {
269
325
  --rct-focus-stroke: yellow;
@@ -286,7 +342,7 @@
286
342
  --rct-legend-item-disabled: #4e7b82;
287
343
  --rct-legend-item-disabled-decoration: line-through;
288
344
 
289
- --rct-point-label-fill: #ddd;
345
+ --rct-point-label-fill: #fff;
290
346
 
291
347
  --rct-credits-fill: #999;
292
348
 
@@ -346,11 +402,11 @@
346
402
  .rct-button-background {
347
403
  padding: 2px 4px;
348
404
  rx: 5px;
349
- fill: #e0e0e0;
350
- stroke: #c0c0c0;
405
+ fill: var(--rct-button-background-fill);
406
+ stroke: var(--rct-button-background-stroke);
351
407
  }
352
408
  .rct-button {
353
- fill: #333;
409
+ fill: var(--rct-button-fill);
354
410
  font-size: 0.9em;
355
411
  }
356
412
 
@@ -430,12 +486,24 @@
430
486
  .rct-body-background[data-polar] {
431
487
  stroke: none;
432
488
  }
489
+ .rct-body-depth-org-line {
490
+ stroke: var(--rct-body-depth-org-line-stroke);
491
+ }
492
+ .rct-body-depth-side {
493
+ fill: var(--rct-body-depth-side);
494
+ }
495
+ .rct-body-depth-grid-line {
496
+ stroke: var(--rct-body-depth-grid-line-stroke);
497
+ }
498
+ .rct-body-depth-side-line {
499
+ stroke: var(--rct-body-depth-side-line-stroke);
500
+ }
433
501
  .rct-empty-view {
434
- fill: #fcfcff;
435
- stroke: #eee;
502
+ stroke: var(--rct-empty-view-stroke);
503
+ fill: var(--rct-empty-view-fill);
436
504
  }
437
505
  .rct-empty-view-label {
438
- fill: #777;
506
+ fill: var(--rct-empty-view-label-fill);
439
507
  font-size: 1.4em;
440
508
  }
441
509
 
@@ -479,8 +547,8 @@
479
547
  shape-rendering: crispEdges;
480
548
  }
481
549
  .rct-axis-break {
482
- stroke: #aaa;
483
- fill: #fff;
550
+ stroke: var(--rct-axis-break-stroke);
551
+ fill: var(--rct-axis-break-fill);
484
552
  fill-opacity: 0.9;
485
553
  }
486
554
  .rct-axis-guide-label {
@@ -509,7 +577,7 @@
509
577
 
510
578
  /** polar axis */
511
579
  .rct-polar-xaxis-line {
512
- stroke: #333;
580
+ stroke: var(--rct-polar-xaxis-line-stroke);
513
581
  }
514
582
  .rct-polar-xaxis-sector-line {
515
583
  stroke: #555;
@@ -580,13 +648,6 @@
580
648
  stroke: var(--color-12);
581
649
  }
582
650
 
583
- .rct-series-trendline {
584
- stroke: #ff0000;
585
- stroke-width: 2px;
586
- stroke-linejoin: round;
587
- fill: none;
588
- }
589
-
590
651
  /** data point */
591
652
  .rct-series[data-pointcolors="a"] .rct-point[data-index="0"] {
592
653
  fill: var(--color-1);
@@ -689,9 +750,18 @@
689
750
  .rct-series .rct-point[data-focus], .rct-point[data-unfocus] {
690
751
  stroke: var(--rct-focus-stroke) !important;
691
752
  stroke-width: var(--rct-focus-stroke-width) !important;
753
+ stroke-linecap: round;
754
+ stroke-linejoin: round;
692
755
  filter: brightness(115%) !important;
693
756
  opacity: 1 !important;
694
757
  }
758
+ .rct-series-trendline {
759
+ stroke: #ff0000;
760
+ stroke-width: 2px;
761
+ stroke-linejoin: round;
762
+ fill: none;
763
+ }
764
+
695
765
  /** data point hover */
696
766
  .rct-point-unhover {
697
767
  opacity: 0.3;
@@ -954,10 +1024,24 @@
954
1024
  .rct-pie-series .rct-point {
955
1025
  stroke: #fff;
956
1026
  }
1027
+ .rct-pie-series[data-deep] .rct-point {
1028
+ stroke: none;
1029
+ }
957
1030
  .rct-pie-series-inner {
958
1031
  font-size: 20px;
959
1032
  fill: #557;
960
1033
  }
1034
+ .rct-pie-series-sides {
1035
+ stroke: none;
1036
+ }
1037
+ .rct-pie-series-side[data-focus] {
1038
+ stroke: var(--rct-focus-stroke) !important;
1039
+ stroke-width: var(--rct-focus-stroke-width) !important;
1040
+ stroke-linejoin: round;
1041
+ stroke-linecap: round;
1042
+ filter: brightness(115%) !important;
1043
+ opacity: 1 !important;
1044
+ }
961
1045
 
962
1046
  /** funnel series */
963
1047
  .rct-funnel-series .rct-point {
@@ -1148,14 +1232,14 @@
1148
1232
  }
1149
1233
  .rct-text-annotation {
1150
1234
  font-size: 20px;
1151
- fill: #333;
1235
+ fill: var(--rct-text-annotation-fill);
1152
1236
  }
1153
1237
 
1154
1238
  /** crosshair */
1155
1239
  .rct-crosshair-line {
1156
1240
  fill: none;
1157
1241
  stroke-width: 1;
1158
- stroke: #80808080;
1242
+ stroke: var(--rct-crosshair-line-stroke);
1159
1243
  shape-rendering: crispEdges;
1160
1244
  }
1161
1245
  .rct-crosshair-bar {
@@ -1164,11 +1248,11 @@
1164
1248
  }
1165
1249
  .rct-crosshair-flag {
1166
1250
  stroke: none;
1167
- fill: #555;
1251
+ fill: var(--rct-crosshair-flag-fill);
1168
1252
  }
1169
1253
  .rct-crosshair-flag-text {
1170
1254
  stroke: none;
1171
- fill: #fff;
1255
+ fill: var(--rct-crosshair-flag-text-fill);
1172
1256
  }
1173
1257
 
1174
1258
  /** zoom tracker */
@@ -1181,12 +1265,12 @@
1181
1265
  display: none;
1182
1266
  }
1183
1267
  .rct-navigator-back {
1184
- fill: #fff;
1185
- stroke: #f0f0f0;
1268
+ fill: var(--rct-navigator-back-fill);
1269
+ stroke: var(--rct-navigator-back-stroke);
1186
1270
  shape-rendering: crispEdges;
1187
1271
  }
1188
1272
  .rct-navigator-mask {
1189
- fill: #4488cc20;
1273
+ fill: var(--rct-navigator-mask-fill);
1190
1274
  /* stroke: #ccc; */
1191
1275
  }
1192
1276
  .rct-navigator-handle {
package/split.d.ts CHANGED
@@ -51,7 +51,7 @@ declare class Pane extends ChartItem<PaneOptions> {
51
51
  private _body;
52
52
  private _legend;
53
53
  constructor(chart: IChart, row: number, col: number);
54
- protected _doInitChildren(op: PaneOptions): void;
54
+ protected _doInit(op: PaneOptions): void;
55
55
  /**
56
56
  * Body 모델.
57
57
  */