realchart 0.9.1
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/README.md +83 -0
- package/dist/index.d.ts +1443 -0
- package/dist/index.esm.js +7 -0
- package/dist/index.js +7 -0
- package/dist/realchart-style.css +395 -0
- package/license.txt +3 -0
- package/package.json +27 -0
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
.rct-root {
|
|
4
|
+
font-family: var(--rct-font-family);
|
|
5
|
+
font-size: var(--rct-font-size);
|
|
6
|
+
color: #000;
|
|
7
|
+
/* background-color: white; */
|
|
8
|
+
/* word-break: break-all;
|
|
9
|
+
word-wrap: break-word; */
|
|
10
|
+
-webkit-touch-callout: default;
|
|
11
|
+
user-select: none;
|
|
12
|
+
-webkit-user-select: none;
|
|
13
|
+
-moz-user-select: none;
|
|
14
|
+
-ms-user-select: none;
|
|
15
|
+
touch-action: auto;
|
|
16
|
+
-ms-touch-action: auto;
|
|
17
|
+
text-align: initial;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.rct-root {
|
|
21
|
+
--rct-font-family: AppleSDGothicNeo-Light, 'HelveticaNeue', 'Malgun Gothic', '맑은 고딕', sans-serif;
|
|
22
|
+
--rct-font-size: 16px;
|
|
23
|
+
--rct-focus-border: black;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.rct-root text {
|
|
27
|
+
stroke: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** debug border */
|
|
31
|
+
.rct-debug {
|
|
32
|
+
fill: none;
|
|
33
|
+
stroke: #ff000040;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** rich text */
|
|
38
|
+
.rct-text-bold {
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
}
|
|
41
|
+
.rct-text-italic {
|
|
42
|
+
font-style: italic;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** label */
|
|
46
|
+
.rct-label-dark {
|
|
47
|
+
fill: black;
|
|
48
|
+
}
|
|
49
|
+
.rct-label-bright {
|
|
50
|
+
fill: white;
|
|
51
|
+
}
|
|
52
|
+
.rct-label-background {
|
|
53
|
+
fill: lightgray;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** background */
|
|
57
|
+
.rct-background {
|
|
58
|
+
fill: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** title */
|
|
62
|
+
.rct-title {
|
|
63
|
+
font-size: 24px;
|
|
64
|
+
margin-bottom: 4px;
|
|
65
|
+
}
|
|
66
|
+
.rct-title-background {
|
|
67
|
+
fill: transparent;
|
|
68
|
+
}
|
|
69
|
+
.rct-subtitle {
|
|
70
|
+
font-size: 16px;
|
|
71
|
+
margin-bottom: 4px;
|
|
72
|
+
}
|
|
73
|
+
.rct-subtitle-background {
|
|
74
|
+
fill: transparent;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** legend */
|
|
78
|
+
.rct-legend {
|
|
79
|
+
stroke: #ddd;
|
|
80
|
+
fill: transparent;
|
|
81
|
+
margin: 8px;
|
|
82
|
+
}
|
|
83
|
+
.rct-legend-background {
|
|
84
|
+
padding: 4px;
|
|
85
|
+
}
|
|
86
|
+
.rct-legend-item {
|
|
87
|
+
fill: #333;
|
|
88
|
+
}
|
|
89
|
+
.rct-legend-item-label[data-hidden] {
|
|
90
|
+
fill: #aaa;
|
|
91
|
+
}
|
|
92
|
+
.rct-legend-item-marker {
|
|
93
|
+
stroke: none;
|
|
94
|
+
}
|
|
95
|
+
.rct-legend-item-marker[data-hidden] {
|
|
96
|
+
fill: #aaa !important;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/** plot area */
|
|
100
|
+
.rct-plot-background {
|
|
101
|
+
stroke: #ddd;
|
|
102
|
+
fill: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** axis */
|
|
106
|
+
.rct-axis-title {
|
|
107
|
+
font-size: 16px;
|
|
108
|
+
}
|
|
109
|
+
.rct-axis-title-background {
|
|
110
|
+
fill: none;
|
|
111
|
+
}
|
|
112
|
+
.rct-axis-line {
|
|
113
|
+
stroke: #ddd;
|
|
114
|
+
stroke-width: 1px;
|
|
115
|
+
}
|
|
116
|
+
.rct-axis-tick-marks {
|
|
117
|
+
stroke: #333;
|
|
118
|
+
stroke-width: 1px;
|
|
119
|
+
}
|
|
120
|
+
.rct-axis-tick-labels {
|
|
121
|
+
font-size: 14px;
|
|
122
|
+
fill: #111;
|
|
123
|
+
}
|
|
124
|
+
.rct-axis-grid {
|
|
125
|
+
stroke: #ddd;
|
|
126
|
+
stroke-width: 1px;
|
|
127
|
+
}
|
|
128
|
+
.rct-axis-break {
|
|
129
|
+
stroke: none;
|
|
130
|
+
fill: white;
|
|
131
|
+
}
|
|
132
|
+
.rct-axis-guide-label {
|
|
133
|
+
fill: blue;
|
|
134
|
+
}
|
|
135
|
+
.rct-axis-guide-line {
|
|
136
|
+
stroke: blue;
|
|
137
|
+
stroke-width: 2px;
|
|
138
|
+
stroke-dasharray: 4;
|
|
139
|
+
}
|
|
140
|
+
.rct-axis-guide-range {
|
|
141
|
+
stroke: none;
|
|
142
|
+
fill: #0088ff40;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** polar axis */
|
|
146
|
+
.rct-polar-xaxis-line {
|
|
147
|
+
stroke: #333;
|
|
148
|
+
}
|
|
149
|
+
.rct-polar-xaxis-grid-line {
|
|
150
|
+
stroke: #ccc;
|
|
151
|
+
}
|
|
152
|
+
.rct-polar-yaxis-line {
|
|
153
|
+
stroke: red;
|
|
154
|
+
}
|
|
155
|
+
.rct-polar-yaxis-grid-line {
|
|
156
|
+
stroke: #0000ff20;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** series */
|
|
160
|
+
.rct-series-labels {
|
|
161
|
+
font-size: 0.8em;
|
|
162
|
+
font-weight: bold;
|
|
163
|
+
fill: #558;
|
|
164
|
+
}
|
|
165
|
+
.rct-series-trendline {
|
|
166
|
+
stroke: red;
|
|
167
|
+
stroke-width: 2px;
|
|
168
|
+
fill: none;
|
|
169
|
+
}
|
|
170
|
+
.rct-point-label {
|
|
171
|
+
stroke: #333;
|
|
172
|
+
}
|
|
173
|
+
.rct-point-label-lines {
|
|
174
|
+
stroke: black;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** bar series */
|
|
178
|
+
.rct-box-point {
|
|
179
|
+
fill: #00aaff;
|
|
180
|
+
fill-opacity: 0.85;
|
|
181
|
+
}
|
|
182
|
+
.rct-box-point[data-focus] {
|
|
183
|
+
stroke: var(--rct-focus-border);
|
|
184
|
+
stroke-width: 2px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/** line series */
|
|
188
|
+
.rct-line-series-line {
|
|
189
|
+
stroke: gray;
|
|
190
|
+
}
|
|
191
|
+
.rct-line-point-marker[data-focus] {
|
|
192
|
+
/* scale: 2; */
|
|
193
|
+
stroke: var(--rct-focus-border) !important;
|
|
194
|
+
stroke-width: 2px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/** area series */
|
|
198
|
+
.rct-area-series-area {
|
|
199
|
+
fill: #0088ff;
|
|
200
|
+
fill-opacity: 0.5;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/** bubble series */
|
|
204
|
+
.rct-bubble-point-marker {
|
|
205
|
+
fill: #0088ff;
|
|
206
|
+
fill-opacity: 0.75;
|
|
207
|
+
stroke: #0088ff;
|
|
208
|
+
}
|
|
209
|
+
.rct-bubble-point-marker[data-focus] {
|
|
210
|
+
stroke: var(--rct-focus-border);
|
|
211
|
+
stroke-width: 2px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/** scatter series */
|
|
215
|
+
.rct-scatter-point-marker {
|
|
216
|
+
fill-opacity: 0.7;
|
|
217
|
+
}
|
|
218
|
+
.rct-scatter-point-marker[data-focus] {
|
|
219
|
+
stroke: var(--rct-focus-border);
|
|
220
|
+
stroke-width: 2px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/** boxplot series */
|
|
224
|
+
.rct-boxplot-series {
|
|
225
|
+
stroke-width: 1;
|
|
226
|
+
fill: white;
|
|
227
|
+
}
|
|
228
|
+
.rct-boxplot-point-box {
|
|
229
|
+
fill: #0088ff80;
|
|
230
|
+
}
|
|
231
|
+
.rct-boxplot-point[data-focus] .rct-boxplot-point-box {
|
|
232
|
+
stroke: var(--rct-focus-border);
|
|
233
|
+
stroke-width: 2px;
|
|
234
|
+
}
|
|
235
|
+
.rct-boxplot-point-min {
|
|
236
|
+
stroke: #333;
|
|
237
|
+
stroke-width: 2;
|
|
238
|
+
}
|
|
239
|
+
.rct-boxplot-point-mid {
|
|
240
|
+
stroke: #333;
|
|
241
|
+
stroke-width: 2;
|
|
242
|
+
}
|
|
243
|
+
.rct-boxplot-point-max {
|
|
244
|
+
stroke: #333;
|
|
245
|
+
stroke-width: 2;
|
|
246
|
+
}
|
|
247
|
+
.rct-boxplot-point-stem {
|
|
248
|
+
stroke: #333;
|
|
249
|
+
stroke-dasharray: 2;
|
|
250
|
+
}
|
|
251
|
+
.rct-boxplot-point[data-focus] .rct-boxplot-point-stem {
|
|
252
|
+
stroke: black;
|
|
253
|
+
stroke-dasharray: none;
|
|
254
|
+
stroke-width: 2px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/** candlestick series */
|
|
258
|
+
.rct-candlestick-series {
|
|
259
|
+
stroke-width: 1;
|
|
260
|
+
}
|
|
261
|
+
.rct-candlestick-point-border {
|
|
262
|
+
stroke: #333;
|
|
263
|
+
}
|
|
264
|
+
.rct-candlestick-point-wick {
|
|
265
|
+
stroke: #003;
|
|
266
|
+
}
|
|
267
|
+
.rct-candlestick-point[data-focus] {
|
|
268
|
+
fill-opacity: 0.5;
|
|
269
|
+
}
|
|
270
|
+
.rct-candlestick-point-fall {
|
|
271
|
+
fill: #008;
|
|
272
|
+
}
|
|
273
|
+
.rct-candlestick-point[data-focus] .rct-candlestick-point-body-fall {
|
|
274
|
+
fill-opacity: 0.5;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/** ohlc series */
|
|
278
|
+
.rct-ohlc-point {
|
|
279
|
+
stroke-width: 1;
|
|
280
|
+
}
|
|
281
|
+
.rct-ohlc-point-tick {
|
|
282
|
+
stroke: #003;
|
|
283
|
+
}
|
|
284
|
+
.rct-ohlc-point-bar {
|
|
285
|
+
stroke: #800;
|
|
286
|
+
}
|
|
287
|
+
.rct-ohlc-point-bar-fall {
|
|
288
|
+
stroke: #008;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/** waterfall series */
|
|
292
|
+
.rct-waterfall-point-negative {
|
|
293
|
+
fill: #dd5500;
|
|
294
|
+
}
|
|
295
|
+
.rct-waterfall-point-sum {
|
|
296
|
+
fill: #0055cc;
|
|
297
|
+
}
|
|
298
|
+
.rct-waterfall-series-lines {
|
|
299
|
+
stroke: #77f;
|
|
300
|
+
stroke-width: 2;
|
|
301
|
+
stroke-dasharray: 2;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/** errobar series */
|
|
305
|
+
.rct-errorbar-point {
|
|
306
|
+
stroke: #008;
|
|
307
|
+
stroke-width: 2px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/** lollipop series */
|
|
311
|
+
.rct-lollipop-point {
|
|
312
|
+
stroke: #008;
|
|
313
|
+
stroke-width: 3px;
|
|
314
|
+
}
|
|
315
|
+
.rct-lollipop-point-marker {
|
|
316
|
+
stroke: none;
|
|
317
|
+
fill: #008;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/** dumbbell series */
|
|
321
|
+
.rct-dumbbell-point {
|
|
322
|
+
stroke: #008;
|
|
323
|
+
stroke-width: 2px;
|
|
324
|
+
}
|
|
325
|
+
.rct-dumbbell-point-marker {
|
|
326
|
+
stroke: none;
|
|
327
|
+
fill: #008;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/** funnel series */
|
|
331
|
+
.rct-funnel-point[data-focus] {
|
|
332
|
+
stroke: red;
|
|
333
|
+
stroke-width: 2px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/** vector series */
|
|
337
|
+
.rct-vector-series {
|
|
338
|
+
stroke-width: 2px;
|
|
339
|
+
/* stroke-linejoin: round; */
|
|
340
|
+
}
|
|
341
|
+
.rct-vector-point[data-focus] {
|
|
342
|
+
stroke-width: 3px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/** heatmpa series */
|
|
346
|
+
.rct-heatmap-point[data-focus] {
|
|
347
|
+
stroke: var(--rct-focus-border);
|
|
348
|
+
stroke-width: 2px;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/** treemap series */
|
|
352
|
+
.rct-treemap-point {
|
|
353
|
+
stroke: white;
|
|
354
|
+
}
|
|
355
|
+
.rct-treemap-point[data-focus] {
|
|
356
|
+
stroke: var(--rct-focus-border);
|
|
357
|
+
stroke-width: 2px;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** pie series */
|
|
361
|
+
.rct-pie-series .rct-series-points {
|
|
362
|
+
stroke: white;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/** tooltip */
|
|
366
|
+
.rct-tooltip {
|
|
367
|
+
opacity: 0.9;
|
|
368
|
+
}
|
|
369
|
+
.rct-tooltip-back {
|
|
370
|
+
fill: white;
|
|
371
|
+
stroke: #ccc;
|
|
372
|
+
}
|
|
373
|
+
.rct-tooltip-text {
|
|
374
|
+
fill: #333;
|
|
375
|
+
stroke: none;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/** crosshair */
|
|
379
|
+
.rct-crosshair-line {
|
|
380
|
+
fill: none;
|
|
381
|
+
stroke-width: 1;
|
|
382
|
+
stroke: #80808080;
|
|
383
|
+
}
|
|
384
|
+
.rct-crosshair-bar {
|
|
385
|
+
stroke: none;
|
|
386
|
+
fill: #88888840;
|
|
387
|
+
}
|
|
388
|
+
.rct-crosshair-label {
|
|
389
|
+
stroke: none;
|
|
390
|
+
fill: #fff;
|
|
391
|
+
}
|
|
392
|
+
.rct-crosshair-label-back {
|
|
393
|
+
stroke: #555;
|
|
394
|
+
fill: #777;
|
|
395
|
+
}
|
package/license.txt
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "realchart",
|
|
3
|
+
"version": "0.9.1",
|
|
4
|
+
"description": "Wooritech charting library",
|
|
5
|
+
"main": "./dist/index",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "WooriTech",
|
|
8
|
+
"url": "http://touch.realgrid.com",
|
|
9
|
+
"email": "support@realgrid.com"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"realgrid",
|
|
13
|
+
"realchart",
|
|
14
|
+
"realtouch",
|
|
15
|
+
"chart",
|
|
16
|
+
"graphs",
|
|
17
|
+
"visualization",
|
|
18
|
+
"dataviz",
|
|
19
|
+
"data",
|
|
20
|
+
"charts",
|
|
21
|
+
"realreport"
|
|
22
|
+
],
|
|
23
|
+
"files": [
|
|
24
|
+
"dist/**/*"
|
|
25
|
+
],
|
|
26
|
+
"license": "license.txt"
|
|
27
|
+
}
|