realmap 1.1.0 → 1.1.2
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/band.d.ts +2 -2
- package/band.js +1 -1
- package/band.mjs +1 -1
- package/chart.d.ts +2 -2
- package/chart.js +1 -1
- package/chart.mjs +1 -1
- package/editing.js +2 -2
- package/editing.mjs +2 -2
- package/export.d.ts +1 -1
- package/export.js +1 -1
- package/export.mjs +1 -1
- package/feature.d.ts +7 -12
- package/feature.js +2 -2
- package/feature.mjs +2 -2
- package/gl.js +2 -2
- package/gl.mjs +2 -2
- package/heatmap.d.ts +43 -6
- package/heatmap.js +2 -2
- package/heatmap.mjs +2 -2
- package/index.d.ts +975 -591
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
- package/realmap-style.css +56 -21
- package/region.d.ts +2 -2
- package/region.js +1 -1
- package/region.mjs +1 -1
- package/sankey.d.ts +2 -2
- package/sankey.js +1 -1
- package/sankey.mjs +1 -1
- package/table.d.ts +2 -2
- package/table.js +1 -1
- package/table.mjs +1 -1
- package/tiledweb.d.ts +2 -2
- package/tiledweb.js +1 -1
- package/tiledweb.mjs +1 -1
- package/track.d.ts +2 -2
- package/track.js +1 -1
- package/track.mjs +1 -1
- package/vector.d.ts +2 -2
- package/vector.js +1 -1
- package/vector.mjs +1 -1
package/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ declare const ORG_ANGLE: number;
|
|
|
4
4
|
declare const DEG_RAD: number;
|
|
5
5
|
declare const RAD_DEG: number;
|
|
6
6
|
type Path = string | any[];
|
|
7
|
+
declare const floor: (x: number) => number;
|
|
8
|
+
declare const ceil: (x: number) => number;
|
|
7
9
|
declare function fixnum(value: number): number;
|
|
8
10
|
declare function pixel(v: number): string;
|
|
9
11
|
/**
|
|
@@ -18,62 +20,62 @@ declare function parsePercentSize(sv: PercentSize, enableNull: boolean): IPercen
|
|
|
18
20
|
declare function calcPercent(size: IPercentSize, domain: number, def?: number): number;
|
|
19
21
|
/**
|
|
20
22
|
* SVG 스타일 속성.<br/>
|
|
21
|
-
* {@
|
|
23
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute SVG 속성}을 참조한다.<br/>
|
|
22
24
|
*/
|
|
23
25
|
interface SVGStyles {
|
|
24
26
|
transform?: string;
|
|
25
27
|
transformBox?: string;
|
|
26
28
|
transformOrigin?: string;
|
|
27
29
|
/**
|
|
28
|
-
* SVG에 적용되는 css {@
|
|
30
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill fill} 스타일 속성.<br/>
|
|
29
31
|
*/
|
|
30
32
|
fill?: string;
|
|
31
33
|
/**
|
|
32
|
-
* SVG에 적용되는 css {@
|
|
34
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/filter filter} 스타일 속성.<br/>
|
|
33
35
|
*/
|
|
34
36
|
filter?: string;
|
|
35
37
|
/**
|
|
36
|
-
* SVG에 적용되는 css {@
|
|
38
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-opacity fill-opacity} 스타일 속성.<br/>
|
|
37
39
|
*/
|
|
38
40
|
fillOpacity?: string;
|
|
39
41
|
/**
|
|
40
|
-
* SVG에 적용되는 css {@
|
|
42
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke stroke} 스타일 속성.<br/>
|
|
41
43
|
*/
|
|
42
44
|
stroke?: string;
|
|
43
45
|
/**
|
|
44
|
-
* SVG에 적용되는 css {@
|
|
46
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-width stroke-width} 스타일 속성.<br/>
|
|
45
47
|
*/
|
|
46
48
|
strokeWidth?: string;
|
|
47
49
|
/**
|
|
48
|
-
* SVG에 적용되는 css {@
|
|
50
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray stroke-dasharray} 스타일 속성.<br/>
|
|
49
51
|
*/
|
|
50
52
|
strokeDasharray?: string;
|
|
51
53
|
/**
|
|
52
|
-
* SVG에 적용되는 css {@
|
|
54
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-family font-family} 스타일 속성.<br/>
|
|
53
55
|
*/
|
|
54
56
|
fontFamily?: string;
|
|
55
57
|
/**
|
|
56
|
-
* SVG에 적용되는 css {@
|
|
58
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-size font-size} 스타일 속성.<br/>
|
|
57
59
|
*/
|
|
58
60
|
fontSize?: string;
|
|
59
61
|
/**
|
|
60
|
-
* SVG에 적용되는 css {@
|
|
62
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-weight font-weight} 스타일 속성.<br/>
|
|
61
63
|
*/
|
|
62
64
|
fontWeight?: string;
|
|
63
65
|
/**
|
|
64
|
-
* SVG에 적용되는 css {@
|
|
66
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-style font-style} 스타일 속성.<br/>
|
|
65
67
|
*/
|
|
66
68
|
fontStyle?: string;
|
|
67
69
|
/**
|
|
68
|
-
* SVG에 적용되는 css {@
|
|
69
|
-
* {@
|
|
70
|
+
* SVG에 적용되는 css {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/rx rx} 스타일 속성.<br/>
|
|
71
|
+
* {@link https://realmap.co.kr/config/config/seires/bar bar} 시리즈의 데이터포인트 bar의 모서리를 지정하는 데 사용된다.
|
|
70
72
|
*/
|
|
71
73
|
rx?: string;
|
|
72
74
|
/**
|
|
73
75
|
* 텍스트 정렬을 지정한다.<br/>
|
|
74
76
|
* **SVG에 적용되는 정식 css style 속성이 아니다.**
|
|
75
77
|
* 즉, HTML이나 realmap-style.css 등의 외부 css 파일에서 사용할 수 없고,
|
|
76
|
-
* RealMap 내부에서 {@
|
|
78
|
+
* RealMap 내부에서 {@link https://realmap.co.kr/config/config/title title} 등의 inline 스타일 속성으로 지정할 수 있다.
|
|
77
79
|
*
|
|
78
80
|
* ```js
|
|
79
81
|
* const config = {
|
|
@@ -92,7 +94,7 @@ interface SVGStyles {
|
|
|
92
94
|
*/
|
|
93
95
|
padding?: string;
|
|
94
96
|
}
|
|
95
|
-
/** @
|
|
97
|
+
/** {@link it.SVGStyles SVGStyles} 또는 class 이름 */
|
|
96
98
|
type SVGStyleOrClass = SVGStyles | string;
|
|
97
99
|
/**
|
|
98
100
|
* CSS 선언 블록을 나타내는 객체로, 스타일 정보뿐만 아니라 다양한 스타일 관련 메서드와 속성들을 제공한다. <br/>
|
|
@@ -100,7 +102,7 @@ type SVGStyleOrClass = SVGStyles | string;
|
|
|
100
102
|
*/
|
|
101
103
|
interface CSSStyles extends Partial<CSSStyleDeclaration> {
|
|
102
104
|
}
|
|
103
|
-
/** @
|
|
105
|
+
/** @private */
|
|
104
106
|
interface CSSStyles2 extends CSSStyles {
|
|
105
107
|
display?: string;
|
|
106
108
|
position?: string;
|
|
@@ -137,7 +139,7 @@ interface ISides {
|
|
|
137
139
|
* 스와이프 제스처 등의 진행 방향.
|
|
138
140
|
* <br>
|
|
139
141
|
*
|
|
140
|
-
* @see {@link RtListControl.onRowSwipe}
|
|
142
|
+
* @see {@link RtListControl.onRowSwipe onRowSwipe}
|
|
141
143
|
*/
|
|
142
144
|
declare enum RmDirection {
|
|
143
145
|
/**
|
|
@@ -182,11 +184,11 @@ type Align = typeof _Align[keyof typeof _Align];
|
|
|
182
184
|
* @enum
|
|
183
185
|
*/
|
|
184
186
|
declare const _VerticalAlign: {
|
|
185
|
-
/**
|
|
187
|
+
/** */
|
|
186
188
|
readonly TOP: "top";
|
|
187
|
-
/**
|
|
189
|
+
/** */
|
|
188
190
|
readonly MIDDLE: "middle";
|
|
189
|
-
/**
|
|
191
|
+
/** */
|
|
190
192
|
readonly BOTTOM: "bottom";
|
|
191
193
|
};
|
|
192
194
|
/** @dummy */
|
|
@@ -196,11 +198,11 @@ type VerticalAlign = typeof _VerticalAlign[keyof typeof _VerticalAlign];
|
|
|
196
198
|
*/
|
|
197
199
|
declare const _AlignBase: {
|
|
198
200
|
/**
|
|
199
|
-
*
|
|
201
|
+
*
|
|
200
202
|
*/
|
|
201
203
|
readonly CHART: "chart";
|
|
202
204
|
/**
|
|
203
|
-
*
|
|
205
|
+
*
|
|
204
206
|
*/
|
|
205
207
|
readonly MAP: "map";
|
|
206
208
|
/**
|
|
@@ -208,7 +210,7 @@ declare const _AlignBase: {
|
|
|
208
210
|
* 상위가 없으면 기본값(대부분 'body')과 동일.
|
|
209
211
|
* ex) subtitle인 경우 title 기준.
|
|
210
212
|
*
|
|
211
|
-
*
|
|
213
|
+
*
|
|
212
214
|
*/
|
|
213
215
|
readonly PARENT: "parent";
|
|
214
216
|
};
|
|
@@ -218,11 +220,11 @@ type AlignBase = typeof _AlignBase[keyof typeof _AlignBase];
|
|
|
218
220
|
* @enum
|
|
219
221
|
*/
|
|
220
222
|
declare const _WritingMode: {
|
|
221
|
-
/**
|
|
223
|
+
/** */
|
|
222
224
|
readonly HORIZONTAL_TB: "horizontal-tb";
|
|
223
|
-
/**
|
|
225
|
+
/** */
|
|
224
226
|
readonly VERTICAL_LR: "vertical-lr";
|
|
225
|
-
/**
|
|
227
|
+
/** */
|
|
226
228
|
readonly VERTICAL_RL: "vertical-rl";
|
|
227
229
|
};
|
|
228
230
|
/** @dummy */
|
|
@@ -231,9 +233,9 @@ type WritingMode = typeof _WritingMode[keyof typeof _WritingMode];
|
|
|
231
233
|
* @enum
|
|
232
234
|
*/
|
|
233
235
|
declare const _TextOrientation: {
|
|
234
|
-
/**
|
|
236
|
+
/** */
|
|
235
237
|
readonly MIXED: "mixed";
|
|
236
|
-
/**
|
|
238
|
+
/** */
|
|
237
239
|
readonly UPRIGHT: "upright";
|
|
238
240
|
};
|
|
239
241
|
/** @dummy */
|
|
@@ -299,6 +301,9 @@ interface ConfigObject {
|
|
|
299
301
|
}
|
|
300
302
|
|
|
301
303
|
type ShapeDrawer = (rd: number, rd2: number) => (string | number)[];
|
|
304
|
+
/**
|
|
305
|
+
* 맵 좌표. [경도, 위도]
|
|
306
|
+
*/
|
|
302
307
|
type MapCoord = [number, number];
|
|
303
308
|
type MapRect = {
|
|
304
309
|
h1: number;
|
|
@@ -309,6 +314,7 @@ type MapRect = {
|
|
|
309
314
|
type MapArc = MapCoord[];
|
|
310
315
|
type MapPolygon = MapArc[];
|
|
311
316
|
type MapProps = any;
|
|
317
|
+
declare function parseCoord(v: any): MapCoord;
|
|
312
318
|
|
|
313
319
|
/**
|
|
314
320
|
* RealReport-Chart 라이브러리 클래스 모델의 최상위 base 클래스.
|
|
@@ -339,7 +345,7 @@ declare abstract class RmObject {
|
|
|
339
345
|
isMe(hash: string): boolean;
|
|
340
346
|
toString(): string;
|
|
341
347
|
/**
|
|
342
|
-
* @
|
|
348
|
+
* @private
|
|
343
349
|
*
|
|
344
350
|
* template param으로부터 생성되는 값은 문자열일 수 있다.
|
|
345
351
|
*/
|
|
@@ -368,21 +374,21 @@ interface MapInsetDisplay {
|
|
|
368
374
|
readonly scale?: number;
|
|
369
375
|
/**
|
|
370
376
|
* inset area의 [왼쪽, 위쪽] 기준으로, 표시 위치 [경도, 위도]를 도(°) 단위로 지정한다.<br/>
|
|
371
|
-
* [주의] {@
|
|
377
|
+
* [주의] {@link MapInset.children children}으로 적용될 때는 이 값 대신 {@link offset}을 반드시 지정해야 한다.
|
|
372
378
|
*/
|
|
373
379
|
readonly coord?: MapCoord;
|
|
374
380
|
/**
|
|
375
381
|
* coord로 지정한 inset 위치에 더 추가되는 [경도, 위도] 값이거나
|
|
376
382
|
* coord가 지정되지 않은 경우 원래 위치에서 떨어진 위치 값.<br/>
|
|
377
383
|
* 라이브러리에서 제공하는 미리 정의된 inset 위치를 조정하는 값으로 사용할 수 있다.
|
|
378
|
-
* [주의] {@
|
|
384
|
+
* [주의] {@link MapInset.children children}으로 적용될 때는 {@link coord} 대신 반드시 이 값을 지정해야 한다.
|
|
379
385
|
*/
|
|
380
386
|
readonly offset?: MapCoord;
|
|
381
387
|
/**
|
|
382
388
|
* inset을 구분하는 경계선을 도(°)단위로 지정한다.<br/>
|
|
383
389
|
* 값들은 space나 ','로 분리해서 x, y 순서대로 위치를 지정하고,
|
|
384
390
|
* 닫힌 다각형으로 지정하고 싶은 경우 마지막에 'z'나 'Z'을 추가한다.
|
|
385
|
-
* 또, {@
|
|
391
|
+
* 또, {@link frame}이 지정되면 이 값은 무시된다.<br/>
|
|
386
392
|
* 값들은 각각 area 전체를 감싸는 가상의 사각형을 기준으로 작성하는데,
|
|
387
393
|
* 아래 값들을 상수로 사용할 수 있고, +,- 연산자로 offset을 지정할 수 있다.
|
|
388
394
|
* x값은 사각형 왼쪽(경도 시작접), y값은 사각형 아래쪽(위도 시작점)이 원점이 된다.
|
|
@@ -394,7 +400,7 @@ interface MapInsetDisplay {
|
|
|
394
400
|
readonly border?: MapCoord[] | string;
|
|
395
401
|
/**
|
|
396
402
|
* inset을 감싸서 구분하는 사각형을 도(°)단위로 지정한다.<br/>
|
|
397
|
-
* 이 값이 지정되면 {@
|
|
403
|
+
* 이 값이 지정되면 {@link border}는 무시된다.<br/>
|
|
398
404
|
* css padding이나 margin 지정 방식과 동일하게 지정한댜.
|
|
399
405
|
* 지정된 값은 area의 전체를 포함하는 가상의 사각형과 frame 사이의 간격으로 표시된다.<br/>
|
|
400
406
|
* ex) '0.05' // 좌위상하 0.05°
|
|
@@ -424,31 +430,31 @@ interface MapInset extends MapInsetDisplay {
|
|
|
424
430
|
/**
|
|
425
431
|
* inset시킬 area id.<br/>
|
|
426
432
|
* 이 area가 존재하지 않고,
|
|
427
|
-
* {@
|
|
433
|
+
* {@link parent}가 지정되지 않으면
|
|
428
434
|
* 자식들을 모두 함께 이동시킨다.
|
|
429
435
|
*/
|
|
430
436
|
readonly area: string;
|
|
431
437
|
readonly name?: string;
|
|
432
438
|
/**
|
|
433
439
|
* 이 area가 존재하지 않고,
|
|
434
|
-
* {@
|
|
440
|
+
* {@link MapInset.parent parent}가 지정되지 않으면
|
|
435
441
|
* 이 속성에 지정된 자식들을 모두 함께 이동시킨다.<br/>
|
|
436
|
-
* [주의] {@
|
|
442
|
+
* [주의] {@link frame}이나 {@link border}의 기준이 되는 child area의 id를 첫번째 항목으로 설정해야 한다.
|
|
437
443
|
* [주의] parent 하나에 한 번만 지정할 수 있다.
|
|
438
444
|
*/
|
|
439
445
|
readonly children?: string[];
|
|
440
446
|
/**
|
|
441
|
-
* {@
|
|
442
|
-
* 이 속성에 해당하는 area를 찾아서 {@
|
|
447
|
+
* {@link area}가 존재하지 않을 때,
|
|
448
|
+
* 이 속성에 해당하는 area를 찾아서 {@link polygons}에 해당하는 영역들을 이동시킨다.<br/>
|
|
443
449
|
* 콤마로 분리해서 둘 이상의 area를 지정할 수 있는데, 순서대로 해당되는 영역이 존재하면 사용한다.
|
|
444
450
|
* [주의] parent 하나에 한 번만 지정할 수 있다.
|
|
445
451
|
*/
|
|
446
452
|
readonly parent?: string;
|
|
447
453
|
/**
|
|
448
|
-
* {@
|
|
454
|
+
* {@link area}가 존재하지 않고, {@link parent}가 지정됐을 때,
|
|
449
455
|
* 이 속성에 지정하는 영역들을 동시에 이동시킨다.<br/>
|
|
450
|
-
* [주의] {@
|
|
451
|
-
* [주의] {@
|
|
456
|
+
* [주의] {@link frame}이나 {@link border}의 기준이 되는 polygon의 index를 첫번째 항목으로 설정해야 한다.
|
|
457
|
+
* [주의] {@link parent}가 복수개로 지정되면 이 속성도 [[], [],..] 형태로 복수 개 지정해야 한다.
|
|
452
458
|
* [주의] parent 하나에 한 번만 지정할 수 있다.
|
|
453
459
|
*/
|
|
454
460
|
readonly polygons?: number[] | number[][] | number;
|
|
@@ -497,7 +503,7 @@ interface MapSource {
|
|
|
497
503
|
*/
|
|
498
504
|
enabled?: boolean;
|
|
499
505
|
/**
|
|
500
|
-
* @deprecated use {@
|
|
506
|
+
* @deprecated use {@link source}
|
|
501
507
|
**/
|
|
502
508
|
map?: any;
|
|
503
509
|
/**
|
|
@@ -505,7 +511,7 @@ interface MapSource {
|
|
|
505
511
|
*/
|
|
506
512
|
source?: any;
|
|
507
513
|
/**
|
|
508
|
-
* 외부 {@
|
|
514
|
+
* 외부 {@link source}를 가져올 위치.<br/>
|
|
509
515
|
*/
|
|
510
516
|
url?: string;
|
|
511
517
|
/**
|
|
@@ -559,7 +565,7 @@ interface MapSource {
|
|
|
559
565
|
*/
|
|
560
566
|
needInternal?: boolean;
|
|
561
567
|
/**
|
|
562
|
-
* {@
|
|
568
|
+
* {@link needInternal 내부 경계선}에서 제외할 영역 목록.<br/>
|
|
563
569
|
*/
|
|
564
570
|
excludeInternal?: string[];
|
|
565
571
|
/**
|
|
@@ -567,7 +573,7 @@ interface MapSource {
|
|
|
567
573
|
*/
|
|
568
574
|
needExternal?: boolean;
|
|
569
575
|
/**
|
|
570
|
-
* {@
|
|
576
|
+
* {@link needInternal 내부 경계선}에서 제외할 영역 목록.<br/>
|
|
571
577
|
*/
|
|
572
578
|
excludeExternal?: string[];
|
|
573
579
|
/**
|
|
@@ -639,13 +645,13 @@ declare const _AnnotationScope: {
|
|
|
639
645
|
/**
|
|
640
646
|
* container에서 padding을 적용한 영역을 기준으로 표시한다.
|
|
641
647
|
*
|
|
642
|
-
*
|
|
648
|
+
*
|
|
643
649
|
*/
|
|
644
650
|
readonly CHART: "chart";
|
|
645
651
|
/**
|
|
646
652
|
* container 전체 영역을 기준으로 표시한다.
|
|
647
653
|
*
|
|
648
|
-
*
|
|
654
|
+
*
|
|
649
655
|
*/
|
|
650
656
|
readonly CONTAINER: "container";
|
|
651
657
|
};
|
|
@@ -659,7 +665,7 @@ type AnnotationType = 'image' | 'shape' | 'text' | 'html' | 'chart';
|
|
|
659
665
|
/**
|
|
660
666
|
* Annotation 모델.<br/>
|
|
661
667
|
*
|
|
662
|
-
*
|
|
668
|
+
*
|
|
663
669
|
*/
|
|
664
670
|
interface AnnotationOptions extends PositionableItemOptions {
|
|
665
671
|
type?: AnnotationType;
|
|
@@ -672,7 +678,7 @@ interface AnnotationOptions extends PositionableItemOptions {
|
|
|
672
678
|
front?: boolean;
|
|
673
679
|
/**
|
|
674
680
|
* 어노테이션 배치 기준이 되는 맵차트 구성 요소.<br/>
|
|
675
|
-
* 현재, 같은 영역(body 혹은 chart)에 포함된 {@link config
|
|
681
|
+
* 현재, 같은 영역(body 혹은 chart)에 포함된 {@link https://realmap.co.kr/config/config/base/gauge 게이지}나 다른 어노테이션의 {@link name 이름}을 지정할 수 있다.
|
|
676
682
|
*
|
|
677
683
|
*/
|
|
678
684
|
anchor?: string;
|
|
@@ -722,13 +728,14 @@ interface AnnotationOptions extends PositionableItemOptions {
|
|
|
722
728
|
declare const ImageAnnotationType = "image";
|
|
723
729
|
/**
|
|
724
730
|
* 이미지 어노테이션.<br/>
|
|
725
|
-
* {@
|
|
731
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 'image'이다.<br/>
|
|
726
732
|
*
|
|
727
733
|
* // TODO #fiddle annotation/image-annotation Image Annotation
|
|
728
734
|
* @css 'rm-image-annotation'
|
|
729
|
-
*
|
|
735
|
+
*
|
|
730
736
|
*/
|
|
731
737
|
interface ImageAnnotationOptions extends AnnotationOptions {
|
|
738
|
+
/** @dummy */
|
|
732
739
|
type?: typeof ImageAnnotationType;
|
|
733
740
|
/**
|
|
734
741
|
* true로 설정되고 {@link url}이 설정된 경우에만 표시된다.
|
|
@@ -745,15 +752,16 @@ interface ImageAnnotationOptions extends AnnotationOptions {
|
|
|
745
752
|
declare const ShapeAnnotationType = "shape";
|
|
746
753
|
/**
|
|
747
754
|
* Shape Annotation 모델.
|
|
748
|
-
* {@
|
|
749
|
-
* {@
|
|
750
|
-
* {@
|
|
755
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 'shape'이다.<br/>
|
|
756
|
+
* {@link shape} 속성에 표시할 도형 모양을 지정하거나,
|
|
757
|
+
* {@link path}에 SVG path를 직접 지정할 수 있다.
|
|
751
758
|
*
|
|
752
759
|
* // TODO #fiddle annotation/shape-annotation Shape Annotation
|
|
753
760
|
* @css 'rm-shape-annotation'
|
|
754
|
-
*
|
|
761
|
+
*
|
|
755
762
|
*/
|
|
756
763
|
interface ShapeAnnotationOptions extends AnnotationOptions {
|
|
764
|
+
/** @dummy */
|
|
757
765
|
type?: typeof ShapeAnnotationType;
|
|
758
766
|
/**
|
|
759
767
|
* @default 64
|
|
@@ -789,13 +797,14 @@ interface ShapeAnnotationOptions extends AnnotationOptions {
|
|
|
789
797
|
declare const TextAnnotationType = "text";
|
|
790
798
|
/**
|
|
791
799
|
* 텍스트 어노테이션.<br/>
|
|
792
|
-
* {@
|
|
800
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 'text'이다.<br/>
|
|
793
801
|
*
|
|
794
802
|
* // TODO #fiddle annotation/text-annotation Text Annotation
|
|
795
803
|
* @css 'rm-text-annotation'
|
|
796
|
-
*
|
|
804
|
+
*
|
|
797
805
|
*/
|
|
798
806
|
interface TextAnnotationOptions extends AnnotationOptions {
|
|
807
|
+
/** @dummy */
|
|
799
808
|
type?: typeof TextAnnotationType;
|
|
800
809
|
/**
|
|
801
810
|
* true로 설정되고 {@link text}가 설정된 경우에만 표시된다.
|
|
@@ -822,27 +831,28 @@ interface TextAnnotationOptions extends AnnotationOptions {
|
|
|
822
831
|
/**
|
|
823
832
|
* 텍스트를 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
|
|
824
833
|
*
|
|
825
|
-
*
|
|
834
|
+
*
|
|
826
835
|
*/
|
|
827
836
|
writingMode?: WritingMode;
|
|
828
837
|
/**
|
|
829
838
|
* 텍스트 문자 방향을 지정한다.
|
|
830
839
|
* 세로 모드의 텍스트에만 적용된다.
|
|
831
840
|
*
|
|
832
|
-
*
|
|
841
|
+
*
|
|
833
842
|
*/
|
|
834
843
|
textOrientation?: TextOrientation;
|
|
835
844
|
}
|
|
836
845
|
declare const HtmlAnnotationType = "html";
|
|
837
846
|
/**
|
|
838
847
|
* HTML 어노테이션.<br/>
|
|
839
|
-
* {@
|
|
848
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 'html'이다.<br/>
|
|
840
849
|
*
|
|
841
850
|
* // TODO #fiddle annotation/html-annotation Html Annotation
|
|
842
851
|
* @css 'rm-html-annotation'
|
|
843
|
-
*
|
|
852
|
+
*
|
|
844
853
|
*/
|
|
845
854
|
interface HtmlAnnotationOptions extends AnnotationOptions {
|
|
855
|
+
/** @dummy */
|
|
846
856
|
type?: typeof HtmlAnnotationType;
|
|
847
857
|
/**
|
|
848
858
|
* true로 설정되고 {@link text}가 설정된 경우에만 표시된다.
|
|
@@ -852,35 +862,35 @@ interface HtmlAnnotationOptions extends AnnotationOptions {
|
|
|
852
862
|
visible?: boolean;
|
|
853
863
|
/**
|
|
854
864
|
* 이 속성으로 지정한 html 내용을 표시한다.<br/>
|
|
855
|
-
* '.'나 '#'으로 시작되는 html selector로 지정하면 해당하는 dom의 {@
|
|
865
|
+
* '.'나 '#'으로 시작되는 html selector로 지정하면 해당하는 dom의 {@link https://developer.mozilla.org/ko/docs/Web/API/Element/innerHTML innerHTML}을 가져와 표시한다.<br/>
|
|
856
866
|
* 예를 들어 id가 'abc'인 dom인 경우 '#abc'로 지정한다.
|
|
857
|
-
* 즉, document.{@
|
|
858
|
-
* 생성되는 dom의 스타일은 {@
|
|
867
|
+
* 즉, document.{@link https://developer.mozilla.org/ko/docs/Web/API/Document/querySelector querySelector}(htmlFrom)로 리턴되는 dom의 내용을 표시한다.<br/>
|
|
868
|
+
* 생성되는 dom의 스타일은 {@link htmlStyle}로 지정한다.
|
|
859
869
|
*/
|
|
860
870
|
html?: string;
|
|
861
871
|
/**
|
|
862
|
-
* 이 속성으로 지정한 selector에 해당하는 dom의 {@
|
|
872
|
+
* 이 속성으로 지정한 selector에 해당하는 dom의 {@link https://developer.mozilla.org/ko/docs/Web/API/Element/innerHTML innerHTML}을 가져와 표시한다.<br/>
|
|
863
873
|
* 예를 들어 id가 'abc'인 dom인 경우 '#abc'로 지정한다.
|
|
864
|
-
* 즉, document.{@
|
|
865
|
-
* 이 속성이 {@
|
|
866
|
-
* 생성되는 dom의 스타일은 {@
|
|
874
|
+
* 즉, document.{@link https://developer.mozilla.org/ko/docs/Web/API/Document/querySelector querySelector}(htmlFrom)로 리턴되는 dom의 내용을 표시한다.<br/>
|
|
875
|
+
* 이 속성이 {@link html}보다 우선한다. 다만, 존재하지 않은 dom을 지정한 경우 {@link html}에 지정한 내용을 대신 표시한다.
|
|
876
|
+
* 생성되는 dom의 스타일은 {@link htmlStyle}로 지정한다.
|
|
867
877
|
*/
|
|
868
878
|
htmlFrom?: string;
|
|
869
879
|
/**
|
|
870
|
-
* {@
|
|
880
|
+
* {@link html}로 생성되는 최상위 dom에 적용되는 스타일셋.<br/>
|
|
871
881
|
*/
|
|
872
882
|
htmlStyle?: CSSStyleDeclaration;
|
|
873
883
|
/**
|
|
874
884
|
* @append
|
|
875
885
|
* 너비를 반드시 지정해야 한다.<br/>
|
|
876
886
|
* 지정하지 않으면 100 픽셀 너비로 표시한다.
|
|
877
|
-
* {@
|
|
887
|
+
* {@link height 높이}를 지정하지 않으면 생성된 dom의 높이에 맞춰진다.
|
|
878
888
|
*
|
|
879
889
|
* @default 100
|
|
880
890
|
*/
|
|
881
891
|
width?: PercentSize;
|
|
882
892
|
/**
|
|
883
|
-
* {@
|
|
893
|
+
* {@link html}로 지정된 html 텍스트에 포함된 param 값을 지정하는 객체나 콜백. #311<br/>
|
|
884
894
|
*/
|
|
885
895
|
params?: {
|
|
886
896
|
[key: string]: any;
|
|
@@ -889,12 +899,13 @@ interface HtmlAnnotationOptions extends AnnotationOptions {
|
|
|
889
899
|
declare const ChartAnnotationType = "chart";
|
|
890
900
|
/**
|
|
891
901
|
* Chart 어노테이션.<br/>
|
|
892
|
-
* {@
|
|
902
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 'chart'이다.<br/>
|
|
893
903
|
*
|
|
894
904
|
* @css 'rm-chart-annotation'
|
|
895
|
-
*
|
|
905
|
+
*
|
|
896
906
|
*/
|
|
897
907
|
interface ChartAnnotationOptions extends AnnotationOptions {
|
|
908
|
+
/** @dummy */
|
|
898
909
|
type?: typeof ChartAnnotationType;
|
|
899
910
|
config?: any;
|
|
900
911
|
}
|
|
@@ -981,9 +992,9 @@ interface OnClickArgs extends CommonCallbackArgs {
|
|
|
981
992
|
/**
|
|
982
993
|
* 맵차트 전체에 영향을 미치는 옵션들.<br />
|
|
983
994
|
*
|
|
984
|
-
*
|
|
995
|
+
*
|
|
985
996
|
*/
|
|
986
|
-
interface
|
|
997
|
+
interface ChartGlobalOptions extends ChartItemOptions {
|
|
987
998
|
/**
|
|
988
999
|
* false가 아닌 경우 첫번째 시리즈가 'map' 시리즈가 아니면 내부적으로 자동 추가한다.<br/>
|
|
989
1000
|
*
|
|
@@ -1027,11 +1038,12 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
1027
1038
|
*/
|
|
1028
1039
|
widgetGap?: number;
|
|
1029
1040
|
/**
|
|
1030
|
-
* div
|
|
1041
|
+
* 차트 div 크기가 변경됐을 때 지정한 시간(밀리초) 이후에 다시 그린다.<br>
|
|
1042
|
+
* 0 이하면 대기 없이 바로 다시 그리기를 요청한다.<br>
|
|
1031
1043
|
*
|
|
1032
|
-
* @default
|
|
1044
|
+
* @default 50 밀리초
|
|
1033
1045
|
*/
|
|
1034
|
-
|
|
1046
|
+
resizeDelay?: number;
|
|
1035
1047
|
/**
|
|
1036
1048
|
* 마우스 포인터가 클릭됐을 때 호출되는 콜백.<br/>
|
|
1037
1049
|
*/
|
|
@@ -1039,18 +1051,18 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
1039
1051
|
/**
|
|
1040
1052
|
* 선택 변경 시 호출되는 콜백.<br/>
|
|
1041
1053
|
*/
|
|
1042
|
-
onSelectionChanged?: (args:
|
|
1054
|
+
onSelectionChanged?: (args: OnSelectionChangedArgs) => void;
|
|
1043
1055
|
}
|
|
1044
1056
|
/**
|
|
1045
1057
|
* 맵차트 제목(title) 설정 모델.<br/>
|
|
1046
1058
|
* 기본적으로 맵차트 중앙 상단에 표시되지만 {@link align}, {@link verticalAlign} 등으로 위치를 변경할 수 있다.<br/>
|
|
1047
1059
|
*
|
|
1048
|
-
* {@
|
|
1049
|
-
*
|
|
1060
|
+
* {@link https://realmap.co.kr/guide/title 타이틀 개요} 페이지를 참조한다.
|
|
1061
|
+
*
|
|
1050
1062
|
*/
|
|
1051
1063
|
interface TitleOptions extends ChartItemOptions {
|
|
1052
1064
|
/**
|
|
1053
|
-
* true로 설정되고 {@
|
|
1065
|
+
* true로 설정되고 {@link text}가 비어 있지 않은 텍스트로 설정된 경우에 표시된다.
|
|
1054
1066
|
*
|
|
1055
1067
|
* @default true
|
|
1056
1068
|
*/
|
|
@@ -1065,7 +1077,7 @@ interface TitleOptions extends ChartItemOptions {
|
|
|
1065
1077
|
* 정렬 기준.<br/>
|
|
1066
1078
|
* 시리즈들이 그려지는 plotting 영역이나,
|
|
1067
1079
|
* 맵차트 전체 영역을 기준으로 할 수 있다.
|
|
1068
|
-
* 또, {@link config
|
|
1080
|
+
* 또, {@link https://realmap.co.kr/config/config/subtitle 부제목}인 경우 제목을 기준으로 위치를 지정할 수 있다.
|
|
1069
1081
|
*
|
|
1070
1082
|
* @default 'map'
|
|
1071
1083
|
*/
|
|
@@ -1083,7 +1095,7 @@ interface TitleOptions extends ChartItemOptions {
|
|
|
1083
1095
|
*/
|
|
1084
1096
|
verticalAlign?: VerticalAlign;
|
|
1085
1097
|
/**
|
|
1086
|
-
* 배경 {@
|
|
1098
|
+
* 배경 {@link it.SVGStyles 스타일셋} 또는 css {@link https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
1087
1099
|
*/
|
|
1088
1100
|
backgroundStyle?: SVGStyleOrClass;
|
|
1089
1101
|
/**
|
|
@@ -1134,9 +1146,9 @@ type SubtitlePosition = typeof _SubtitlePosition[keyof typeof _SubtitlePosition]
|
|
|
1134
1146
|
* };
|
|
1135
1147
|
* ```
|
|
1136
1148
|
*
|
|
1137
|
-
* {@
|
|
1149
|
+
* {@link https://realmap.co.kr/guide/title 제목 개요} 페이지를 참조한다.
|
|
1138
1150
|
*
|
|
1139
|
-
*
|
|
1151
|
+
*
|
|
1140
1152
|
*/
|
|
1141
1153
|
interface SubtitleOptions extends TitleOptions {
|
|
1142
1154
|
/**
|
|
@@ -1196,8 +1208,8 @@ interface CreditsOptions extends ChartItemOptions {
|
|
|
1196
1208
|
verticalAlign?: VerticalAlign;
|
|
1197
1209
|
/**
|
|
1198
1210
|
* 설정에 따라 정해진 표시 위치에서 떨어진 수평 간격을 픽셀 단위로 지정한다.<br/>
|
|
1199
|
-
* {@
|
|
1200
|
-
* {@
|
|
1211
|
+
* {@link floating}이 true가 아니고,
|
|
1212
|
+
* {@link verticalAlign}이 'middle' 이면서 {@link align}이 'center'가 아닌 경우,
|
|
1201
1213
|
* 이 값만큼 수평 영역을 차지한다.
|
|
1202
1214
|
*
|
|
1203
1215
|
* @default 2
|
|
@@ -1205,7 +1217,7 @@ interface CreditsOptions extends ChartItemOptions {
|
|
|
1205
1217
|
offsetX?: number;
|
|
1206
1218
|
/**
|
|
1207
1219
|
* 설정에 따라 정해진 표시 위치에서 떨어진 수직 간격을 픽셀 단위로 지정한다.<br/>
|
|
1208
|
-
* {@
|
|
1220
|
+
* {@link floating}이 true가 아니고, {@link verticalAlign}이 'middle'이 아닌 경우,
|
|
1209
1221
|
* 이 값만큼 수직 영역을 차지한다.
|
|
1210
1222
|
*
|
|
1211
1223
|
* @default 1
|
|
@@ -1214,7 +1226,7 @@ interface CreditsOptions extends ChartItemOptions {
|
|
|
1214
1226
|
/**
|
|
1215
1227
|
* {@link floating}이 true가 아니고, 중앙이 아닌 곳에 표시될 때,
|
|
1216
1228
|
* 맵차트 나머지 영역과의 간격을 픽셀로 지정한다.<br/>
|
|
1217
|
-
* {@
|
|
1229
|
+
* {@link verticalAlign}이 'middle'이면 수평 간격, 아니면 수직 간격에 적용된다.
|
|
1218
1230
|
*
|
|
1219
1231
|
* @default 4
|
|
1220
1232
|
*/
|
|
@@ -1234,16 +1246,28 @@ declare const TooltipScopes: {
|
|
|
1234
1246
|
/** @dummy */
|
|
1235
1247
|
type TooltipScope = typeof TooltipScopes[keyof typeof TooltipScopes];
|
|
1236
1248
|
/**
|
|
1237
|
-
*
|
|
1249
|
+
* @enum
|
|
1250
|
+
*/
|
|
1251
|
+
declare const TooltipModes: {
|
|
1252
|
+
readonly LINE: "line";
|
|
1253
|
+
readonly CIRCLE: "circle";
|
|
1254
|
+
readonly HEADER: "header";
|
|
1255
|
+
};
|
|
1256
|
+
/**
|
|
1257
|
+
* 툴팁 모드
|
|
1258
|
+
*/
|
|
1259
|
+
type TooltipMode = typeof TooltipModes[keyof typeof TooltipModes];
|
|
1260
|
+
/**
|
|
1261
|
+
* 데이터포인트 {@link https://realmap.co.kr/guide/tooltip Tooltip} 설정 모델.
|
|
1238
1262
|
*
|
|
1239
|
-
*
|
|
1263
|
+
*
|
|
1240
1264
|
*/
|
|
1241
1265
|
interface TooltipOptions extends ChartItemOptions {
|
|
1242
1266
|
scope?: TooltipScope;
|
|
1243
1267
|
html?: string;
|
|
1244
1268
|
/**
|
|
1245
1269
|
* 툴팁에 표시할 텍스트 형식.<br/>
|
|
1246
|
-
* 시리즈에 {@link config
|
|
1270
|
+
* 시리즈에 {@link https://realmap.co.kr/config/config/base/series#tooltiptext tooltipText}가 시리즈 별 tooltip을 제공하지만,
|
|
1247
1271
|
* 이 속성이 지정된 경우 우선 사용된다.<br/>
|
|
1248
1272
|
*
|
|
1249
1273
|
* `${param;default;format}` 형식으로 아래과 같은 변수로 데이터 포인트 및 시리즈 값을 지정할 수 있다.
|
|
@@ -1296,7 +1320,18 @@ interface TooltipOptions extends ChartItemOptions {
|
|
|
1296
1320
|
*
|
|
1297
1321
|
*/
|
|
1298
1322
|
timeFormat?: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* 툴팁 모드.<br/>
|
|
1325
|
+
*
|
|
1326
|
+
* 해당 속성으로 툴팁의 외형을 변경할 수 있다.<br/>
|
|
1327
|
+
*
|
|
1328
|
+
* @default 'line'
|
|
1329
|
+
*/
|
|
1330
|
+
mode?: TooltipMode;
|
|
1299
1331
|
}
|
|
1332
|
+
/**
|
|
1333
|
+
* 지도 투영 방식.
|
|
1334
|
+
*/
|
|
1300
1335
|
type ProjectionType = undefined | 'orthographic' | /*'naturealearth' |*/ 'equalearth' | 'miller' | 'mercator';
|
|
1301
1336
|
/**
|
|
1302
1337
|
* 실제 지도가 차지한 영역의 background에 표시 설정.<br/>
|
|
@@ -1311,7 +1346,7 @@ interface MapBackgroundOptions extends ChartItemOptions {
|
|
|
1311
1346
|
visible?: boolean;
|
|
1312
1347
|
/**
|
|
1313
1348
|
* 구형 프로젝션일 때 적용할 기본 radial gradient의 색상.<br/>
|
|
1314
|
-
* {@
|
|
1349
|
+
* {@link style} 속성으로 다르게 지정할 수 있다.
|
|
1315
1350
|
*
|
|
1316
1351
|
* @default 'lightblue'
|
|
1317
1352
|
*/
|
|
@@ -1322,25 +1357,25 @@ interface MapBackgroundOptions extends ChartItemOptions {
|
|
|
1322
1357
|
*/
|
|
1323
1358
|
interface BodyPanelOptions extends ChartItemOptions {
|
|
1324
1359
|
/**
|
|
1325
|
-
* {@
|
|
1360
|
+
* {@link https://realmap.co.kr/config/config/body body} 영역 내에서 panel의 수평 정렬.<br/>
|
|
1326
1361
|
*
|
|
1327
1362
|
* @default 'left'
|
|
1328
1363
|
*/
|
|
1329
1364
|
align?: Align;
|
|
1330
1365
|
/**
|
|
1331
|
-
* {@
|
|
1366
|
+
* {@link https://realmap.co.kr/config/config/body body} 영역 내에서 panel의 수직 정렬.<br/>
|
|
1332
1367
|
*
|
|
1333
1368
|
* @default 'top'
|
|
1334
1369
|
*/
|
|
1335
1370
|
verticalAlign?: VerticalAlign;
|
|
1336
1371
|
/**
|
|
1337
|
-
* {@
|
|
1372
|
+
* {@link https://realmap.co.kr/config/config/body body} 영역 경계와 panel 사이의 수평 간격.<br/>
|
|
1338
1373
|
*
|
|
1339
1374
|
* @default 8 픽셀
|
|
1340
1375
|
*/
|
|
1341
1376
|
offsetX?: number;
|
|
1342
1377
|
/**
|
|
1343
|
-
* {@
|
|
1378
|
+
* {@link https://realmap.co.kr/config/config/body body} 영역 경계와 panel 사이의 수직 간격.<br/>
|
|
1344
1379
|
*
|
|
1345
1380
|
* @default 8 픽셀
|
|
1346
1381
|
*/
|
|
@@ -1359,7 +1394,7 @@ interface ZoomButton {
|
|
|
1359
1394
|
/**
|
|
1360
1395
|
* zoom 버튼들이 표시되는 패널 설정 모델.<br/>
|
|
1361
1396
|
*
|
|
1362
|
-
*
|
|
1397
|
+
*
|
|
1363
1398
|
*/
|
|
1364
1399
|
interface ZoomPanelOptions extends BodyPanelOptions {
|
|
1365
1400
|
buttons?: ZoomButton[];
|
|
@@ -1378,14 +1413,14 @@ interface ZoomPanelOptions extends BodyPanelOptions {
|
|
|
1378
1413
|
zoomFactor?: number;
|
|
1379
1414
|
/**
|
|
1380
1415
|
* 버튼 너비.<br/>
|
|
1381
|
-
* {@
|
|
1416
|
+
* {@link buttonHeight}가 지정되지 않으면 이 속성값과 동일하게 표시된다.
|
|
1382
1417
|
*
|
|
1383
1418
|
* @default 28 픽셀
|
|
1384
1419
|
*/
|
|
1385
1420
|
buttonWidth?: number;
|
|
1386
1421
|
/**
|
|
1387
1422
|
* 버튼 높이.<br/>
|
|
1388
|
-
* {@
|
|
1423
|
+
* {@link buttonWidth}가 지정되지 않으면 이 속성값과 동일하게 표시된다.
|
|
1389
1424
|
*
|
|
1390
1425
|
* @default 28 픽셀
|
|
1391
1426
|
*/
|
|
@@ -1410,7 +1445,7 @@ interface ZoomPanelOptions extends BodyPanelOptions {
|
|
|
1410
1445
|
verticalAlign?: VerticalAlign;
|
|
1411
1446
|
/**
|
|
1412
1447
|
* true로 지정하면 맵이 zoom되지 않은 상태일 때도 표시한다.<br/>
|
|
1413
|
-
* 물론 {@
|
|
1448
|
+
* 물론 {@link visible}이 false이면 이 속성과 무관하게 표시되지 않는다.
|
|
1414
1449
|
*
|
|
1415
1450
|
* @default true
|
|
1416
1451
|
*/
|
|
@@ -1434,7 +1469,7 @@ type DrilldownPanelType = typeof _DrilldownPanelType[keyof typeof _DrilldownPane
|
|
|
1434
1469
|
/**
|
|
1435
1470
|
* drilldown 버튼들이 표시되는 패널 설정 모델.<br/>
|
|
1436
1471
|
*
|
|
1437
|
-
*
|
|
1472
|
+
*
|
|
1438
1473
|
*/
|
|
1439
1474
|
interface DrilldownPanelOptions extends BodyPanelOptions {
|
|
1440
1475
|
/**
|
|
@@ -1452,10 +1487,11 @@ interface DrilldownPanelOptions extends BodyPanelOptions {
|
|
|
1452
1487
|
}
|
|
1453
1488
|
/**
|
|
1454
1489
|
* 콜백 매개변수 타입 base.<br/>
|
|
1490
|
+
*
|
|
1455
1491
|
*/
|
|
1456
1492
|
interface CommonCallbackArgs {
|
|
1457
1493
|
/**
|
|
1458
|
-
* Realmap의 공개 {@
|
|
1494
|
+
* Realmap의 공개 {@link https://realmap.co.kr/docs/api/classes/MapChart MapChart} 모델
|
|
1459
1495
|
*/
|
|
1460
1496
|
chart: MapChart;
|
|
1461
1497
|
}
|
|
@@ -1473,7 +1509,7 @@ interface OnZoomChangedArgs extends CommonCallbackArgs {
|
|
|
1473
1509
|
/**
|
|
1474
1510
|
* 맵차트 본체(body) 설정 모델.<br/>
|
|
1475
1511
|
* 투영 옵션과 지도 제어 옵션들을 설정할 수 있다.<br/>
|
|
1476
|
-
*
|
|
1512
|
+
*
|
|
1477
1513
|
*/
|
|
1478
1514
|
interface BodyOptions extends ChartItemOptions {
|
|
1479
1515
|
/**
|
|
@@ -1491,7 +1527,7 @@ interface BodyOptions extends ChartItemOptions {
|
|
|
1491
1527
|
*/
|
|
1492
1528
|
drilldownPanel?: DrilldownPanelOptions | boolean;
|
|
1493
1529
|
/**
|
|
1494
|
-
* 사용자가 마우스 wheel이나 zoom panel을 이용해 {@
|
|
1530
|
+
* 사용자가 마우스 wheel이나 zoom panel을 이용해 {@link zoom}을 변경할 수 있는 지 여부.<br/>
|
|
1495
1531
|
*
|
|
1496
1532
|
* @default false
|
|
1497
1533
|
*/
|
|
@@ -1523,14 +1559,14 @@ interface BodyOptions extends ChartItemOptions {
|
|
|
1523
1559
|
*/
|
|
1524
1560
|
scrollable?: boolean;
|
|
1525
1561
|
/**
|
|
1526
|
-
* {@
|
|
1562
|
+
* {@link scrollable}이 true인 경우 도(°) 단위 좌우 스크롤 크기.<br/>
|
|
1527
1563
|
* 0보다 큰 값이면 중점이 아시아쪽으로 이동한다.
|
|
1528
1564
|
*/
|
|
1529
1565
|
scroll?: number;
|
|
1530
1566
|
/**
|
|
1531
1567
|
* 마우스 드래그로 panX/panY 를 변경할 수 있는 지 여부.<br/>
|
|
1532
1568
|
* 명시적 false로 지정하면 드래그로 이동시킬 수 없다.
|
|
1533
|
-
* 초기 {@
|
|
1569
|
+
* 초기 {@link zoom}을 설정하고 그 위치를 유지하려 할 때 사용할 수 있다.
|
|
1534
1570
|
*/
|
|
1535
1571
|
movable?: boolean;
|
|
1536
1572
|
/**
|
|
@@ -1711,16 +1747,16 @@ interface MapWidgetCaptionOptions extends IconedTextOptions {
|
|
|
1711
1747
|
display?: MapWidgetCaptionDisplay;
|
|
1712
1748
|
/**
|
|
1713
1749
|
* 타이틀과 범례 아이템들 사이의 간격.<br/>
|
|
1714
|
-
* 타당한 값으로 지정하지 않으면 {@
|
|
1750
|
+
* 타당한 값으로 지정하지 않으면 {@link display}가 'linine'이 될 때 10, 아니면 5 픽셀로 적용된다.
|
|
1715
1751
|
*/
|
|
1716
1752
|
gap?: number;
|
|
1717
1753
|
/**
|
|
1718
|
-
* {@
|
|
1754
|
+
* {@link display}가 'stack'가 될 때 수평 배치.<br/>
|
|
1719
1755
|
* 지정하지 않거나 잘못 지정하면 'left'로 적용된다.
|
|
1720
1756
|
*/
|
|
1721
1757
|
align?: Align;
|
|
1722
1758
|
/**
|
|
1723
|
-
* {@
|
|
1759
|
+
* {@link display}가 'inline'이 될 때 수직 배치.<br/>
|
|
1724
1760
|
* 지정하지 않거나 잘못 지정하면 'middle'로 적용된다.
|
|
1725
1761
|
*/
|
|
1726
1762
|
verticalAlign?: VerticalAlign;
|
|
@@ -1786,7 +1822,7 @@ interface MapWidgetOptions extends ChartItemOptions {
|
|
|
1786
1822
|
interface MapSimpleWidgetOptions extends MapWidgetOptions {
|
|
1787
1823
|
/**
|
|
1788
1824
|
* 이 위젯이 표시될 위젯 그룹 이름.<br/>
|
|
1789
|
-
* 그룹에 포함되지 않은 위젯은 {@
|
|
1825
|
+
* 그룹에 포함되지 않은 위젯은 {@link location} 설정에 따라 위젯 섹션이나 body 영역에 표시된다.
|
|
1790
1826
|
*/
|
|
1791
1827
|
group?: string;
|
|
1792
1828
|
}
|
|
@@ -1811,13 +1847,13 @@ declare const _PositionalScope: {
|
|
|
1811
1847
|
/**
|
|
1812
1848
|
* container에서 padding을 적용한 영역을 기준으로 표시한다.
|
|
1813
1849
|
*
|
|
1814
|
-
*
|
|
1850
|
+
*
|
|
1815
1851
|
*/
|
|
1816
1852
|
readonly CHART: "chart";
|
|
1817
1853
|
/**
|
|
1818
1854
|
* container 전체 영역을 기준으로 표시한다.
|
|
1819
1855
|
*
|
|
1820
|
-
*
|
|
1856
|
+
*
|
|
1821
1857
|
*/
|
|
1822
1858
|
readonly CONTAINER: "container";
|
|
1823
1859
|
};
|
|
@@ -1920,10 +1956,12 @@ interface ZoomToAreaOptions {
|
|
|
1920
1956
|
*/
|
|
1921
1957
|
maximumZoom?: number;
|
|
1922
1958
|
}
|
|
1959
|
+
interface OnSelectionChangedArgs extends CommonCallbackArgs {
|
|
1960
|
+
}
|
|
1923
1961
|
|
|
1924
1962
|
/**
|
|
1925
1963
|
* 맵차트 내보내기 설정 모델
|
|
1926
|
-
*
|
|
1964
|
+
*
|
|
1927
1965
|
*/
|
|
1928
1966
|
interface ExporterOptions extends ChartItemOptions {
|
|
1929
1967
|
/**
|
|
@@ -1959,15 +1997,15 @@ interface ExporterOptions extends ChartItemOptions {
|
|
|
1959
1997
|
*/
|
|
1960
1998
|
url?: string;
|
|
1961
1999
|
/**
|
|
1962
|
-
* true로 지정하면 내보내기 결과에 {@
|
|
2000
|
+
* true로 지정하면 내보내기 결과에 {@link https://realmap.co.kr/config/config/axis/scrollBar AxisScrollBarOptions}가 포함되지 않는다.
|
|
1963
2001
|
*/
|
|
1964
2002
|
hideScrollbar?: boolean;
|
|
1965
2003
|
/**
|
|
1966
|
-
* true로 지정하면 내보내기 결과에 {@
|
|
2004
|
+
* true로 지정하면 내보내기 결과에 {@link https://realmap.co.kr/config/config/seriesNavigator SeriesNavigator}가 포함되지 않는다.
|
|
1967
2005
|
*/
|
|
1968
2006
|
hideNavigator?: boolean;
|
|
1969
2007
|
/**
|
|
1970
|
-
* true로 지정하면 내보내기 결과에 {@
|
|
2008
|
+
* true로 지정하면 내보내기 결과에 {@link https://realmap.co.kr/config/config/body/zoomButton ZoomButtonOptions}가 포함되지 않는다.
|
|
1971
2009
|
*/
|
|
1972
2010
|
hideZoomButton?: boolean;
|
|
1973
2011
|
}
|
|
@@ -1976,18 +2014,20 @@ interface ExporterOptions extends ChartItemOptions {
|
|
|
1976
2014
|
* @enum
|
|
1977
2015
|
*/
|
|
1978
2016
|
declare const _ExportType: {
|
|
1979
|
-
/**
|
|
2017
|
+
/** */
|
|
1980
2018
|
readonly PNG: "png";
|
|
1981
|
-
/**
|
|
2019
|
+
/** */
|
|
1982
2020
|
readonly JPEG: "jpeg";
|
|
1983
|
-
/**
|
|
2021
|
+
/** */
|
|
1984
2022
|
readonly SVG: "svg";
|
|
1985
|
-
/**
|
|
2023
|
+
/** */
|
|
1986
2024
|
readonly PDF: "pdf";
|
|
1987
|
-
/**
|
|
2025
|
+
/** */
|
|
1988
2026
|
readonly PRINT: "print";
|
|
1989
2027
|
};
|
|
1990
|
-
/**
|
|
2028
|
+
/**
|
|
2029
|
+
* 내보내기 종류
|
|
2030
|
+
*/
|
|
1991
2031
|
type ExportType = typeof _ExportType[keyof typeof _ExportType];
|
|
1992
2032
|
/**
|
|
1993
2033
|
* 내보내기 옵션.
|
|
@@ -1996,14 +2036,14 @@ interface ExportOptions {
|
|
|
1996
2036
|
/**
|
|
1997
2037
|
* 내보낸 맵차트에 사용할 확장자.\
|
|
1998
2038
|
* type을 지정하지 않을 경우 png로 내보내기 된다.\
|
|
1999
|
-
*
|
|
2039
|
+
*
|
|
2000
2040
|
* // @TODO https://github.com/realgrid/realreport-chart/issues/549
|
|
2001
2041
|
*/
|
|
2002
2042
|
type?: ExportType;
|
|
2003
2043
|
/**
|
|
2004
2044
|
* 내보낸 맵차트에 사용할 확장자 없는 파일명.
|
|
2005
2045
|
* fileName을 지정하지 않을 경우 realmap.type으로 다운로드 된다.
|
|
2006
|
-
*
|
|
2046
|
+
*
|
|
2007
2047
|
*/
|
|
2008
2048
|
fileName?: string;
|
|
2009
2049
|
}
|
|
@@ -2019,7 +2059,7 @@ interface ChartExporter {
|
|
|
2019
2059
|
hideContextMenu: () => void;
|
|
2020
2060
|
}
|
|
2021
2061
|
|
|
2022
|
-
/** @
|
|
2062
|
+
/** @private */
|
|
2023
2063
|
declare class Color {
|
|
2024
2064
|
private static readonly COLORS;
|
|
2025
2065
|
static create(color?: string): Color | undefined;
|
|
@@ -2041,7 +2081,7 @@ declare class Color {
|
|
|
2041
2081
|
}
|
|
2042
2082
|
|
|
2043
2083
|
/**
|
|
2044
|
-
* @
|
|
2084
|
+
* @private
|
|
2045
2085
|
*
|
|
2046
2086
|
* //TODO: Intl.DateTimeFormat 사용할 것.
|
|
2047
2087
|
*/
|
|
@@ -2067,7 +2107,7 @@ declare class DatetimeFormatter {
|
|
|
2067
2107
|
}
|
|
2068
2108
|
|
|
2069
2109
|
/**
|
|
2070
|
-
* @
|
|
2110
|
+
* @private
|
|
2071
2111
|
*
|
|
2072
2112
|
* 'as,0.0#'
|
|
2073
2113
|
* NOTE: 'a'는 bigint에 사용할 수 없다.
|
|
@@ -2090,7 +2130,7 @@ interface ISize {
|
|
|
2090
2130
|
width: number;
|
|
2091
2131
|
height: number;
|
|
2092
2132
|
}
|
|
2093
|
-
/** @
|
|
2133
|
+
/** @private */
|
|
2094
2134
|
declare class Size {
|
|
2095
2135
|
width: number;
|
|
2096
2136
|
height: number;
|
|
@@ -2117,7 +2157,7 @@ interface IRect {
|
|
|
2117
2157
|
declare const createRect: (x: number, y: number, width: number, height: number) => IRect;
|
|
2118
2158
|
declare function rectToSize(r: IRect): ISize;
|
|
2119
2159
|
declare function isEmptyRect(r: IRect): boolean;
|
|
2120
|
-
/** @
|
|
2160
|
+
/** @private */
|
|
2121
2161
|
declare class Rectangle {
|
|
2122
2162
|
x: number;
|
|
2123
2163
|
y: number;
|
|
@@ -2167,7 +2207,7 @@ declare class Rectangle {
|
|
|
2167
2207
|
toString(): string;
|
|
2168
2208
|
}
|
|
2169
2209
|
|
|
2170
|
-
/** @
|
|
2210
|
+
/** @private */
|
|
2171
2211
|
declare class Sides {
|
|
2172
2212
|
top: number;
|
|
2173
2213
|
bottom: number;
|
|
@@ -2187,7 +2227,7 @@ declare class Sides {
|
|
|
2187
2227
|
}
|
|
2188
2228
|
|
|
2189
2229
|
/**
|
|
2190
|
-
* @
|
|
2230
|
+
* @private
|
|
2191
2231
|
*
|
|
2192
2232
|
* 값이 문자형일 때 텍스트 변경 형식.
|
|
2193
2233
|
* 세미콜론(;)으로 구분되는 형식. 두개의 문자열은 각각 String.prototype.replace의 매개변수가 된다.
|
|
@@ -2205,12 +2245,12 @@ declare class TextFormatter {
|
|
|
2205
2245
|
$_parse(fmt: string): void;
|
|
2206
2246
|
}
|
|
2207
2247
|
|
|
2208
|
-
interface IPoint {
|
|
2248
|
+
interface IPoint$1 {
|
|
2209
2249
|
x: number;
|
|
2210
2250
|
y: number;
|
|
2211
2251
|
}
|
|
2212
2252
|
|
|
2213
|
-
/** @
|
|
2253
|
+
/** @private */
|
|
2214
2254
|
declare class RmTool<T extends RmControl = RmControl> {
|
|
2215
2255
|
private _control;
|
|
2216
2256
|
private _touchElement;
|
|
@@ -2275,11 +2315,11 @@ declare class RmTool<T extends RmControl = RmControl> {
|
|
|
2275
2315
|
protected _doKeyPress(ev: KeyboardEvent): void;
|
|
2276
2316
|
protected _doWheel(ev: WheelEvent): boolean;
|
|
2277
2317
|
protected _doSwipe(dom: Element, prevTracker: DragTracker, dir: RmDirection, duration: number, distance: number): boolean;
|
|
2278
|
-
protected _getDragTracker(dom: Element, dx: number, dy: number): DragTracker;
|
|
2318
|
+
protected _getDragTracker(dom: Element, dx: number, dy: number, shift: any): DragTracker;
|
|
2279
2319
|
private $_startDrag;
|
|
2280
2320
|
private $_drag;
|
|
2281
2321
|
private $_stopDragTracker;
|
|
2282
|
-
protected _pointerToPoint(event: PointerEvent): IPoint;
|
|
2322
|
+
protected _pointerToPoint(event: PointerEvent): IPoint$1;
|
|
2283
2323
|
private $_checkSwipe;
|
|
2284
2324
|
/**
|
|
2285
2325
|
* 터치 시작 시점에 실행한 설정 등을 이 후 touch 이벤트가 발생하면 초기화한다.
|
|
@@ -2321,7 +2361,7 @@ declare abstract class DragTracker<T extends RmControl = RmControl> extends RmOb
|
|
|
2321
2361
|
}
|
|
2322
2362
|
|
|
2323
2363
|
/**
|
|
2324
|
-
* @
|
|
2364
|
+
* @private
|
|
2325
2365
|
*
|
|
2326
2366
|
* Control base.
|
|
2327
2367
|
*/
|
|
@@ -2348,7 +2388,10 @@ declare abstract class RmControl extends RmObject {
|
|
|
2348
2388
|
private _lockDirty;
|
|
2349
2389
|
private _cssVars;
|
|
2350
2390
|
private _resizeObserver;
|
|
2351
|
-
private
|
|
2391
|
+
private _wSave;
|
|
2392
|
+
private _hSave;
|
|
2393
|
+
private _resizeTimer;
|
|
2394
|
+
private _resizeDelay;
|
|
2352
2395
|
loaded: boolean;
|
|
2353
2396
|
_padding: ISides;
|
|
2354
2397
|
_scrolling: boolean;
|
|
@@ -2376,7 +2419,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
2376
2419
|
releaseLock(validate?: boolean): void;
|
|
2377
2420
|
lock(func: (control: RmControl) => void): void;
|
|
2378
2421
|
silentLock(func: (control: RmControl) => void): void;
|
|
2379
|
-
|
|
2422
|
+
setResizeDelay(value: number): void;
|
|
2380
2423
|
getBounds(): DOMRect;
|
|
2381
2424
|
setAnimation(to?: number): void;
|
|
2382
2425
|
fling(distance: number, duration: number): void;
|
|
@@ -2389,7 +2432,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
2389
2432
|
*/
|
|
2390
2433
|
clipBounds(x?: number, y?: number, width?: number, height?: number, rd?: number): ClipRectElement;
|
|
2391
2434
|
clip<T extends ClipElement>(clip: T): T;
|
|
2392
|
-
pointerToPoint(event: PointerEvent): IPoint;
|
|
2435
|
+
pointerToPoint(event: PointerEvent): IPoint$1;
|
|
2393
2436
|
protected _setTesting(): void;
|
|
2394
2437
|
protected _setSize(w: number, h: number): void;
|
|
2395
2438
|
private $_addListener;
|
|
@@ -2437,7 +2480,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
2437
2480
|
private _wheelHandler;
|
|
2438
2481
|
}
|
|
2439
2482
|
/**
|
|
2440
|
-
* @
|
|
2483
|
+
* @private
|
|
2441
2484
|
*
|
|
2442
2485
|
* RcContainer 구성 요소.
|
|
2443
2486
|
* SVGElement들로 구현된다.
|
|
@@ -2509,7 +2552,7 @@ declare class RmElement extends RmObject {
|
|
|
2509
2552
|
getStyle(prop: string): string;
|
|
2510
2553
|
hasStyle(className: string): boolean;
|
|
2511
2554
|
containsDom(dom: Element): boolean;
|
|
2512
|
-
addDom(dom: SVGElement | HTMLElement):
|
|
2555
|
+
addDom(dom: SVGElement | HTMLElement): SVGElement | HTMLElement;
|
|
2513
2556
|
add<T extends RmElement>(child: T): T;
|
|
2514
2557
|
append<T extends RmElement>(child: T): T;
|
|
2515
2558
|
addAll(...children: RmElement[]): void;
|
|
@@ -2536,7 +2579,7 @@ declare class RmElement extends RmObject {
|
|
|
2536
2579
|
move(x: number, y: number): RmElement;
|
|
2537
2580
|
scale(value: number, yValue?: number): this;
|
|
2538
2581
|
trans(x: number, y: number): RmElement;
|
|
2539
|
-
transp(p: IPoint): RmElement;
|
|
2582
|
+
transp(p: IPoint$1): RmElement;
|
|
2540
2583
|
transc(p: MapCoord): RmElement;
|
|
2541
2584
|
transEx(x: number, y: number, duration?: number, invalidate?: boolean): RmElement;
|
|
2542
2585
|
transX(x: number): RmElement;
|
|
@@ -2595,6 +2638,8 @@ declare class RmElement extends RmObject {
|
|
|
2595
2638
|
}): T;
|
|
2596
2639
|
onScrollStart(): void;
|
|
2597
2640
|
onScrollEnd(): void;
|
|
2641
|
+
onRotationStart(): void;
|
|
2642
|
+
onRotationEnd(): void;
|
|
2598
2643
|
protected _testing(): boolean;
|
|
2599
2644
|
protected _doAttached(parent: RmElement): void;
|
|
2600
2645
|
protected _doDetached(parent: RmElement): void;
|
|
@@ -2650,7 +2695,7 @@ declare class ClipPathElement extends ClipElement {
|
|
|
2650
2695
|
}
|
|
2651
2696
|
|
|
2652
2697
|
/**
|
|
2653
|
-
* @
|
|
2698
|
+
* @private
|
|
2654
2699
|
*/
|
|
2655
2700
|
declare enum TextAnchor {
|
|
2656
2701
|
START = "start",
|
|
@@ -2658,7 +2703,7 @@ declare enum TextAnchor {
|
|
|
2658
2703
|
END = "end"
|
|
2659
2704
|
}
|
|
2660
2705
|
/**
|
|
2661
|
-
* @
|
|
2706
|
+
* @private
|
|
2662
2707
|
*/
|
|
2663
2708
|
declare enum TextLayout {
|
|
2664
2709
|
TOP = "top",
|
|
@@ -2813,9 +2858,7 @@ type PointHoverCallback = (args: DataPointArgs) => void;
|
|
|
2813
2858
|
/**
|
|
2814
2859
|
*/
|
|
2815
2860
|
type PointClickCallback = (args: DataPointArgs) => boolean;
|
|
2816
|
-
/**
|
|
2817
|
-
* xxx
|
|
2818
|
-
*/
|
|
2861
|
+
/** @dummy */
|
|
2819
2862
|
type PointStyleCallback = (args: DataPointArgs) => SVGStyleOrClass | undefined;
|
|
2820
2863
|
/**
|
|
2821
2864
|
* @enum
|
|
@@ -2873,7 +2916,7 @@ interface DataPointLabelOptions extends IconedTextOptions {
|
|
|
2873
2916
|
*/
|
|
2874
2917
|
visible?: boolean;
|
|
2875
2918
|
/**
|
|
2876
|
-
* {@
|
|
2919
|
+
* {@link visible}이 true일 때,
|
|
2877
2920
|
* 이 속성에 지정한 zoom 이상어야 표시된다.
|
|
2878
2921
|
* // TODO: level을 배열로 지정하고 level별로 font size를 지정할 수 있게 한다.
|
|
2879
2922
|
*/
|
|
@@ -2897,15 +2940,15 @@ interface DataPointLabelOptions extends IconedTextOptions {
|
|
|
2897
2940
|
distance?: number;
|
|
2898
2941
|
/**
|
|
2899
2942
|
* 계산되는 기본 text 대신, data point label로 표시될 field.<br/>
|
|
2900
|
-
* {@
|
|
2943
|
+
* {@link textCallback}이 설정되고 콜백에서 null이나 undefined를 리턴하지 않으면 이 속성은 무시된다.
|
|
2901
2944
|
*
|
|
2902
2945
|
*/
|
|
2903
2946
|
textField?: string;
|
|
2904
2947
|
/**
|
|
2905
2948
|
* 계산되는 기본 text 대신, data point label로 표시될 text 리턴.<br/>
|
|
2906
|
-
* undefined나 null을 리턴하면 {@
|
|
2949
|
+
* undefined나 null을 리턴하면 {@link textField} 등을 사용한 기존에 표시될 텍스트를 사용한다.
|
|
2907
2950
|
* 빈 문자열 등 정상적인 문자열을 리턴하면 그 문자열대로 표시된다.
|
|
2908
|
-
* {@
|
|
2951
|
+
* {@link prefix}나 포맷 속성 등은 적용되지 않는다.
|
|
2909
2952
|
*/
|
|
2910
2953
|
textCallback?: (point: any) => string;
|
|
2911
2954
|
/**
|
|
@@ -2948,6 +2991,7 @@ interface CalloutAnchorPointOptions extends ChartItemOptions {
|
|
|
2948
2991
|
* ex) `[{ callout: [[35.3, 152.1], [36.9, 152.1]], value: 100 }, ...]`
|
|
2949
2992
|
*/
|
|
2950
2993
|
interface DataPointCalloutOptions extends ChartItemOptions {
|
|
2994
|
+
mode?: 'point' | 'label';
|
|
2951
2995
|
/**
|
|
2952
2996
|
* callout 시작 위치의 모양과 스타일을 설정한다.<br/>
|
|
2953
2997
|
*/
|
|
@@ -2976,16 +3020,16 @@ interface DataPointCalloutOptions extends ChartItemOptions {
|
|
|
2976
3020
|
layoutOnly?: boolean;
|
|
2977
3021
|
}
|
|
2978
3022
|
/**
|
|
2979
|
-
* 시리즈는 {@
|
|
2980
|
-
* 맵차트 설정의 다른 부분이나 API에 참조하기 위해서는 {@
|
|
2981
|
-
* 맵차트 생성 시 {@
|
|
3023
|
+
* 시리즈는 {@link data}로 지정된 값들을 데이터포인트로 표시하는 맵차트의 핵심 구성 요소이다.<br/>
|
|
3024
|
+
* 맵차트 설정의 다른 부분이나 API에 참조하기 위해서는 {@link name}을 반드시 지정해야 햔다.
|
|
3025
|
+
* 맵차트 생성 시 {@link type} 을 지정하지 않으면 {@link https://realmap.co.kr/config/config/series/map map} 시리즈로 생성된다.<br/>
|
|
2982
3026
|
*
|
|
2983
|
-
*
|
|
3027
|
+
*
|
|
2984
3028
|
*/
|
|
2985
3029
|
interface SeriesOptions extends ChartItemOptions {
|
|
2986
3030
|
/**
|
|
2987
3031
|
* 시리즈 종류를 지정한다.<br/>
|
|
2988
|
-
* 지정하지 않으면 {@
|
|
3032
|
+
* 지정하지 않으면 {@link https://realmap.co.kr/config/config/series/map map} 시리즈로 생성된다.
|
|
2989
3033
|
*/
|
|
2990
3034
|
type?: string;
|
|
2991
3035
|
/**
|
|
@@ -2996,7 +3040,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2996
3040
|
/**
|
|
2997
3041
|
* 이 시리즈를 나타내는 텍스트.<br/>
|
|
2998
3042
|
* 레전드나 툴팁에서 시리즈를 대표한다.
|
|
2999
|
-
* 이 속성이 지정되지 않으면 {@
|
|
3043
|
+
* 이 속성이 지정되지 않으면 {@link name}이 사용된다.
|
|
3000
3044
|
*/
|
|
3001
3045
|
label?: string;
|
|
3002
3046
|
/**
|
|
@@ -3006,8 +3050,8 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
3006
3050
|
map?: string | number;
|
|
3007
3051
|
/**
|
|
3008
3052
|
* 데이터포인트 label 설정 옵션.<br/>
|
|
3009
|
-
* boolean으로 지정하면 {@
|
|
3010
|
-
* 문자열로 지정하면 {@
|
|
3053
|
+
* boolean으로 지정하면 {@link visible} 속성을,
|
|
3054
|
+
* 문자열로 지정하면 {@link text} 속성을 별도로 지정하는 것과 동일하다.
|
|
3011
3055
|
*/
|
|
3012
3056
|
pointLabel?: DataPointLabelOptions | boolean | string;
|
|
3013
3057
|
/**
|
|
@@ -3021,62 +3065,63 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
3021
3065
|
callout?: DataPointCalloutOptions | boolean;
|
|
3022
3066
|
/**
|
|
3023
3067
|
* 데이터포인트 목록을 생성하는 데 참조되는 데이터셋.<br/>
|
|
3024
|
-
* {@
|
|
3025
|
-
* 맵차트를 생성할 때는 {@
|
|
3068
|
+
* {@link g.createChartAsync createChartAsync}를 호출해서 비동기로
|
|
3069
|
+
* 맵차트를 생성할 때는 {@link dataUrl}로 원격 데이터 소스를 지정할 수 있다.
|
|
3026
3070
|
* [주의] 처음 load 후 data의 내용을 변경해도 맵차트에 반영되지 않는다.
|
|
3027
3071
|
*/
|
|
3028
3072
|
data?: any;
|
|
3029
3073
|
/**
|
|
3030
3074
|
* 시리즈 데이터의 외부 경로.<br/>
|
|
3031
|
-
* {@
|
|
3075
|
+
* {@link g.createChartAsync createChartAsync} 호출 시, 해당 url로 GET 요청을 전송하여 데이터를 다운받고,
|
|
3032
3076
|
* 해당 시리즈의 data 속성에 저장한다.<br/>
|
|
3033
|
-
* {@
|
|
3034
|
-
* 또, 비동기 함수가 아닌 {@
|
|
3077
|
+
* {@link data}가 설정되면 이 속성은 무시된다.
|
|
3078
|
+
* 또, 비동기 함수가 아닌 {@link g.createChart createChart}로 맵차트를 생성할 때 이 속성으로 data를 설정하려는 경우
|
|
3035
3079
|
* 콘솔에 경고 메시지가 표시된다.
|
|
3036
3080
|
*/
|
|
3037
3081
|
dataUrl?: string;
|
|
3082
|
+
dataFilter?: (v: any) => boolean;
|
|
3038
3083
|
/**
|
|
3039
|
-
* {@
|
|
3084
|
+
* {@link data}나 {@link dataUrl}로 지정된 데이터소스에서 시리즈 데이터로 가져올 배열의 위치를 지정한다.<br/>
|
|
3040
3085
|
* "aaa.bbb" 형식으로 지정한다. 배열 항목은 숫자로 지정한다. "aaa.2.bbb".
|
|
3041
3086
|
* 지정하지 않으면 최상위 JSON 객체를 그대로 사용한다.
|
|
3042
3087
|
*/
|
|
3043
3088
|
dataPath?: string;
|
|
3044
3089
|
/**
|
|
3045
|
-
* {@
|
|
3090
|
+
* {@link data}가 array로 제공되어 datapoint로 생성될 때,
|
|
3046
3091
|
* array의 각 항목에 해당하는 이름으로 datapoint source의 값을 사용한다.<br/>
|
|
3047
3092
|
* ex) `['id', 'lon', 'lat', 'name', 'color']`
|
|
3048
3093
|
*/
|
|
3049
3094
|
fields?: string[];
|
|
3050
3095
|
/**
|
|
3051
|
-
* {@
|
|
3096
|
+
* {@link data}로 전달되는 데이터포인트 생성 객체들의 'id' 속성 값 대신,
|
|
3052
3097
|
* 이 속성으로 지정된 값을 데이터포인트 **id**로 설정한다.<br/>
|
|
3053
3098
|
*
|
|
3054
3099
|
* @default 'id'
|
|
3055
3100
|
*/
|
|
3056
3101
|
idField?: string | number;
|
|
3057
3102
|
/**
|
|
3058
|
-
* {@
|
|
3103
|
+
* {@link data}로 전달되는 데이터포인트 생성 객체들의 'name' 속성 값 대신,
|
|
3059
3104
|
* 이 속성으로 지정된 값을 데이터포인트 **이름**으로 설정한다.<br/>
|
|
3060
3105
|
*
|
|
3061
3106
|
* @default 'name'
|
|
3062
3107
|
*/
|
|
3063
3108
|
nameField?: string | number;
|
|
3064
3109
|
/**
|
|
3065
|
-
* {@
|
|
3110
|
+
* {@link data}로 전달되는 데이터포인트 생성 객체들의 'lon' 속성 값 대신,
|
|
3066
3111
|
* 이 속성으로 지정된 값을 데이터포인트 **경도** 값으로 설정한다.<br/>
|
|
3067
3112
|
*
|
|
3068
3113
|
* @default 'lon'
|
|
3069
3114
|
*/
|
|
3070
3115
|
lonField?: string | number;
|
|
3071
3116
|
/**
|
|
3072
|
-
* {@
|
|
3117
|
+
* {@link data}로 전달되는 데이터포인트 생성 객체들의 'lat' 속성 값 대신,
|
|
3073
3118
|
* 이 속성으로 지정된 값을 데이터포인트 **위도** 값으로 설정한다.<br/>
|
|
3074
3119
|
*
|
|
3075
3120
|
* @default 'lat'
|
|
3076
3121
|
*/
|
|
3077
3122
|
latField?: string | number;
|
|
3078
3123
|
/**
|
|
3079
|
-
* {@
|
|
3124
|
+
* {@link data}로 전달되는 데이터포인트 생성 객체들의 'color' 속성 값 대신,
|
|
3080
3125
|
* 이 속성으로 지정된 값을 데이터포인트의 기본 색상으로 적용한다.<br/>
|
|
3081
3126
|
*
|
|
3082
3127
|
* @default 'color'
|
|
@@ -3086,15 +3131,15 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
3086
3131
|
* 데이터 포인트 기본 색.<br/>
|
|
3087
3132
|
* 숫자로 지정하면 정수로 변환된 값에 해당하는 팔레트 색상으로 설정된다.
|
|
3088
3133
|
* 'var(--color-n)'으로 지정한 것과 동일하며, 1 ~ 12 사이의 값으로 설정할 수 있다.
|
|
3089
|
-
* {@
|
|
3090
|
-
* {@
|
|
3134
|
+
* {@link style}로 지정된 색상보다는 우선하지만,
|
|
3135
|
+
* {@link pointColors}나 {@link styleCallback}으로 설정된 색상이 이 속성으로 설정한 색상보다 우선한다.
|
|
3091
3136
|
*/
|
|
3092
3137
|
color?: string | number;
|
|
3093
3138
|
/**
|
|
3094
3139
|
* color 속성이 명시적으로 지정되지 않은 데이터포인터의 color 속성을 지정한다.<br/>
|
|
3095
3140
|
* 색 배열로 지정하거나, 'colors' asset으로 등록된 이름을 지정할 수 있다.<br/>
|
|
3096
|
-
* 시리즈 {@
|
|
3097
|
-
* {@
|
|
3141
|
+
* 시리즈 {@link style}이나 {@link color}로 지정된 색 보다는 우선하지만,
|
|
3142
|
+
* {@link styleCallback}에서 설정된 색상이나 데이터포인트별로 지정한 색상이 이 속성으로 설정된 색상보다 우선한다.
|
|
3098
3143
|
*/
|
|
3099
3144
|
pointColors?: string[] | string | ((point: DataPointArgs) => string);
|
|
3100
3145
|
/**
|
|
@@ -3103,8 +3148,8 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
3103
3148
|
*/
|
|
3104
3149
|
tooltipText?: string | boolean;
|
|
3105
3150
|
/**
|
|
3106
|
-
* 동적으로 {@
|
|
3107
|
-
* null이나 undefined를 리턴하면 {@
|
|
3151
|
+
* 동적으로 {@link tooltipText}를 리턴하는 콜백.<br/>
|
|
3152
|
+
* null이나 undefined를 리턴하면 {@link tooltipText} 설정을 따른다.
|
|
3108
3153
|
*/
|
|
3109
3154
|
tooltipCallback?: (args: DataPointArgs) => string;
|
|
3110
3155
|
/**
|
|
@@ -3127,7 +3172,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
3127
3172
|
disabled?: boolean;
|
|
3128
3173
|
/**
|
|
3129
3174
|
* 데이터 point의 동적 스타일 콜백.<br/>
|
|
3130
|
-
* {@
|
|
3175
|
+
* {@link style}, {@link pointColors} 등 다른 스타일 설정들 보다 우선한다.
|
|
3131
3176
|
*/
|
|
3132
3177
|
styleCallback?: PointStyleCallback;
|
|
3133
3178
|
/**
|
|
@@ -3135,11 +3180,11 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
3135
3180
|
*/
|
|
3136
3181
|
onPointsLoaded?: (series: object, firstTime: boolean) => void;
|
|
3137
3182
|
/**
|
|
3138
|
-
* {@
|
|
3183
|
+
* {@link https://realmap.co.kr/docs/api/classes/Series#addPoint addPoint}를 호출해서 데이터포인트가 하나 추가된 후 호출된다.<br/>
|
|
3139
3184
|
*/
|
|
3140
3185
|
onPointAdded?: (args: DataPointArgs) => void;
|
|
3141
3186
|
/**
|
|
3142
|
-
* {@
|
|
3187
|
+
* {@link https://realmap.co.kr/docs/api/classes/Series#removePoint removePoint}를 호출해서 데이터포인트가 하나 제거된 후 호출된다.<br/>
|
|
3143
3188
|
*/
|
|
3144
3189
|
onPointRemoved?: (args: DataPointArgs) => void;
|
|
3145
3190
|
onPointUpdated?: (args: DataPointArgs) => void;
|
|
@@ -3159,11 +3204,11 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
3159
3204
|
}
|
|
3160
3205
|
/**
|
|
3161
3206
|
* 데이터포인트의 **'value'** 속성이나,
|
|
3162
|
-
* {@
|
|
3207
|
+
* {@link valueField}로 지정된 속성 값을 기준으로 데이터포인트를 표시하는 시리즈.<br/>
|
|
3163
3208
|
*/
|
|
3164
3209
|
interface ValueSeriesOptions extends SeriesOptions {
|
|
3165
3210
|
/**
|
|
3166
|
-
* {@
|
|
3211
|
+
* {@link data}로 전달되는 데이터포인트 생성 객체들의 'value' 속성 값 대신,
|
|
3167
3212
|
* 이 속성으로 지정된 값을 데이터포인트 값으로 적용한다.<br/>
|
|
3168
3213
|
*/
|
|
3169
3214
|
valueField?: string;
|
|
@@ -3183,12 +3228,12 @@ interface CoordBaseSeriesOptions extends ValueSeriesOptions {
|
|
|
3183
3228
|
*/
|
|
3184
3229
|
interface MarkerSeriesOptions extends CoordBaseSeriesOptions {
|
|
3185
3230
|
/**
|
|
3186
|
-
* 데이터포인트 {@
|
|
3231
|
+
* 데이터포인트 {@link shape 도형} 회전 각도.<br/>
|
|
3187
3232
|
*/
|
|
3188
3233
|
rotation?: number;
|
|
3189
3234
|
/**
|
|
3190
3235
|
* marker가 마우스 아래 있는 지 판단할 때 외부로 추가되는 가상의 두께.<br/>
|
|
3191
|
-
* 지정하지 않으면 {@
|
|
3236
|
+
* 지정하지 않으면 {@link https://realmap.co.kr/config/config/chart/options/pointHovering/hintDistance hintDistance} 설정을 따른다.
|
|
3192
3237
|
*/
|
|
3193
3238
|
hintDistance?: number;
|
|
3194
3239
|
}
|
|
@@ -3204,16 +3249,16 @@ interface SparkSeriesOptions extends CoordBaseSeriesOptions {
|
|
|
3204
3249
|
/**
|
|
3205
3250
|
* 데이터포인트의 값이 복수개일 때 값별 색상을 순서대로 지정한다.<br/>
|
|
3206
3251
|
* color 항목이 설정되지 않으면 데이터포인트의 기본 색상이 사용된다.
|
|
3207
|
-
* 또, {@
|
|
3252
|
+
* 또, {@link legendByCategory}가 true이면 여기에 지정된 색상별로 legend에 표시된다.
|
|
3208
3253
|
*/
|
|
3209
3254
|
categories?: SparkSeriesCategory[];
|
|
3210
3255
|
/**
|
|
3211
3256
|
* 데이터포인트 값들을 가져올 필드 목록.<br/>
|
|
3212
|
-
* 이 속성이 지정되면 {@
|
|
3257
|
+
* 이 속성이 지정되면 {@link valueField}는 무시된다.
|
|
3213
3258
|
*/
|
|
3214
3259
|
valueFields?: string[];
|
|
3215
3260
|
/**
|
|
3216
|
-
* true로 지정되고 {@
|
|
3261
|
+
* true로 지정되고 {@link categories}가 지정되면
|
|
3217
3262
|
* 맵차트 legend에 category별로 항목이 표시된다.
|
|
3218
3263
|
*
|
|
3219
3264
|
* @default undefined
|
|
@@ -3227,7 +3272,7 @@ interface SparkSeriesOptions extends CoordBaseSeriesOptions {
|
|
|
3227
3272
|
*/
|
|
3228
3273
|
minSize?: number;
|
|
3229
3274
|
/**
|
|
3230
|
-
* 데이터포인트 {@
|
|
3275
|
+
* 데이터포인트 {@link shape 도형} 회전 각도.<br/>
|
|
3231
3276
|
*/
|
|
3232
3277
|
rotation?: number;
|
|
3233
3278
|
/**
|
|
@@ -3247,8 +3292,8 @@ interface GaugeOptions extends CoordBaseSeriesOptions {
|
|
|
3247
3292
|
*/
|
|
3248
3293
|
height?: number;
|
|
3249
3294
|
/**
|
|
3250
|
-
* {@
|
|
3251
|
-
* 이 속성보다 {@
|
|
3295
|
+
* {@link width}, {@link height}를 동시에 지정한다.<br/>
|
|
3296
|
+
* 이 속성보다 {@link width}, {@link height}가 우선한다.
|
|
3252
3297
|
*
|
|
3253
3298
|
* @default 60
|
|
3254
3299
|
*/
|
|
@@ -3262,7 +3307,7 @@ interface GaugeOptions extends CoordBaseSeriesOptions {
|
|
|
3262
3307
|
}
|
|
3263
3308
|
interface ValueGaugeOptions extends GaugeOptions {
|
|
3264
3309
|
/**
|
|
3265
|
-
* {@
|
|
3310
|
+
* {@link valueDomain} 설정에 따라
|
|
3266
3311
|
* 시리즈의 전체 데이터포인트 값들로 부터 계산된 최소값 보다
|
|
3267
3312
|
* 이 속성에 지정한 값이 작으면 그 값을 기준 최소값으로 한다.<br/>
|
|
3268
3313
|
*
|
|
@@ -3270,7 +3315,7 @@ interface ValueGaugeOptions extends GaugeOptions {
|
|
|
3270
3315
|
*/
|
|
3271
3316
|
minValue?: number;
|
|
3272
3317
|
/**
|
|
3273
|
-
* {@
|
|
3318
|
+
* {@link valueDomain} 설정에 따라
|
|
3274
3319
|
* 시리즈의 전체 데이터포인트 값들로 부터 계산된 최대값 보다
|
|
3275
3320
|
* 이 속성에 지정한 값이 크면 그 값을 기준 최대값으로 한다.<br/>
|
|
3276
3321
|
*/
|
|
@@ -3326,13 +3371,13 @@ interface OrthogonalSparkSeriesOptions extends SparkSeriesOptions {
|
|
|
3326
3371
|
*/
|
|
3327
3372
|
valueDomain?: DataPointValueDomain;
|
|
3328
3373
|
/**
|
|
3329
|
-
* {@
|
|
3374
|
+
* {@link valueDomain} 설정에 따라
|
|
3330
3375
|
* 개별 데이터포인트나 시리즈의 전체 데이터포인트 값들로 부터 계산된 최소값 보다
|
|
3331
3376
|
* 이 속성에 지정한 값이 작으면 그 값을 기준 최소값으로 한다.<br/>
|
|
3332
3377
|
*/
|
|
3333
3378
|
minValue?: number;
|
|
3334
3379
|
/**
|
|
3335
|
-
* {@
|
|
3380
|
+
* {@link valueDomain} 설정에 따라
|
|
3336
3381
|
* 개별 데이터포인트나 시리즈의 전체 데이터포인트 값들로 부터 계산된 최대값 보다
|
|
3337
3382
|
* 이 속성에 지정한 값이 크면 그 값을 기준 최대값으로 한다.<br/>
|
|
3338
3383
|
*/
|
|
@@ -3347,13 +3392,14 @@ interface OrthogonalSparkSeriesOptions extends SparkSeriesOptions {
|
|
|
3347
3392
|
declare const BarSeriesType = "bar";
|
|
3348
3393
|
/**
|
|
3349
3394
|
* 데이터포인트의 **'value'** 속성으로 지정된 값들을 막대 차트로 표시한다.<br/>
|
|
3350
|
-
* {@
|
|
3395
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'bar'이다.<br/>
|
|
3351
3396
|
*
|
|
3352
3397
|
* @fiddle series/bar-series2 Bar 시리즈 데모
|
|
3353
3398
|
*
|
|
3354
|
-
*
|
|
3399
|
+
*
|
|
3355
3400
|
*/
|
|
3356
3401
|
interface BarSeriesOptions extends OrthogonalSparkSeriesOptions {
|
|
3402
|
+
/** @dummy */
|
|
3357
3403
|
type?: typeof BarSeriesType;
|
|
3358
3404
|
/**
|
|
3359
3405
|
* @private 미구현
|
|
@@ -3364,35 +3410,35 @@ interface BarSeriesOptions extends OrthogonalSparkSeriesOptions {
|
|
|
3364
3410
|
/**
|
|
3365
3411
|
* 바 너비.<br/>
|
|
3366
3412
|
* 차트에 bar 하나가 차지히는 원래 너비에서 실제 표시되는 바 너비의 상대적 크기로 지정한다.
|
|
3367
|
-
* 1보다 큰 경우 bar들이 겹치게 되는데 {@
|
|
3413
|
+
* 1보다 큰 경우 bar들이 겹치게 되는데 {@link overflow}가 true가 아니면 넘치지 않도록 최대한 차트 안쪽으로 밀어서 표시된다.
|
|
3368
3414
|
*
|
|
3369
3415
|
* @default 0.7
|
|
3370
3416
|
*/
|
|
3371
3417
|
barWidth?: number;
|
|
3372
3418
|
maxValue?: number;
|
|
3373
3419
|
/**
|
|
3374
|
-
* null인 y값을 {@
|
|
3420
|
+
* null인 y값을 {@link baseValue}로 간주한다.<br/>
|
|
3375
3421
|
*/
|
|
3376
3422
|
nullAsBase?: boolean;
|
|
3377
3423
|
/**
|
|
3378
|
-
* {@
|
|
3424
|
+
* {@link categories}가 지정되지 않고, {@link colorByField}가 true인 경우,
|
|
3379
3425
|
* bar들의 색상이 이 속성에 지정한 색들로 순환 지정된다.<br/>
|
|
3380
3426
|
* 이 속성이 지정되지 않으면 데이터포인트 색상을 기준으로 색을 분리해 표시한다.
|
|
3381
3427
|
*/
|
|
3382
3428
|
fieldColors?: string[];
|
|
3383
3429
|
/**
|
|
3384
|
-
* {@
|
|
3385
|
-
* {@
|
|
3430
|
+
* {@link fieldColors} 속성에 따라 bar들이 다른 색으로 표시되게 한다.<br/>
|
|
3431
|
+
* {@link categories}가 지정되면 그 설정을 따른다.
|
|
3386
3432
|
*
|
|
3387
3433
|
* @default true
|
|
3388
3434
|
*/
|
|
3389
3435
|
colorByField?: boolean;
|
|
3390
3436
|
/**
|
|
3391
|
-
* {@
|
|
3437
|
+
* {@link baseValue} 혹은 y축의 baseValue보다 작은 쪽의 point들에 적용되는 스타일.
|
|
3392
3438
|
*/
|
|
3393
3439
|
belowStyle?: SVGStyleOrClass;
|
|
3394
3440
|
/**
|
|
3395
|
-
* true로 지정하면 {@
|
|
3441
|
+
* true로 지정하면 {@link barWidth}가 1보다 큰 경우 bar가 차트 너비를 넘어 표시된다.<br/>
|
|
3396
3442
|
* false면 최대한 차트 영역 내로 밀어서 표시한다.
|
|
3397
3443
|
*
|
|
3398
3444
|
* @default false
|
|
@@ -3418,13 +3464,14 @@ interface LineSeriesAreaOptions extends ChartItemOptions {
|
|
|
3418
3464
|
declare const LineSeriesType = "line";
|
|
3419
3465
|
/**
|
|
3420
3466
|
* 데이터포인트의 **'value'** 속성으로 지정된 값들을 선(line) 차트로 표시한다.<br/>
|
|
3421
|
-
* {@
|
|
3467
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'line'이다.<br/>
|
|
3422
3468
|
*
|
|
3423
3469
|
* @fiddle series/line-series Line 시리즈 데모
|
|
3424
3470
|
*
|
|
3425
|
-
*
|
|
3471
|
+
*
|
|
3426
3472
|
*/
|
|
3427
3473
|
interface LineSeriesOptions extends OrthogonalSparkSeriesOptions {
|
|
3474
|
+
/** @dummy */
|
|
3428
3475
|
type?: typeof LineSeriesType;
|
|
3429
3476
|
back?: ChartItemOptions;
|
|
3430
3477
|
/**
|
|
@@ -3449,21 +3496,22 @@ interface PieSeriesThreshold {
|
|
|
3449
3496
|
declare const PieSeriesType = "pie";
|
|
3450
3497
|
/**
|
|
3451
3498
|
* 데이터포인트의 **'value'** 속성으로 지정된 값들을 파이(pie) 차트로 표시한다.<br/>
|
|
3452
|
-
* {@
|
|
3499
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'pie'이다.<br/>
|
|
3453
3500
|
*
|
|
3454
3501
|
* @fiddle series/pie-series Pie 시리즈 데모
|
|
3455
3502
|
*
|
|
3456
|
-
*
|
|
3503
|
+
*
|
|
3457
3504
|
*/
|
|
3458
3505
|
interface PieSeriesOptions extends SparkSeriesOptions {
|
|
3506
|
+
/** @dummy */
|
|
3459
3507
|
type?: typeof PieSeriesType;
|
|
3460
3508
|
centerX?: number;
|
|
3461
3509
|
centerY?: number;
|
|
3462
3510
|
/**
|
|
3463
3511
|
* 파이 반지름.<br/>
|
|
3464
3512
|
* 숫자나 '%'로 끝나는 백분율로 지정할 수 있다.
|
|
3465
|
-
* 백분율로 지정하면 {@
|
|
3466
|
-
* 또, {@
|
|
3513
|
+
* 백분율로 지정하면 {@link body} 영역의 높이/너비 중 작은 크기에 대한 상대 크기로 지정된다.
|
|
3514
|
+
* 또, {@link minSize}와 함께 사용하면 데이터포인트 값에 따라 다른 크기로 표시할 수 있다.
|
|
3467
3515
|
*
|
|
3468
3516
|
* @default 30
|
|
3469
3517
|
*/
|
|
@@ -3472,14 +3520,14 @@ interface PieSeriesOptions extends SparkSeriesOptions {
|
|
|
3472
3520
|
totalAngle?: number;
|
|
3473
3521
|
clockwise?: boolean;
|
|
3474
3522
|
/**
|
|
3475
|
-
* {@
|
|
3523
|
+
* {@link categories}가 지정되지 않고, {@link colorByField}가 true인 경우,
|
|
3476
3524
|
* bar들의 색상이 이 속성에 지정한 색들로 순환 지정된다.<br/>
|
|
3477
3525
|
* 이 속성이 지정되지 않으면 데이터포인트 색상을 기준으로 색을 분리해 표시한다.
|
|
3478
3526
|
*/
|
|
3479
3527
|
fieldColors?: string[];
|
|
3480
3528
|
/**
|
|
3481
|
-
* {@
|
|
3482
|
-
* {@
|
|
3529
|
+
* {@link fieldColors} 속성에 따라 파이 섹터들이 다른 색으로 표시되게 한다.<br/>
|
|
3530
|
+
* {@link categories}가 지정되면 각 category에 지정된 색상을 따른다.
|
|
3483
3531
|
*
|
|
3484
3532
|
* @default true
|
|
3485
3533
|
*/
|
|
@@ -3496,12 +3544,12 @@ interface PieSeriesOptions extends SparkSeriesOptions {
|
|
|
3496
3544
|
*/
|
|
3497
3545
|
declare const _WaffleDirection: {
|
|
3498
3546
|
/**
|
|
3499
|
-
* 야래쪽 행(row)부터 위로 채워가면서 {@
|
|
3547
|
+
* 야래쪽 행(row)부터 위로 채워가면서 {@link https://realmap.co.kr/config/config/series/waffle#fillThreshold fillThreshold}에 도달하면
|
|
3500
3548
|
* 오른쪽으로 채워 나간다.<br/>
|
|
3501
3549
|
*/
|
|
3502
3550
|
readonly ROW: "row";
|
|
3503
3551
|
/**
|
|
3504
|
-
* 왼쪽 행(column)부터 오른쪽로 채워가면서 {@
|
|
3552
|
+
* 왼쪽 행(column)부터 오른쪽로 채워가면서 {@link https://realmap.co.kr/config/config/series/waffle#fillThreshold fillThreshold}에 도달하면
|
|
3505
3553
|
* 위쪽으로 채워 나간다.<br/>
|
|
3506
3554
|
*/
|
|
3507
3555
|
readonly COL: "col";
|
|
@@ -3510,14 +3558,15 @@ declare const _WaffleDirection: {
|
|
|
3510
3558
|
type WaffleDirection = typeof _WaffleDirection[keyof typeof _WaffleDirection];
|
|
3511
3559
|
declare const WaffleSeriesType = "waffle";
|
|
3512
3560
|
/**
|
|
3513
|
-
* {@
|
|
3514
|
-
* {@
|
|
3561
|
+
* {@link value}로 지정된 연관된 값들을 waffle 차트로 표시한다.<br/>
|
|
3562
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'waffle'이다.<br/>
|
|
3515
3563
|
*
|
|
3516
3564
|
* @fiddle series/route-series Route 시리즈 데모
|
|
3517
3565
|
*
|
|
3518
|
-
*
|
|
3566
|
+
*
|
|
3519
3567
|
*/
|
|
3520
3568
|
interface WaffleSeriesOptions extends SparkSeriesOptions {
|
|
3569
|
+
/** @dummy */
|
|
3521
3570
|
type?: typeof WaffleSeriesType;
|
|
3522
3571
|
/**
|
|
3523
3572
|
* @default 10
|
|
@@ -3547,9 +3596,9 @@ interface WaffleSeriesOptions extends SparkSeriesOptions {
|
|
|
3547
3596
|
*/
|
|
3548
3597
|
fillDirection?: WaffleDirection;
|
|
3549
3598
|
/**
|
|
3550
|
-
* {@
|
|
3599
|
+
* {@link fillDirection}이 'colFirst'나 'rowFirst'일 때,
|
|
3551
3600
|
* 방향을 바꾸게 하는 기준 셀 개수.<br/>
|
|
3552
|
-
* 1 이상이어야 하고, {@
|
|
3601
|
+
* 1 이상이어야 하고, {@link fillDirection}에 따라 {@link rowCount}나 {@link colCount} 미만 크기로 지정해야 한다.
|
|
3553
3602
|
*
|
|
3554
3603
|
* @default 1
|
|
3555
3604
|
*/
|
|
@@ -3559,19 +3608,19 @@ interface WaffleSeriesOptions extends SparkSeriesOptions {
|
|
|
3559
3608
|
*/
|
|
3560
3609
|
valueDomain?: DataPointValueDomain;
|
|
3561
3610
|
/**
|
|
3562
|
-
* {@
|
|
3611
|
+
* {@link valueDomain} 설정에 따라
|
|
3563
3612
|
* 개별 데이터포인트나 시리즈의 전체 데이터포인트 값들로 부터 계산된 최소값 보다
|
|
3564
3613
|
* 이 속성에 지정한 값이 작으면 그 값을 기준 최소값으로 한다.<br/>
|
|
3565
3614
|
*/
|
|
3566
3615
|
minValue?: number;
|
|
3567
3616
|
/**
|
|
3568
|
-
* {@
|
|
3617
|
+
* {@link valueDomain} 설정에 따라
|
|
3569
3618
|
* 개별 데이터포인트나 시리즈의 전체 데이터포인트 값들로 부터 계산된 최대값 보다
|
|
3570
3619
|
* 이 속성에 지정한 값이 크면 그 값을 기준 최대값으로 한다.<br/>
|
|
3571
3620
|
*/
|
|
3572
3621
|
maxValue?: number;
|
|
3573
3622
|
/**
|
|
3574
|
-
* true로 지정하면 값에 포함되지 않는 셀들을 {@
|
|
3623
|
+
* true로 지정하면 값에 포함되지 않는 셀들을 {@link nullStyle}을 적용해서 표시한다.<br/>
|
|
3575
3624
|
*
|
|
3576
3625
|
* @default false;
|
|
3577
3626
|
*/
|
|
@@ -3595,11 +3644,11 @@ type BubbleSizeMode = typeof _BubbleSizeMode[keyof typeof _BubbleSizeMode];
|
|
|
3595
3644
|
declare const BubbleSeriesType = "bubble";
|
|
3596
3645
|
/**
|
|
3597
3646
|
* Bubble 시리즈.<br/>
|
|
3598
|
-
* {@
|
|
3647
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'bubble'이다.<br/>
|
|
3599
3648
|
*
|
|
3600
3649
|
* @fiddle series/bubble-series Bubble 시리즈 데모
|
|
3601
3650
|
*
|
|
3602
|
-
*
|
|
3651
|
+
*
|
|
3603
3652
|
*/
|
|
3604
3653
|
interface BubbleSeriesOptions extends MarkerSeriesOptions {
|
|
3605
3654
|
type?: typeof BubbleSeriesType;
|
|
@@ -3610,13 +3659,13 @@ interface BubbleSeriesOptions extends MarkerSeriesOptions {
|
|
|
3610
3659
|
/**
|
|
3611
3660
|
* 데이터포인트 값들로 부터 계산된 최소값 보다
|
|
3612
3661
|
* 이 속성에 지정한 값이 작으면 그 값을 기준 최소값으로 한다.<br/>
|
|
3613
|
-
* 실시간 동적으로 데이터포인트를 추가하는 경우 이 속성과 {@
|
|
3662
|
+
* 실시간 동적으로 데이터포인트를 추가하는 경우 이 속성과 {@link maxValue}를 명시적으로 지정해야 한다.
|
|
3614
3663
|
*/
|
|
3615
3664
|
minValue?: number;
|
|
3616
3665
|
/**
|
|
3617
3666
|
* 데이터포인트 값들로 부터 계산된 최대값 보다
|
|
3618
3667
|
* 이 속성에 지정한 값이 크면 그 값을 기준 최대값으로 한다.<br/>
|
|
3619
|
-
* 실시간 동적으로 데이터포인트를 추가하는 경우 이 속성과 {@
|
|
3668
|
+
* 실시간 동적으로 데이터포인트를 추가하는 경우 이 속성과 {@link minValue}를 명시적으로 지정해야 한다.
|
|
3620
3669
|
*/
|
|
3621
3670
|
maxValue?: number;
|
|
3622
3671
|
/**
|
|
@@ -3678,15 +3727,16 @@ declare const _RouteArrowDisplay: {
|
|
|
3678
3727
|
type RouteArrowDisplay = typeof _RouteArrowDisplay[keyof typeof _RouteArrowDisplay];
|
|
3679
3728
|
declare const RouteSeriesType = "route";
|
|
3680
3729
|
/**
|
|
3681
|
-
* {@
|
|
3682
|
-
* {@
|
|
3730
|
+
* {@link coords}로 지정된 두 지점 사이를 곡선으로 연결하는 시리즈.<br/>
|
|
3731
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'route'이다.<br/>
|
|
3683
3732
|
* 데이터포인트 label을 표시하지 않는다.
|
|
3684
3733
|
*
|
|
3685
3734
|
* @fiddle series/route-series Route 시리즈 데모
|
|
3686
3735
|
*
|
|
3687
|
-
*
|
|
3736
|
+
*
|
|
3688
3737
|
*/
|
|
3689
3738
|
interface RouteSeriesOptions extends SeriesOptions {
|
|
3739
|
+
/** @dummy */
|
|
3690
3740
|
type?: typeof RouteSeriesType;
|
|
3691
3741
|
/**
|
|
3692
3742
|
* @ignore 미구현
|
|
@@ -3762,9 +3812,9 @@ interface InsetLabelOptions extends IconedTextOptions {
|
|
|
3762
3812
|
visible?: boolean;
|
|
3763
3813
|
/**
|
|
3764
3814
|
* 계산되는 기본 text 대신, data point label로 표시될 text 리턴.<br/>
|
|
3765
|
-
* undefined나 null을 리턴하면 {@
|
|
3815
|
+
* undefined나 null을 리턴하면 {@link textField} 등을 사용한 기존에 표시될 텍스트를 사용한다.
|
|
3766
3816
|
* 빈 문자열 등 정상적인 문자열을 리턴하면 그 문자열대로 표시된다.
|
|
3767
|
-
* {@
|
|
3817
|
+
* {@link prefix}나 포맷 속성 등은 적용되지 않는다.
|
|
3768
3818
|
*/
|
|
3769
3819
|
textCallback?: (args: InsetLabelArgs) => string;
|
|
3770
3820
|
/**
|
|
@@ -3786,17 +3836,18 @@ interface MapSeriesLabelOptions extends DataPointLabelOptions {
|
|
|
3786
3836
|
declare const MapSeriesType = "map";
|
|
3787
3837
|
/**
|
|
3788
3838
|
* 맵 소스에서 경계가 설정된 영역들을 표시하는 시리즈.<br/>
|
|
3789
|
-
* {@
|
|
3790
|
-
* {@link https://en.wikipedia.org/wiki/Choropleth_map choropleth map}(단계 구분도. 색상으로 area별 특성을 나타내는 지도)으로 사용된다.
|
|
3791
|
-
* 맵차트 설정에서 {@
|
|
3792
|
-
* 맵차트가 지도처럼 보이려면 반드시 하나 이상의 map 시리즈나 {@
|
|
3839
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'map'이다.<br/>
|
|
3840
|
+
* {@link https://en.wikipedia.org/wiki/Choropleth_map | choropleth map}(단계 구분도. 색상으로 area별 특성을 나타내는 지도)으로 사용된다.
|
|
3841
|
+
* 맵차트 설정에서 {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}을 지정하지 않으면 자동으로 생성되는 기본 시리즈이다.
|
|
3842
|
+
* 맵차트가 지도처럼 보이려면 반드시 하나 이상의 map 시리즈나 {@link https://realmap.co.kr/config/config/series/tiledweb tiledweb 시리즈}가 포함되어야 한다.<br/>
|
|
3793
3843
|
*
|
|
3794
|
-
*
|
|
3844
|
+
*
|
|
3795
3845
|
*/
|
|
3796
3846
|
interface MapSeriesOptions extends ValueSeriesOptions {
|
|
3847
|
+
/** @dummy */
|
|
3797
3848
|
type?: typeof MapSeriesType;
|
|
3798
3849
|
/**
|
|
3799
|
-
* {@
|
|
3850
|
+
* {@link https://realmap.co.kr/config/config/series/map/pointLabel#visible visible} 기본값이 false이다.
|
|
3800
3851
|
*/
|
|
3801
3852
|
pointLabel?: MapSeriesLabelOptions | boolean;
|
|
3802
3853
|
/**
|
|
@@ -3813,7 +3864,7 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3813
3864
|
* 두 값을 배열로 지정하면 첫번째 문자열은 맵소스 "properties"의 속성명,
|
|
3814
3865
|
* 두번째는 데이터포인트의 속성명이다.
|
|
3815
3866
|
* 값을 하나만 지정하거나 문자열로 지정하면 양쪽 같은 속성명으로 연결한다.<br/>
|
|
3816
|
-
* 이 값이 지정되지 않으면 데이터포인트의 "id" 또는 {@
|
|
3867
|
+
* 이 값이 지정되지 않으면 데이터포인트의 "id" 또는 {@link idField} 속성으로 지정한 속성값과 맵소스의 "rm-id" 또는 "id" 속성값으로 연결한다.
|
|
3817
3868
|
*/
|
|
3818
3869
|
mapKeys?: string | [string, string];
|
|
3819
3870
|
/**
|
|
@@ -3844,17 +3895,21 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3844
3895
|
hoverStyle?: SVGStyleOrClass;
|
|
3845
3896
|
/**
|
|
3846
3897
|
* true로 지정하면 마우스 클릭 등으로 area를 선택할 수 있다.<br/>
|
|
3847
|
-
* {@
|
|
3898
|
+
* {@link https://realmap.co.kr/config/config/options#clickAction clickAction} 또는 {@link https://realmap.co.kr/config/config/options#dbClickAction dbClickAction}이 'select'로 지정된 경우에만 적용된다.<br/>
|
|
3848
3899
|
*
|
|
3849
3900
|
* @default false
|
|
3850
3901
|
*/
|
|
3851
3902
|
selectable?: boolean;
|
|
3852
3903
|
/**
|
|
3853
|
-
*
|
|
3904
|
+
* @deprecated 대신 {@link selectStyle}을 사용한다.<br/>
|
|
3854
3905
|
*/
|
|
3855
3906
|
selectedStyle?: SVGStyleOrClass;
|
|
3856
3907
|
/**
|
|
3857
|
-
*
|
|
3908
|
+
* 선택된 area에 적용할 스타일셋.<br/>
|
|
3909
|
+
*/
|
|
3910
|
+
selectStyle?: SVGStyleOrClass;
|
|
3911
|
+
/**
|
|
3912
|
+
* true로 지정하면 data point가 설정되지 않은 area들도 {@link nullStyle}로 표시한다.<br/>
|
|
3858
3913
|
* 복수 개의 시리즈로 영역들을 그룹핑하려면 반드시 false로 지정해야 한다.
|
|
3859
3914
|
*
|
|
3860
3915
|
* @default true
|
|
@@ -3862,7 +3917,7 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3862
3917
|
allAreas?: boolean;
|
|
3863
3918
|
/**
|
|
3864
3919
|
* 표시하지 않는 영역들을 지정한다.<br/>
|
|
3865
|
-
* {@
|
|
3920
|
+
* {@link mapKeys} 속성으로 지정된 key나 'id' 또는 {@link idField}로 지정된 값(들)로 지정한다.
|
|
3866
3921
|
*/
|
|
3867
3922
|
hiddenAreas?: string | string[];
|
|
3868
3923
|
/**
|
|
@@ -3904,21 +3959,37 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3904
3959
|
*/
|
|
3905
3960
|
legend?: number | string;
|
|
3906
3961
|
}
|
|
3962
|
+
/**
|
|
3963
|
+
* Feature 종류.<br/>
|
|
3964
|
+
* @enum
|
|
3965
|
+
*/
|
|
3966
|
+
declare const _FeatureType: {
|
|
3967
|
+
/**
|
|
3968
|
+
* 영역.<br/>
|
|
3969
|
+
*/
|
|
3970
|
+
readonly AREA: "none";
|
|
3971
|
+
};
|
|
3972
|
+
/** @dummy */
|
|
3973
|
+
type FeatureType = typeof _FeatureType[keyof typeof _FeatureType];
|
|
3907
3974
|
interface FeatureSeriesLabelOptions extends DataPointLabelOptions {
|
|
3908
|
-
|
|
3975
|
+
/**
|
|
3976
|
+
* @default false
|
|
3977
|
+
*/
|
|
3978
|
+
visible?: boolean;
|
|
3909
3979
|
}
|
|
3910
3980
|
declare const FeatureSeriesType = "feature";
|
|
3911
3981
|
/**
|
|
3912
3982
|
* Feature area 영역들을 칠하는 시리즈.<br/>
|
|
3913
|
-
* {@
|
|
3983
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'feature'이다.<br/>
|
|
3914
3984
|
*
|
|
3915
|
-
*
|
|
3985
|
+
*
|
|
3916
3986
|
*/
|
|
3917
3987
|
interface FeatureSeriesOptions extends CoordBaseSeriesOptions {
|
|
3988
|
+
/** @dummy */
|
|
3918
3989
|
type?: typeof FeatureSeriesType;
|
|
3990
|
+
featureType?: FeatureType;
|
|
3919
3991
|
hoverColor?: string;
|
|
3920
3992
|
hoverStyle?: SVGStyleOrClass;
|
|
3921
|
-
selectable?: boolean;
|
|
3922
3993
|
colorRange?: ColorRange;
|
|
3923
3994
|
/**
|
|
3924
3995
|
* 차트에 설정된 color scale 아이디 혹은 인덱스.<br/>
|
|
@@ -3926,12 +3997,6 @@ interface FeatureSeriesOptions extends CoordBaseSeriesOptions {
|
|
|
3926
3997
|
* 다른 잘못된 값이면 첫번째 스케일에 연결된다.
|
|
3927
3998
|
*/
|
|
3928
3999
|
colorScale?: string | number | null;
|
|
3929
|
-
/**
|
|
3930
|
-
* @ignore
|
|
3931
|
-
*/
|
|
3932
|
-
detail?: FeatureSeriesOptions;
|
|
3933
|
-
detailKey?: string;
|
|
3934
|
-
detailZoom?: number;
|
|
3935
4000
|
/**
|
|
3936
4001
|
* true로 지정하면 데이터포인트가 설정된 area들이 설정되지 않은 area보다 위에 그려지게 한다.<br/>
|
|
3937
4002
|
*
|
|
@@ -3939,23 +4004,70 @@ interface FeatureSeriesOptions extends CoordBaseSeriesOptions {
|
|
|
3939
4004
|
*/
|
|
3940
4005
|
bringToFront?: boolean;
|
|
3941
4006
|
}
|
|
4007
|
+
interface PointClusterRange {
|
|
4008
|
+
from?: number;
|
|
4009
|
+
to?: number;
|
|
4010
|
+
radius?: number;
|
|
4011
|
+
color?: string;
|
|
4012
|
+
}
|
|
4013
|
+
interface PointClusterOptions extends ChartItemOptions {
|
|
4014
|
+
/**
|
|
4015
|
+
* @default false
|
|
4016
|
+
*/
|
|
4017
|
+
visible?: boolean;
|
|
4018
|
+
/**
|
|
4019
|
+
* @default undefined
|
|
4020
|
+
*/
|
|
4021
|
+
algorithm?: 'kmeans' | 'grid';
|
|
4022
|
+
/**
|
|
4023
|
+
* @default 40 픽셀
|
|
4024
|
+
*/
|
|
4025
|
+
distance?: number;
|
|
4026
|
+
/**
|
|
4027
|
+
* @default 2
|
|
4028
|
+
*/
|
|
4029
|
+
minDensity?: number;
|
|
4030
|
+
/**
|
|
4031
|
+
* @default 100
|
|
4032
|
+
*/
|
|
4033
|
+
maxIteration?: number;
|
|
4034
|
+
/**
|
|
4035
|
+
* @default 50 밀리초
|
|
4036
|
+
*/
|
|
4037
|
+
stepDuration?: number;
|
|
4038
|
+
/**
|
|
4039
|
+
* @default 300
|
|
4040
|
+
*/
|
|
4041
|
+
zoomLimit?: number;
|
|
4042
|
+
/**
|
|
4043
|
+
* @default 15
|
|
4044
|
+
*/
|
|
4045
|
+
radius?: number;
|
|
4046
|
+
ranges?: PointClusterRange[];
|
|
4047
|
+
/**
|
|
4048
|
+
* true면 cluster view를 클릭하면 포함된 데이터포인트들이 모두 표시되도록 zoom 시킨다.<br/>
|
|
4049
|
+
* 명시적 false로 설정하지 않으면 true로 적용된다.<br/>
|
|
4050
|
+
*/
|
|
4051
|
+
expandable?: boolean;
|
|
4052
|
+
}
|
|
3942
4053
|
declare const PointSeriesType = "point";
|
|
3943
4054
|
/**
|
|
3944
4055
|
* Point 시리즈. <br/>
|
|
3945
|
-
* {@
|
|
4056
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'point'이다.<br/>
|
|
3946
4057
|
*
|
|
3947
4058
|
* @fiddle series/point-series Point 시리즈 데모
|
|
3948
4059
|
*
|
|
3949
|
-
*
|
|
4060
|
+
*
|
|
3950
4061
|
*/
|
|
3951
4062
|
interface PointSeriesOptions extends MarkerSeriesOptions {
|
|
4063
|
+
/** @dummy */
|
|
3952
4064
|
type?: typeof PointSeriesType;
|
|
3953
4065
|
/**
|
|
3954
4066
|
* 명시적으로 지정하지 않으면 기본 제공되는 shape 목록 중 하나로 자동 설정된다.<br/>
|
|
3955
4067
|
*/
|
|
3956
4068
|
shape?: Shape;
|
|
3957
4069
|
/**
|
|
3958
|
-
* 데이터포인트 {@
|
|
4070
|
+
* 데이터포인트 {@link shape 도형}의 반지름.
|
|
3959
4071
|
*
|
|
3960
4072
|
* @default 5
|
|
3961
4073
|
*/
|
|
@@ -3964,9 +4076,10 @@ interface PointSeriesOptions extends MarkerSeriesOptions {
|
|
|
3964
4076
|
* @default 'center'
|
|
3965
4077
|
*/
|
|
3966
4078
|
position?: PointViewPosition;
|
|
4079
|
+
cluster?: PointClusterOptions;
|
|
3967
4080
|
}
|
|
3968
4081
|
/**
|
|
3969
|
-
*
|
|
4082
|
+
* Image 시리즈 label 설정 옵션. <br/>
|
|
3970
4083
|
*/
|
|
3971
4084
|
interface ImageSeriesLabelOptions extends DataPointLabelOptions {
|
|
3972
4085
|
/**
|
|
@@ -3977,16 +4090,17 @@ interface ImageSeriesLabelOptions extends DataPointLabelOptions {
|
|
|
3977
4090
|
declare const ImageSeriesType = "image";
|
|
3978
4091
|
/**
|
|
3979
4092
|
* 지정된 지점에 이미지를 표시하는 시리즈.<br/>
|
|
3980
|
-
* {@
|
|
4093
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'image'이다.<br/>
|
|
3981
4094
|
*
|
|
3982
4095
|
* @fiddle series/image-series Image 시리즈 데모
|
|
3983
4096
|
*
|
|
3984
|
-
*
|
|
4097
|
+
*
|
|
3985
4098
|
*/
|
|
3986
4099
|
interface ImageSeriesOptions extends SeriesOptions {
|
|
4100
|
+
/** @dummy */
|
|
3987
4101
|
type?: typeof ImageSeriesType;
|
|
3988
4102
|
/**
|
|
3989
|
-
* {@
|
|
4103
|
+
* {@link https://realmap.co.kr/config/config/series/image/pointLabel#visible visible} 기본값이 false이다.
|
|
3990
4104
|
*/
|
|
3991
4105
|
pointLabel?: ImageSeriesLabelOptions;
|
|
3992
4106
|
/**
|
|
@@ -4006,7 +4120,7 @@ interface ImageSeriesOptions extends SeriesOptions {
|
|
|
4006
4120
|
*/
|
|
4007
4121
|
imageHeight?: number;
|
|
4008
4122
|
/**
|
|
4009
|
-
* 데이터포인트 {@
|
|
4123
|
+
* 데이터포인트 {@link shape 도형} 회전 각도.<br/>
|
|
4010
4124
|
*/
|
|
4011
4125
|
rotation?: number;
|
|
4012
4126
|
/**
|
|
@@ -4022,11 +4136,12 @@ declare const PinSeriesType = "pin";
|
|
|
4022
4136
|
* 지정된 위치에 pin의 아래 부분이 위치한다.
|
|
4023
4137
|
* 내부 원을 특정 스타일로 표시할 수 있다.
|
|
4024
4138
|
* 또, 도형 안에 text를 표시할 수 있으며,
|
|
4025
|
-
* {@
|
|
4139
|
+
* {@link style}에 padding을 지정해서 text 위치를 조정할 수 있다.
|
|
4026
4140
|
*
|
|
4027
|
-
*
|
|
4141
|
+
*
|
|
4028
4142
|
*/
|
|
4029
4143
|
interface PinSeriesOptions extends MarkerSeriesOptions {
|
|
4144
|
+
/** @dummy */
|
|
4030
4145
|
type?: typeof PinSeriesType;
|
|
4031
4146
|
/**
|
|
4032
4147
|
* 원 반지름.<br/>
|
|
@@ -4038,7 +4153,7 @@ interface PinSeriesOptions extends MarkerSeriesOptions {
|
|
|
4038
4153
|
radius?: number;
|
|
4039
4154
|
/**
|
|
4040
4155
|
* 내부 원 크기.<br/>
|
|
4041
|
-
* {@
|
|
4156
|
+
* {@link radius 외부 원 크기}에 대한 비율을 0 ~ 1 사이의 값으로 지정한다.
|
|
4042
4157
|
*
|
|
4043
4158
|
* @default 0
|
|
4044
4159
|
*/
|
|
@@ -4081,22 +4196,37 @@ interface FigureSeriesImageOptions extends ChartItemOptions {
|
|
|
4081
4196
|
/**
|
|
4082
4197
|
* 이 값을 0보다 크고 1보다 작은 값으로 지정하면,
|
|
4083
4198
|
* 데이터포인트 최대값을 기준으로 기본 크기에 대한 상대 크기로 표시된다.<br/>
|
|
4084
|
-
*
|
|
4199
|
+
* //시리즈의 minSize가 설정된 경우에만 동작한다.<br/>
|
|
4085
4200
|
*/
|
|
4086
4201
|
minSize?: number;
|
|
4087
4202
|
}
|
|
4203
|
+
/**
|
|
4204
|
+
* 데이터포인트 figure로 표시할 svg path에 대한 객체. <br/>
|
|
4205
|
+
* 'path'와 'style'을 별도로 지정하는 객체로 지정할 수 있다.
|
|
4206
|
+
*/
|
|
4207
|
+
interface FigureObject {
|
|
4208
|
+
/**
|
|
4209
|
+
* svg path 설정.
|
|
4210
|
+
*/
|
|
4211
|
+
path: string;
|
|
4212
|
+
/**
|
|
4213
|
+
* svg style 또는 class 이름 설정.
|
|
4214
|
+
*/
|
|
4215
|
+
style: SVGStyleOrClass;
|
|
4216
|
+
}
|
|
4088
4217
|
declare const FigureSeriesType = "figure";
|
|
4089
4218
|
/**
|
|
4090
4219
|
* Figure 시리즈.<br/>
|
|
4091
|
-
* {@
|
|
4220
|
+
* {@link figure} 속성에 표시하려는 사용자 정의 도형의 svg path를 지정한다.
|
|
4092
4221
|
* 또, 도형 안에 text나 이미지를 표시할 수 있으며,
|
|
4093
|
-
* {@
|
|
4222
|
+
* {@link style}에 padding을 지정해서 text나 이미지 위치를 조정할 수 있다.
|
|
4094
4223
|
*
|
|
4095
4224
|
* @fiddle series/figure-series Figure 시리즈 데모
|
|
4096
4225
|
*
|
|
4097
|
-
*
|
|
4226
|
+
*
|
|
4098
4227
|
*/
|
|
4099
4228
|
interface FigureSeriesOptions extends CoordBaseSeriesOptions {
|
|
4229
|
+
/** @dummy */
|
|
4100
4230
|
type?: typeof FigureSeriesType;
|
|
4101
4231
|
figures?: {
|
|
4102
4232
|
[id: string]: {
|
|
@@ -4108,23 +4238,25 @@ interface FigureSeriesOptions extends CoordBaseSeriesOptions {
|
|
|
4108
4238
|
/**
|
|
4109
4239
|
* 데이터포인트 figure로 표시할 svg path 'd' 속성 값.<br/>
|
|
4110
4240
|
* 'path'와 'style'을 별도로 지정하는 객체로 지정할 수도 있다.
|
|
4111
|
-
* '#'로 시작하는 문자열은 차트나 {@
|
|
4241
|
+
* '#'로 시작하는 문자열은 차트나 {@link figures}에 등록한 figure id를 지정한다.
|
|
4112
4242
|
* 문자열 배열로 별도로 그려지는 두 path를 지정한다. 각 path에는 별도의 style을 지정할 수 있다.
|
|
4113
4243
|
*/
|
|
4114
|
-
figure?: string | (string |
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4244
|
+
figure?: string | (string | FigureObject)[];
|
|
4245
|
+
/**
|
|
4246
|
+
* {@link figure}의 좌표계를 [너비, 높이]로 지정한다.<br/>
|
|
4247
|
+
* 값을 하나만 지정하거나, 애초에 숫자값으로 지정하면 너비, 높이를 같은 값으로 설정한다.
|
|
4248
|
+
* 이 속성과 {@link width}나 {@link height}를 같이 지정하면 표시되는 크기를 조정할 수 있다.
|
|
4249
|
+
*/
|
|
4118
4250
|
figureBox?: [number, number] | number;
|
|
4119
4251
|
/**
|
|
4120
4252
|
* figure 표시 너비.<br/>
|
|
4121
|
-
* {@
|
|
4253
|
+
* {@link figureBox}에 figure의 원 크기를 지정하지 않으면 무시된다.
|
|
4122
4254
|
* 또, height를 지정하지 않으면 이 값과 figureBox의 비율에 맞게 height가 자동 설정된다.
|
|
4123
4255
|
*/
|
|
4124
4256
|
width?: number;
|
|
4125
4257
|
/**
|
|
4126
4258
|
* figure 표시 높이.<br/>
|
|
4127
|
-
* {@
|
|
4259
|
+
* {@link figureBox}에 figure의 원 크기를 지정하지 않으면 무시된다.
|
|
4128
4260
|
* 또, width를 지정하지 않으면 이 값과 figureBox의 비율에 맞게 width가 자동 설정된다.
|
|
4129
4261
|
*/
|
|
4130
4262
|
height?: number;
|
|
@@ -4164,19 +4296,19 @@ declare const _VectorHeadType: {
|
|
|
4164
4296
|
/**
|
|
4165
4297
|
* 머리를 따로 표시하지 않는다.
|
|
4166
4298
|
*
|
|
4167
|
-
*
|
|
4299
|
+
*
|
|
4168
4300
|
*/
|
|
4169
4301
|
readonly NONE: "none";
|
|
4170
4302
|
/**
|
|
4171
4303
|
* 닫힌 화살표.<br/>
|
|
4172
4304
|
*
|
|
4173
|
-
*
|
|
4305
|
+
*
|
|
4174
4306
|
*/
|
|
4175
4307
|
readonly CLOSED_ARROW: "closedArrow";
|
|
4176
4308
|
/**
|
|
4177
4309
|
* 열린 화살표.<br/>
|
|
4178
4310
|
*
|
|
4179
|
-
*
|
|
4311
|
+
*
|
|
4180
4312
|
*/
|
|
4181
4313
|
readonly OPEN_ARROW: "openArrow";
|
|
4182
4314
|
};
|
|
@@ -4186,9 +4318,10 @@ declare const VectorSeriesType = "vector";
|
|
|
4186
4318
|
/**
|
|
4187
4319
|
* Vector 시리즈. <br/>
|
|
4188
4320
|
*
|
|
4189
|
-
*
|
|
4321
|
+
*
|
|
4190
4322
|
*/
|
|
4191
4323
|
interface VectorSeriesOptions extends MarkerSeriesOptions {
|
|
4324
|
+
/** @dummy */
|
|
4192
4325
|
type?: typeof VectorSeriesType;
|
|
4193
4326
|
/**
|
|
4194
4327
|
* @default 'openArrow'
|
|
@@ -4214,57 +4347,102 @@ interface VectorSeriesOptions extends MarkerSeriesOptions {
|
|
|
4214
4347
|
*/
|
|
4215
4348
|
startAngle?: number;
|
|
4216
4349
|
}
|
|
4217
|
-
|
|
4350
|
+
/**
|
|
4351
|
+
* 'grid' 모드 'heatmap' 셀에 표시할 기준 값.<br/>
|
|
4352
|
+
* @enum
|
|
4353
|
+
*/
|
|
4354
|
+
declare const _HeatmapCellAggregation: {
|
|
4355
|
+
/**
|
|
4356
|
+
* 셀에 포함된 포인트 개수.<br/>
|
|
4357
|
+
*
|
|
4358
|
+
*
|
|
4359
|
+
*/
|
|
4360
|
+
readonly COUNT: "count";
|
|
4361
|
+
/**
|
|
4362
|
+
* 셀에 포함된 포이트 값들의 합.<br/>
|
|
4363
|
+
*
|
|
4364
|
+
*
|
|
4365
|
+
*/
|
|
4366
|
+
readonly SUM: "sum";
|
|
4367
|
+
/**
|
|
4368
|
+
* 셀에 포함된 포이트 값들의 평균.<br/>
|
|
4369
|
+
*
|
|
4370
|
+
*
|
|
4371
|
+
*/
|
|
4372
|
+
readonly AVG: "avg";
|
|
4373
|
+
};
|
|
4374
|
+
/** @dummy */
|
|
4375
|
+
type HeatmapCellAggregation = typeof _HeatmapCellAggregation[keyof typeof _HeatmapCellAggregation];
|
|
4376
|
+
interface HeatmapGridModeOptions {
|
|
4377
|
+
origin?: MapCoord;
|
|
4378
|
+
/**
|
|
4379
|
+
* 초(") 단위로 지정한다.<br/>
|
|
4380
|
+
* 1도(°)가 3600초이고, 1분(')은 60초이다.
|
|
4381
|
+
* 또, 10초(~30m), 30초(~1km), 60초(~2km) 정도가 된다.<br/>
|
|
4382
|
+
* 이 속성을 지정하지 않고 {@link cellHeight}가 지정되면 그 값을 따른다.
|
|
4383
|
+
*
|
|
4384
|
+
* @default 3600
|
|
4385
|
+
*/
|
|
4218
4386
|
cellWidth?: number;
|
|
4387
|
+
/**
|
|
4388
|
+
* 초(") 단위로 지정한다.<br/>
|
|
4389
|
+
* 1도(°)가 3600초이고, 1분(')은 60초이다.
|
|
4390
|
+
* 또, 10초(~30m), 30초(~1km), 60초(~2km) 정도가 된다.<br/>
|
|
4391
|
+
* 이 속성을 지정하지 않고 {@link cellWidth}가 지정되면 그 값을 따른다.
|
|
4392
|
+
*
|
|
4393
|
+
* @default 3600
|
|
4394
|
+
*/
|
|
4219
4395
|
cellHeight?: number;
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4396
|
+
blur?: number;
|
|
4397
|
+
/**
|
|
4398
|
+
* @default 'sum'
|
|
4399
|
+
*/
|
|
4400
|
+
aggregation?: HeatmapCellAggregation;
|
|
4223
4401
|
}
|
|
4224
|
-
interface
|
|
4402
|
+
interface HeatmapPointModeOptions {
|
|
4225
4403
|
}
|
|
4226
4404
|
/**
|
|
4227
4405
|
* @enum
|
|
4228
4406
|
* 히트맵 표시 방식<br/>
|
|
4229
4407
|
*/
|
|
4230
|
-
declare const
|
|
4408
|
+
declare const _HeatmapMode: {
|
|
4231
4409
|
readonly GRID: "grid";
|
|
4232
4410
|
readonly POINT: "point";
|
|
4233
|
-
readonly KDE: "kde";
|
|
4234
4411
|
};
|
|
4235
4412
|
/** @dummy */
|
|
4236
|
-
type
|
|
4413
|
+
type HeatmapMode = typeof _HeatmapMode[keyof typeof _HeatmapMode];
|
|
4237
4414
|
declare const HeatmapSeriesType = "heatmap";
|
|
4238
4415
|
/**
|
|
4239
4416
|
* @private 미구현
|
|
4240
4417
|
*
|
|
4241
4418
|
* 특정 위치를 중심으로 주변 영역을 칠하는 시리즈.<br/>
|
|
4242
|
-
* {@
|
|
4419
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'heatmap'이다.<br/>
|
|
4243
4420
|
*
|
|
4244
|
-
*
|
|
4421
|
+
*
|
|
4245
4422
|
*/
|
|
4246
4423
|
interface HeatmapSeriesOptions extends MarkerSeriesOptions {
|
|
4424
|
+
/** @dummy */
|
|
4247
4425
|
type?: typeof HeatmapSeriesType;
|
|
4248
4426
|
/**
|
|
4249
4427
|
* 히트맵 표시 방식.
|
|
4250
4428
|
*
|
|
4251
4429
|
* @default 'grid'
|
|
4252
4430
|
*/
|
|
4253
|
-
mode?:
|
|
4254
|
-
grid?:
|
|
4255
|
-
point?:
|
|
4256
|
-
kde?: HitmapKdeModeOptions;
|
|
4431
|
+
mode?: HeatmapMode;
|
|
4432
|
+
grid?: HeatmapGridModeOptions;
|
|
4433
|
+
point?: HeatmapPointModeOptions;
|
|
4257
4434
|
}
|
|
4258
4435
|
declare const RegionSeriesType = "region";
|
|
4259
4436
|
/**
|
|
4260
4437
|
* @private 미구현
|
|
4261
4438
|
*
|
|
4262
4439
|
* Region 시리즈.<br/>
|
|
4263
|
-
* {@
|
|
4440
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'region'이다.<br/>
|
|
4264
4441
|
*
|
|
4265
|
-
*
|
|
4442
|
+
*
|
|
4266
4443
|
*/
|
|
4267
4444
|
interface RegionSeriesOptions extends MarkerSeriesOptions {
|
|
4445
|
+
/** @dummy */
|
|
4268
4446
|
type?: typeof RegionSeriesType;
|
|
4269
4447
|
}
|
|
4270
4448
|
interface PanelSeriesSectionOptions extends ChartItemOptions {
|
|
@@ -4288,22 +4466,23 @@ interface PanelSeriesLabelOptions extends DataPointLabelOptions {
|
|
|
4288
4466
|
declare const PanelSeriesType = "panel";
|
|
4289
4467
|
/**
|
|
4290
4468
|
* 타이틀과 데이터포인트 관련 내용을 표시하는 두 영역을 표시하는 시리즈.<br/>
|
|
4291
|
-
* {@
|
|
4469
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'panel'이다.<br/>
|
|
4292
4470
|
*
|
|
4293
4471
|
* @fiddle series/panel-series Panel 시리즈 데모
|
|
4294
4472
|
*
|
|
4295
|
-
*
|
|
4473
|
+
*
|
|
4296
4474
|
*/
|
|
4297
4475
|
interface PanelSeriesOptions extends CoordBaseSeriesOptions {
|
|
4476
|
+
/** @dummy */
|
|
4298
4477
|
type?: typeof PanelSeriesType;
|
|
4299
4478
|
/**
|
|
4300
|
-
* {@
|
|
4479
|
+
* {@link header}와 본체를 배치하는 방향.<br />
|
|
4301
4480
|
*
|
|
4302
4481
|
* @default 'vertical'
|
|
4303
4482
|
*/
|
|
4304
4483
|
orientation?: 'vertical' | 'horizontal';
|
|
4305
4484
|
/**
|
|
4306
|
-
* {@
|
|
4485
|
+
* {@link https://realmap.co.kr/config/config/series/panel/pointLabel#visible visible} 기본값이 false이다.
|
|
4307
4486
|
*/
|
|
4308
4487
|
pointLabel?: PanelSeriesLabelOptions;
|
|
4309
4488
|
header?: PanelSeriesHeaderOptions;
|
|
@@ -4333,11 +4512,12 @@ interface TileWebProvider {
|
|
|
4333
4512
|
declare const TiledWebSeriesType = "tiledweb";
|
|
4334
4513
|
/**
|
|
4335
4514
|
* 지도 해상도에 맞는 조각 그림들로 맵 배경을 채우는 시리즈.<br/>
|
|
4336
|
-
* {@
|
|
4515
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'tiledweb'이다.<br/>
|
|
4337
4516
|
*
|
|
4338
|
-
*
|
|
4517
|
+
*
|
|
4339
4518
|
*/
|
|
4340
4519
|
interface TiledWebSeriesOptions extends SeriesOptions {
|
|
4520
|
+
/** @dummy */
|
|
4341
4521
|
type?: typeof TiledWebSeriesType;
|
|
4342
4522
|
/**
|
|
4343
4523
|
* @default 'osm'
|
|
@@ -4352,6 +4532,43 @@ interface TiledWebSeriesOptions extends SeriesOptions {
|
|
|
4352
4532
|
*/
|
|
4353
4533
|
subdomain?: string;
|
|
4354
4534
|
}
|
|
4535
|
+
interface HtmlSeriesLabelOptions extends DataPointLabelOptions {
|
|
4536
|
+
/**
|
|
4537
|
+
* @append
|
|
4538
|
+
* @default false
|
|
4539
|
+
*/
|
|
4540
|
+
visible?: boolean;
|
|
4541
|
+
}
|
|
4542
|
+
declare const HtmlSeriesType = "html";
|
|
4543
|
+
/**
|
|
4544
|
+
* 지정된 지점에 html을 표시하는 시리즈.<br/>
|
|
4545
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'html'이다.<br/>
|
|
4546
|
+
*
|
|
4547
|
+
* @fiddle series/html-series Html 시리즈 데모
|
|
4548
|
+
*
|
|
4549
|
+
*
|
|
4550
|
+
*/
|
|
4551
|
+
interface HtmlSeriesOptions extends ValueSeriesOptions {
|
|
4552
|
+
type?: typeof HtmlSeriesType;
|
|
4553
|
+
/**
|
|
4554
|
+
* {@link https://realmap.co.kr/config/config/series/map/pointLabel#visible visible} 기본값이 false이다.
|
|
4555
|
+
*/
|
|
4556
|
+
pointLabel?: HtmlSeriesLabelOptions | boolean;
|
|
4557
|
+
htmlField?: string;
|
|
4558
|
+
html?: string;
|
|
4559
|
+
htmlWidth?: number;
|
|
4560
|
+
htmlHeight?: number;
|
|
4561
|
+
/**
|
|
4562
|
+
* @default 'center'
|
|
4563
|
+
*/
|
|
4564
|
+
position?: PointViewPosition;
|
|
4565
|
+
/**
|
|
4566
|
+
* {@link html}로 지정된 html 텍스트에 포함된 param 값을 지정하는 객체나 콜백. #311<br/>
|
|
4567
|
+
*/
|
|
4568
|
+
params?: {
|
|
4569
|
+
[key: string]: any;
|
|
4570
|
+
} | ((param: string) => any);
|
|
4571
|
+
}
|
|
4355
4572
|
/**
|
|
4356
4573
|
* track 시리즈 outline 설정 옵션.<br/>
|
|
4357
4574
|
*/
|
|
@@ -4360,11 +4577,12 @@ interface TrackSeriesOutlineOptions extends ChartItemOptions {
|
|
|
4360
4577
|
declare const TrackSeriesType = "track";
|
|
4361
4578
|
/**
|
|
4362
4579
|
* 출발 지점에서 도착 지점까지 복수 지점으로 이어지는 경로를 표시하는 시리즈.<br/>
|
|
4363
|
-
* {@
|
|
4580
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'track'이다.<br/>
|
|
4364
4581
|
*
|
|
4365
|
-
*
|
|
4582
|
+
*
|
|
4366
4583
|
*/
|
|
4367
4584
|
interface TrackSeriesOptions extends SeriesOptions {
|
|
4585
|
+
/** @dummy */
|
|
4368
4586
|
type?: typeof TrackSeriesType;
|
|
4369
4587
|
/**
|
|
4370
4588
|
* 각 지점을 표시하는 모양.<br/>
|
|
@@ -4372,7 +4590,7 @@ interface TrackSeriesOptions extends SeriesOptions {
|
|
|
4372
4590
|
*/
|
|
4373
4591
|
shape?: Shape;
|
|
4374
4592
|
/**
|
|
4375
|
-
* 지점 표시 {@
|
|
4593
|
+
* 지점 표시 {@link shape 도형}의 반지름.<br/>
|
|
4376
4594
|
*
|
|
4377
4595
|
* @default 3 픽셀
|
|
4378
4596
|
*/
|
|
@@ -4387,9 +4605,9 @@ declare const BandSeriesType = "band";
|
|
|
4387
4605
|
* @private 미구현
|
|
4388
4606
|
*
|
|
4389
4607
|
* Band Series<br/>
|
|
4390
|
-
* {@
|
|
4608
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'band'이다.<br/>
|
|
4391
4609
|
*
|
|
4392
|
-
*
|
|
4610
|
+
*
|
|
4393
4611
|
*/
|
|
4394
4612
|
interface BandSeriesOptions extends SeriesOptions {
|
|
4395
4613
|
type?: typeof BandSeriesType;
|
|
@@ -4399,9 +4617,9 @@ declare const TableSeriesType = "table";
|
|
|
4399
4617
|
* @private 미구현
|
|
4400
4618
|
*
|
|
4401
4619
|
* Table Series<br/>
|
|
4402
|
-
* {@
|
|
4620
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'table'이다.<br/>
|
|
4403
4621
|
*
|
|
4404
|
-
*
|
|
4622
|
+
*
|
|
4405
4623
|
*/
|
|
4406
4624
|
interface TableSeriesOptions extends SeriesOptions {
|
|
4407
4625
|
type?: typeof TableSeriesType;
|
|
@@ -4411,20 +4629,21 @@ declare const SankeySeriesType = "sankey";
|
|
|
4411
4629
|
* @private 미구현
|
|
4412
4630
|
*
|
|
4413
4631
|
* Sankey Series<br/>
|
|
4414
|
-
* {@
|
|
4632
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'sankey'이다.<br/>
|
|
4415
4633
|
*
|
|
4416
|
-
*
|
|
4634
|
+
*
|
|
4417
4635
|
*/
|
|
4418
4636
|
interface SankeySeriesOptions extends SeriesOptions {
|
|
4637
|
+
/** @dummy */
|
|
4419
4638
|
type?: typeof SankeySeriesType;
|
|
4420
4639
|
}
|
|
4421
4640
|
/**
|
|
4422
4641
|
* @private 미구현
|
|
4423
4642
|
*
|
|
4424
4643
|
* WebGL 시리즈 옵션 base.<br/>
|
|
4425
|
-
* {@
|
|
4644
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'table'이다.<br/>
|
|
4426
4645
|
*
|
|
4427
|
-
*
|
|
4646
|
+
*
|
|
4428
4647
|
* @module gl
|
|
4429
4648
|
*/
|
|
4430
4649
|
interface GLSeriesOptions extends ValueSeriesOptions {
|
|
@@ -4434,14 +4653,15 @@ declare const GLPointSeriesType = "glpoint";
|
|
|
4434
4653
|
* @private 미구현
|
|
4435
4654
|
*
|
|
4436
4655
|
* WebGL 포인트 시리즈 옵션.<br/>
|
|
4437
|
-
* {@
|
|
4656
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 'glpoint'이다.<br/>
|
|
4438
4657
|
*
|
|
4439
|
-
*
|
|
4658
|
+
*
|
|
4440
4659
|
*/
|
|
4441
4660
|
interface GLPointSeriesOptions extends GLSeriesOptions {
|
|
4661
|
+
/** @dummy */
|
|
4442
4662
|
type?: typeof GLPointSeriesType;
|
|
4443
4663
|
/**
|
|
4444
|
-
* 데이터포인트 {@
|
|
4664
|
+
* 데이터포인트 {@link shape 도형}의 반지름.
|
|
4445
4665
|
*
|
|
4446
4666
|
* @default 5
|
|
4447
4667
|
*/
|
|
@@ -4471,7 +4691,7 @@ interface CircleGaugeRimOptions extends ChartItemOptions {
|
|
|
4471
4691
|
interface CircleGaugeValueRimOptions extends CircleGaugeRimOptions {
|
|
4472
4692
|
/**
|
|
4473
4693
|
* 테두리 굵기.
|
|
4474
|
-
* 픽셀 단위의 크기나, {@
|
|
4694
|
+
* 픽셀 단위의 크기나, {@link CircularGaugeOptions.radius radius}와 {@link CircularGaugeOptions.innerRadius innerRadius}로 결정된 원호 굵기에 대한 상대적 크기로 지정할 수 있다.
|
|
4475
4695
|
* 예) 지정하지 않거나 '100%'로 지정하면 게이지 원호 굵기와 동일하게 표시된다.
|
|
4476
4696
|
*
|
|
4477
4697
|
*/
|
|
@@ -4543,9 +4763,10 @@ interface CircleGaugeLabelOptions extends ChartTextOptions {
|
|
|
4543
4763
|
declare const CircleGaugeType = "gauge";
|
|
4544
4764
|
/**
|
|
4545
4765
|
* 원행 게이지 설정 모델.<br/>
|
|
4546
|
-
*
|
|
4766
|
+
*
|
|
4547
4767
|
*/
|
|
4548
4768
|
interface CircleGaugeOptions extends ValueGaugeOptions {
|
|
4769
|
+
/** @dummy */
|
|
4549
4770
|
type?: typeof CircleGaugeType;
|
|
4550
4771
|
/**
|
|
4551
4772
|
* 게이지 내부 원 설정 모델.<br/>
|
|
@@ -4581,7 +4802,7 @@ interface CircleGaugeOptions extends ValueGaugeOptions {
|
|
|
4581
4802
|
/**
|
|
4582
4803
|
* 게이지 중심 수직 위치.
|
|
4583
4804
|
* 픽셀 단위의 크기나,
|
|
4584
|
-
* {@
|
|
4805
|
+
* {@link width}, {@link height}, {@link size} 등으로 지정한
|
|
4585
4806
|
* 데이터포인터 게이지 영역 전체 높이에 대한 상대적 크기로 지정할 수 있다.
|
|
4586
4807
|
*
|
|
4587
4808
|
* @default '50%'
|
|
@@ -4590,7 +4811,7 @@ interface CircleGaugeOptions extends ValueGaugeOptions {
|
|
|
4590
4811
|
/**
|
|
4591
4812
|
* 게이지 원호의 반지름.
|
|
4592
4813
|
* 픽셀 단위의 크기나,
|
|
4593
|
-
* {@
|
|
4814
|
+
* {@link width}, {@link height}, {@link size} 등으로 지정한
|
|
4594
4815
|
* 데이터포인터 게이지 영역 전체 크기(너비와 높이 중 작은 값)에 대한 상대적 크기로 지정할 수 있다.
|
|
4595
4816
|
* '50%'로 지정하면 데이터포인터 게이지 영역의 width나 height중 작은 크기와 동일한 반지름으로 표시된다.
|
|
4596
4817
|
*
|
|
@@ -4600,8 +4821,8 @@ interface CircleGaugeOptions extends ValueGaugeOptions {
|
|
|
4600
4821
|
/**
|
|
4601
4822
|
* 내부 원호의 반지름.
|
|
4602
4823
|
* 픽셀 단위의 크기나,
|
|
4603
|
-
* {@
|
|
4604
|
-
* {@
|
|
4824
|
+
* {@link width}, {@link height}, {@link size} 등으로 지정한
|
|
4825
|
+
* {@link radius}에 대한 상대적 크기로 지정할 수 있다.
|
|
4605
4826
|
* '100%'이면 게이지 원호의 반지름과 동일하다.
|
|
4606
4827
|
*
|
|
4607
4828
|
*/
|
|
@@ -4609,8 +4830,8 @@ interface CircleGaugeOptions extends ValueGaugeOptions {
|
|
|
4609
4830
|
/**
|
|
4610
4831
|
* 값을 나타내는 원호의 반지름.
|
|
4611
4832
|
* 픽셀 단위의 크기나,
|
|
4612
|
-
* {@
|
|
4613
|
-
* 지정하지 않거나 '100%'이고 {@
|
|
4833
|
+
* {@link radius}와 {@link innerRadius}로 결정된 기본 rim의 중점에 대한 상대적 크기로 지정할 수 있다.
|
|
4834
|
+
* 지정하지 않거나 '100%'이고 {@link valueRim}의 {@link valueRim.thickness 두께}가
|
|
4614
4835
|
* 기본 rim의 두께와 동일하면 게이지 원호의 반지름과 동일하게 표시된다.
|
|
4615
4836
|
*/
|
|
4616
4837
|
valueRadius?: PercentSize;
|
|
@@ -4685,7 +4906,7 @@ interface ClockGaugeSecondHandOptions extends ClockGaugeHandOptions {
|
|
|
4685
4906
|
*/
|
|
4686
4907
|
animatable?: boolean;
|
|
4687
4908
|
/**
|
|
4688
|
-
* {@
|
|
4909
|
+
* {@link animatable}이 true일 때 애니메이션 기간.
|
|
4689
4910
|
* 밀리초 단위로 지정한다.
|
|
4690
4911
|
*
|
|
4691
4912
|
*/
|
|
@@ -4753,9 +4974,10 @@ interface ClockGaugeLabelOptions extends ChartTextOptions {
|
|
|
4753
4974
|
declare const ClockGaugeType = "clock";
|
|
4754
4975
|
/**
|
|
4755
4976
|
* 시계 게이지 설정 모델.<br/>
|
|
4756
|
-
*
|
|
4977
|
+
*
|
|
4757
4978
|
*/
|
|
4758
4979
|
interface ClockGaugeOptions extends GaugeOptions {
|
|
4980
|
+
/** @dummy */
|
|
4759
4981
|
type?: typeof ClockGaugeType;
|
|
4760
4982
|
/**
|
|
4761
4983
|
* @default 90
|
|
@@ -4764,7 +4986,7 @@ interface ClockGaugeOptions extends GaugeOptions {
|
|
|
4764
4986
|
/**
|
|
4765
4987
|
* 게이지 중심 수평 위치.
|
|
4766
4988
|
* 픽셀 단위의 크기나,
|
|
4767
|
-
* {@
|
|
4989
|
+
* {@link width}, {@link height}, {@link size} 등으로 지정한
|
|
4768
4990
|
* 데이터포인터 게이지 영역 전체 너비에 대한 상대적 크기로 지정할 수 있다.
|
|
4769
4991
|
*
|
|
4770
4992
|
* @default '50%'
|
|
@@ -4773,7 +4995,7 @@ interface ClockGaugeOptions extends GaugeOptions {
|
|
|
4773
4995
|
/**
|
|
4774
4996
|
* 게이지 중심 수직 위치.
|
|
4775
4997
|
* 픽셀 단위의 크기나,
|
|
4776
|
-
* {@
|
|
4998
|
+
* {@link width}, {@link height}, {@link size} 등으로 지정한
|
|
4777
4999
|
* 데이터포인터 게이지 영역 전체 높이에 대한 상대적 크기로 지정할 수 있다.
|
|
4778
5000
|
*
|
|
4779
5001
|
* @default '50%'
|
|
@@ -4782,7 +5004,7 @@ interface ClockGaugeOptions extends GaugeOptions {
|
|
|
4782
5004
|
/**
|
|
4783
5005
|
* 게이지 원호의 반지름.
|
|
4784
5006
|
* 픽셀 단위의 크기나,
|
|
4785
|
-
* {@
|
|
5007
|
+
* {@link width}, {@link height}, {@link size} 등으로 지정한
|
|
4786
5008
|
* 데이터포인터 게이지 크기(너비와 높이 중 작은 값)에 대한 상대적 크기로 지정할 수 있다.
|
|
4787
5009
|
* '50%'로 지정하면 데이터포인터 게이지의 width나 height중 작은 크기와 동일한 반지름으로 표시된다.
|
|
4788
5010
|
*
|
|
@@ -4848,7 +5070,7 @@ interface ClockGaugeOptions extends GaugeOptions {
|
|
|
4848
5070
|
*/
|
|
4849
5071
|
active?: boolean;
|
|
4850
5072
|
}
|
|
4851
|
-
type SeriesOptionsType = MapSeriesOptions | FeatureSeriesOptions | PointSeriesOptions | PinSeriesOptions | FigureSeriesOptions | VectorSeriesOptions | RouteSeriesOptions | ImageSeriesOptions | BarSeriesOptions | PieSeriesOptions | WaffleSeriesOptions | LineSeriesOptions | BubbleSeriesOptions | HeatmapSeriesOptions | PanelSeriesOptions | TiledWebSeriesOptions | TrackSeriesOptions | SankeySeriesOptions | CircleGaugeOptions | ClockGaugeOptions | RegionSeriesOptions | GLPointSeriesOptions;
|
|
5073
|
+
type SeriesOptionsType = MapSeriesOptions | FeatureSeriesOptions | PointSeriesOptions | PinSeriesOptions | FigureSeriesOptions | VectorSeriesOptions | RouteSeriesOptions | ImageSeriesOptions | BarSeriesOptions | PieSeriesOptions | WaffleSeriesOptions | LineSeriesOptions | BubbleSeriesOptions | HeatmapSeriesOptions | FeatureSeriesOptions | PanelSeriesOptions | TiledWebSeriesOptions | HtmlSeriesOptions | TrackSeriesOptions | SankeySeriesOptions | CircleGaugeOptions | ClockGaugeOptions | RegionSeriesOptions | GLPointSeriesOptions;
|
|
4852
5074
|
|
|
4853
5075
|
/**
|
|
4854
5076
|
* 시리즈 load animation 타입.
|
|
@@ -4911,9 +5133,9 @@ type LegendLayout = typeof _LegendLayout[keyof typeof _LegendLayout];
|
|
|
4911
5133
|
* 맵차트 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 범례 설정 모델.<br/>
|
|
4912
5134
|
* visible 기본값이 undefined이고,
|
|
4913
5135
|
* 따로 지정하지 않으면 시리즈가 둘 이상 포함돼야 legend가 표시된다.<br/>
|
|
4914
|
-
* {@link guide
|
|
5136
|
+
* {@link https://realmap.co.kr/guide/legend 범례 개요} 페이지를 참조한다.
|
|
4915
5137
|
*
|
|
4916
|
-
*
|
|
5138
|
+
*
|
|
4917
5139
|
*/
|
|
4918
5140
|
interface LegendOptions extends MapSimpleWidgetOptions {
|
|
4919
5141
|
/**
|
|
@@ -4999,7 +5221,7 @@ interface LegendOptions extends MapSimpleWidgetOptions {
|
|
|
4999
5221
|
}
|
|
5000
5222
|
|
|
5001
5223
|
/**
|
|
5002
|
-
* @
|
|
5224
|
+
* @private
|
|
5003
5225
|
*/
|
|
5004
5226
|
interface ILegendSource {
|
|
5005
5227
|
visible: boolean;
|
|
@@ -5010,7 +5232,7 @@ interface ILegendSource {
|
|
|
5010
5232
|
setLegendMarkerStyle?(marker: RmElement): void;
|
|
5011
5233
|
}
|
|
5012
5234
|
/**
|
|
5013
|
-
* @
|
|
5235
|
+
* @private
|
|
5014
5236
|
*/
|
|
5015
5237
|
declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
5016
5238
|
legend: Legend;
|
|
@@ -5023,9 +5245,9 @@ declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
|
5023
5245
|
* 맵차트 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 범례 설정 모델.<br/>
|
|
5024
5246
|
* visible 기본값이 undefined이고,
|
|
5025
5247
|
* 따로 지정하지 않으면 시리즈가 둘 이상 포함돼야 legend가 표시된다.<br/>
|
|
5026
|
-
* {@link guide
|
|
5248
|
+
* {@link https://realmap.co.kr/guide/legend 범례 개요} 페이지를 참조한다.
|
|
5027
5249
|
*
|
|
5028
|
-
*
|
|
5250
|
+
*
|
|
5029
5251
|
*/
|
|
5030
5252
|
declare class Legend extends MapSimpleWidget<LegendOptions> {
|
|
5031
5253
|
static defaults: LegendOptions;
|
|
@@ -5073,6 +5295,7 @@ interface MapProjection {
|
|
|
5073
5295
|
getYRange(latFrom: number, latTo: number): MapCoord;
|
|
5074
5296
|
project(coord: MapCoord): MapCoord;
|
|
5075
5297
|
backward(coord: MapCoord): MapCoord;
|
|
5298
|
+
projectCoord(coord: MapCoord): MapCoord;
|
|
5076
5299
|
clip(pts: MapCoord[]): MapCoord[];
|
|
5077
5300
|
isVisible(coord: MapCoord): boolean;
|
|
5078
5301
|
getVisible(coord: MapCoord): MapCoord;
|
|
@@ -5267,6 +5490,38 @@ declare class Tooltip extends ChartItem<TooltipOptions> {
|
|
|
5267
5490
|
protected _doApply(options: TooltipOptions): void;
|
|
5268
5491
|
}
|
|
5269
5492
|
|
|
5493
|
+
interface IPoint {
|
|
5494
|
+
px: number;
|
|
5495
|
+
py: number;
|
|
5496
|
+
moves?: number;
|
|
5497
|
+
cluster?: any;
|
|
5498
|
+
}
|
|
5499
|
+
interface ICluster {
|
|
5500
|
+
cx: number;
|
|
5501
|
+
cy: number;
|
|
5502
|
+
points: IPoint[];
|
|
5503
|
+
prevs: IPoint[];
|
|
5504
|
+
}
|
|
5505
|
+
/**
|
|
5506
|
+
* Point custering 모델.<br/>
|
|
5507
|
+
*/
|
|
5508
|
+
declare class PointCluster extends ChartItem<PointClusterOptions> {
|
|
5509
|
+
static defaults: PointClusterOptions;
|
|
5510
|
+
private _runner;
|
|
5511
|
+
private _ranges;
|
|
5512
|
+
get acitve(): boolean;
|
|
5513
|
+
get clusters(): ICluster[];
|
|
5514
|
+
run(points: IPoint[], width: number, height: number, onPrepare: (clusters: ICluster[]) => void, onStep: (step: number, clusters: ICluster[]) => void, onComplete?: (clusters: ICluster[]) => void): void;
|
|
5515
|
+
stop(): void;
|
|
5516
|
+
updateClusters(): void;
|
|
5517
|
+
clear(): void;
|
|
5518
|
+
isVisible(cluster: ICluster): boolean;
|
|
5519
|
+
getRange(cluster: ICluster): PointClusterRange;
|
|
5520
|
+
isExpandable(): boolean;
|
|
5521
|
+
protected _doApply(op: PointClusterOptions): void;
|
|
5522
|
+
private $_parseRanges;
|
|
5523
|
+
}
|
|
5524
|
+
|
|
5270
5525
|
type GetLabelPositionFn = (p: DataPoint) => PointLabelPosition;
|
|
5271
5526
|
/**
|
|
5272
5527
|
* Series data point label options.
|
|
@@ -5317,6 +5572,8 @@ interface ISeries<T extends DataPoint = DataPoint> {
|
|
|
5317
5572
|
};
|
|
5318
5573
|
select(p: ISelectionSource): void;
|
|
5319
5574
|
unselect(p: ISelectionSource): void;
|
|
5575
|
+
selectList(p: ISelectionSource[]): void;
|
|
5576
|
+
unselectList(p: ISelectionSource[]): void;
|
|
5320
5577
|
}
|
|
5321
5578
|
/**
|
|
5322
5579
|
* MapChart series base.
|
|
@@ -5381,22 +5638,23 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5381
5638
|
* 맵차트의 다른 구성 요소에서 이 시리즈를 참조할 때 사용되며,
|
|
5382
5639
|
* 레전드나 툴팁에서 시리즈를 나타내는 텍스트로도 사용된다.
|
|
5383
5640
|
*
|
|
5384
|
-
*
|
|
5641
|
+
*
|
|
5385
5642
|
*/
|
|
5386
5643
|
get name(): string;
|
|
5387
5644
|
/**
|
|
5388
5645
|
* 데이터포인트 label 설정 모델.
|
|
5389
5646
|
*
|
|
5390
|
-
*
|
|
5647
|
+
*
|
|
5391
5648
|
*/
|
|
5392
5649
|
get pointLabel(): DataPointLabel<DataPointLabelOptions>;
|
|
5393
5650
|
get map(): MapModel;
|
|
5394
5651
|
get callout(): DataPointCallout<DataPointCalloutOptions>;
|
|
5652
|
+
get cluster(): PointCluster;
|
|
5395
5653
|
displayName(): string;
|
|
5396
5654
|
/**
|
|
5397
5655
|
* 데이터포인터들을 생성하는 데 사용되는 값 목록.
|
|
5398
5656
|
*
|
|
5399
|
-
*
|
|
5657
|
+
*
|
|
5400
5658
|
*/
|
|
5401
5659
|
get data(): any;
|
|
5402
5660
|
private $_setData;
|
|
@@ -5445,7 +5703,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5445
5703
|
loadData(data: any, animate?: boolean): this;
|
|
5446
5704
|
/**
|
|
5447
5705
|
* 데이터포인트를 하나 추가한다.<br/>
|
|
5448
|
-
* 데이터포인트 하나를 제거하라면 {@
|
|
5706
|
+
* 데이터포인트 하나를 제거하라면 {@link removePoint}를 사용한다.
|
|
5449
5707
|
*
|
|
5450
5708
|
* @param source 데이터포인트 정보
|
|
5451
5709
|
* @param index 추가 위치. 0보다 적으면 마지막에 추가된다.
|
|
@@ -5455,7 +5713,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5455
5713
|
addPoint(source: any, index?: number, duration?: number): DataPoint;
|
|
5456
5714
|
/**
|
|
5457
5715
|
* 데이터포인트를 하나 이상 추가한다.<br/>
|
|
5458
|
-
* 여러 데이터포인트 한꺼번에 제거하라면 {@
|
|
5716
|
+
* 여러 데이터포인트 한꺼번에 제거하라면 {@link removePointList}를 사용한다.
|
|
5459
5717
|
*
|
|
5460
5718
|
* @param source 데이터포인트 정보 목록
|
|
5461
5719
|
* @param index 추가 위치. 0보다 적으면 마지막에 추가된다.
|
|
@@ -5465,7 +5723,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5465
5723
|
addPointList(source: any[], index?: number, duration?: number): DataPoint[];
|
|
5466
5724
|
/**
|
|
5467
5725
|
* 지정한 데이터포인트를 제거한다.<br/>
|
|
5468
|
-
* 데이터포인트 하나를 추가하라면 {@
|
|
5726
|
+
* 데이터포인트 하나를 추가하라면 {@link addPoint}를 사용한다.
|
|
5469
5727
|
*
|
|
5470
5728
|
* @param p 삭제할 데이터포인트 객체나 인덱스 또는 문자열 id
|
|
5471
5729
|
* @param duration 0보다 크면 삭제 애니메이션 표시
|
|
@@ -5475,7 +5733,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5475
5733
|
private $_remove;
|
|
5476
5734
|
/**
|
|
5477
5735
|
* 복수 개 데이터포인트를 제거한다.<br/>
|
|
5478
|
-
* 데이터포인트를 여러개 동시에 추가하라면 {@
|
|
5736
|
+
* 데이터포인트를 여러개 동시에 추가하라면 {@link addPointList}를 사용한다.
|
|
5479
5737
|
*
|
|
5480
5738
|
* @param p 삭제할 데이터포인트 객체나 인덱스 또는 문자열 id 목록.
|
|
5481
5739
|
* @param duration 0보다 크면 삭제 애니메이션 표시
|
|
@@ -5500,6 +5758,8 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5500
5758
|
canSelect(): boolean;
|
|
5501
5759
|
select(p: ISelectionSource): void;
|
|
5502
5760
|
unselect(p: ISelectionSource): void;
|
|
5761
|
+
selectList(list: ISelectionSource[]): void;
|
|
5762
|
+
unselectList(list: ISelectionSource[]): void;
|
|
5503
5763
|
private $_bringToFront;
|
|
5504
5764
|
/**
|
|
5505
5765
|
* rendering lock.<br/>
|
|
@@ -5508,6 +5768,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5508
5768
|
unlock(): void;
|
|
5509
5769
|
_setLegend(legend: object): void;
|
|
5510
5770
|
protected _doApply(op: OP): void;
|
|
5771
|
+
protected _isPointsDirty(): boolean;
|
|
5511
5772
|
_prepareRender(): void;
|
|
5512
5773
|
protected _doAfterRender(): void;
|
|
5513
5774
|
protected _doMapChanged(): void;
|
|
@@ -5651,9 +5912,9 @@ interface ISelectionSource {
|
|
|
5651
5912
|
setSelected(selected: boolean): void;
|
|
5652
5913
|
}
|
|
5653
5914
|
interface ISelectionOwner {
|
|
5654
|
-
selectionChanged(selection: MapSelection): void;
|
|
5655
|
-
selectionItemAdded(item: ISelectionSource): void;
|
|
5656
|
-
selectionItemRemoved(item: ISelectionSource): void;
|
|
5915
|
+
selectionChanged(selection: MapSelection[]): void;
|
|
5916
|
+
selectionItemAdded(item: ISelectionSource[]): void;
|
|
5917
|
+
selectionItemRemoved(item: ISelectionSource[]): void;
|
|
5657
5918
|
selectionCleared(): void;
|
|
5658
5919
|
}
|
|
5659
5920
|
declare class MapSelection extends RmObject {
|
|
@@ -5666,7 +5927,7 @@ declare class MapSelection extends RmObject {
|
|
|
5666
5927
|
get(index: number): ISelectionSource;
|
|
5667
5928
|
contains(source: ISelectionSource): boolean;
|
|
5668
5929
|
clear(): boolean;
|
|
5669
|
-
add(series: ISeries,
|
|
5930
|
+
add(series: ISeries, _list: ISelectionSource[], clear?: boolean): boolean;
|
|
5670
5931
|
remove(series: ISeries, source: ISelectionSource): boolean;
|
|
5671
5932
|
toggle(series: ISeries, source: ISelectionSource): boolean;
|
|
5672
5933
|
protected _changed(): void;
|
|
@@ -5718,6 +5979,10 @@ declare class DataPoint implements ISelectionSource {
|
|
|
5718
5979
|
private _selected;
|
|
5719
5980
|
_prev: any;
|
|
5720
5981
|
_vr: number;
|
|
5982
|
+
cluster: any;
|
|
5983
|
+
px: number;
|
|
5984
|
+
py: number;
|
|
5985
|
+
moves: number;
|
|
5721
5986
|
constructor(source?: any);
|
|
5722
5987
|
setSelected(selected: boolean): void;
|
|
5723
5988
|
isSelected(): boolean;
|
|
@@ -5818,7 +6083,7 @@ interface GradientOptions extends AssetItemOptions {
|
|
|
5818
6083
|
* 시작점과 끝점 사이에 색상이 서서히 변경되는 효과를 표시한다.<br/>
|
|
5819
6084
|
* 채우기 색이나 선 색으로 사용될 수 있다.
|
|
5820
6085
|
*
|
|
5821
|
-
*
|
|
6086
|
+
*
|
|
5822
6087
|
*/
|
|
5823
6088
|
interface LinearGradientOptions extends GradientOptions {
|
|
5824
6089
|
/**
|
|
@@ -5831,7 +6096,7 @@ interface LinearGradientOptions extends GradientOptions {
|
|
|
5831
6096
|
* 원 중심에서 바깥으로 색상이 변해가는 효과를 표시한다.<br/>
|
|
5832
6097
|
* 채우기 색이나 선 색으로 사용될 수 있다.
|
|
5833
6098
|
*
|
|
5834
|
-
*
|
|
6099
|
+
*
|
|
5835
6100
|
*/
|
|
5836
6101
|
interface RadialGradientOptions extends GradientOptions {
|
|
5837
6102
|
/**
|
|
@@ -5887,10 +6152,10 @@ interface ImageListOptions extends AssetItemOptions {
|
|
|
5887
6152
|
*/
|
|
5888
6153
|
type PaletteMode = 'normal' | 'shuffle' | 'random';
|
|
5889
6154
|
/**
|
|
5890
|
-
* 색상 목록을 미리 지정하고 {@link config
|
|
6155
|
+
* 색상 목록을 미리 지정하고 {@link https://realmap.co.kr/config/config/base/series#pointcolors pointcolors} 등에 적용할 수 있다.<br/>
|
|
5891
6156
|
* 목록에서 색상을 꺼내오는 방식은 {@link mode} 속성으로 지정한다.
|
|
5892
6157
|
*
|
|
5893
|
-
*
|
|
6158
|
+
*
|
|
5894
6159
|
*/
|
|
5895
6160
|
interface ColorListOptions extends AssetItemOptions {
|
|
5896
6161
|
/**
|
|
@@ -5945,12 +6210,12 @@ declare class Credits extends ChartItem<CreditsOptions> {
|
|
|
5945
6210
|
/**
|
|
5946
6211
|
* 컬러, 버블 스케일 등의 스케일 기반 설정.<br/>
|
|
5947
6212
|
*
|
|
5948
|
-
*
|
|
6213
|
+
*
|
|
5949
6214
|
*/
|
|
5950
6215
|
interface ScaleOptions extends MapSimpleWidgetOptions {
|
|
5951
6216
|
/**
|
|
5952
|
-
* {@
|
|
5953
|
-
* 시리즈의 {@
|
|
6217
|
+
* {@link minValue}나 {@link maxValue}를 지정하지 않는 경우 범위 기준값을 계산할
|
|
6218
|
+
* 시리즈의 {@link https://realmap.co.kr/config/config/base/series#name 이름}이나 {@link Series#index}.<br />
|
|
5954
6219
|
* 이 속성을 지정하지 않으면 첫 번째 map 시리즈의 범위를 계산한다.
|
|
5955
6220
|
*/
|
|
5956
6221
|
series?: string | number;
|
|
@@ -6072,12 +6337,12 @@ interface ColorScaleTickOptions extends ChartItemOptions {
|
|
|
6072
6337
|
}
|
|
6073
6338
|
interface ColorScaleStep {
|
|
6074
6339
|
/**
|
|
6075
|
-
* 첫 step인 경우 설정하지 않으면 {@
|
|
6340
|
+
* 첫 step인 경우 설정하지 않으면 {@link steps.minValue minValue}로 지정된다.<br />
|
|
6076
6341
|
* 숫자나 '%'로 끝나는 백분율로 지정할 수 있다.
|
|
6077
6342
|
*/
|
|
6078
6343
|
from?: number | string;
|
|
6079
6344
|
/**
|
|
6080
|
-
* 마지막 step인 경우 설정하지 않으면 {@
|
|
6345
|
+
* 마지막 step인 경우 설정하지 않으면 {@link steps.maxValue maxValue}로 지정된다.<br />
|
|
6081
6346
|
* 숫자나 '%'로 끝나는 백분율로 지정할 수 있다.
|
|
6082
6347
|
*/
|
|
6083
6348
|
to?: number | string;
|
|
@@ -6087,18 +6352,18 @@ interface ColorScaleStep {
|
|
|
6087
6352
|
label?: string;
|
|
6088
6353
|
/**
|
|
6089
6354
|
* 구간 색상.<br/>
|
|
6090
|
-
* {@
|
|
6091
|
-
* '%'로 끝나는 백분율을 지정하면 {@
|
|
6355
|
+
* {@link fromColor}를 지정하면 이 step에 포함된 영역의 값에 따라 두 색상 사이의 중간 색상으로 표시된다.<br/>
|
|
6356
|
+
* '%'로 끝나는 백분율을 지정하면 {@link minColor}와 {@link maxColor} 사이의 중간 색상으로 설정할 수 있다.
|
|
6092
6357
|
*/
|
|
6093
6358
|
color: string;
|
|
6094
6359
|
/**
|
|
6095
|
-
* 이 속성 값이 지정되면 {@
|
|
6096
|
-
* '%'로 끝나는 백분율을 지정하면 {@
|
|
6360
|
+
* 이 속성 값이 지정되면 {@link toColor}나 {@link color} 값 사이의 색상으로 데이터포인트의 색상이 결정된다.<br/>
|
|
6361
|
+
* '%'로 끝나는 백분율을 지정하면 {@link minColor}와 {@link maxColor} 사이의 중간 색상으로 설정할 수 있다.
|
|
6097
6362
|
*/
|
|
6098
6363
|
fromColor?: string;
|
|
6099
6364
|
/**
|
|
6100
|
-
* {@
|
|
6101
|
-
* '%'로 끝나는 백분율을 지정하면 {@
|
|
6365
|
+
* {@link fromColor}가 지정된 경우 이 속성 값이 {@link color}보다 우선적으로 사용된다.
|
|
6366
|
+
* '%'로 끝나는 백분율을 지정하면 {@link minColor}와 {@link maxColor} 사이의 중간 색상으로 설정할 수 있다.
|
|
6102
6367
|
*/
|
|
6103
6368
|
toColor?: string;
|
|
6104
6369
|
}
|
|
@@ -6131,7 +6396,7 @@ interface ColorScaleNullOptions extends ChartItemOptions {
|
|
|
6131
6396
|
/**
|
|
6132
6397
|
* 맵 area 등에 표시되는 색상 범위를 표시한다.<br/>
|
|
6133
6398
|
*
|
|
6134
|
-
*
|
|
6399
|
+
*
|
|
6135
6400
|
*/
|
|
6136
6401
|
interface ColorScaleOptions extends ScaleOptions {
|
|
6137
6402
|
/**
|
|
@@ -6166,30 +6431,30 @@ interface ColorScaleOptions extends ScaleOptions {
|
|
|
6166
6431
|
inverted?: boolean;
|
|
6167
6432
|
/**
|
|
6168
6433
|
* 기준 최소값.<br/>
|
|
6169
|
-
* 이 값을 지정하지 않고 {@
|
|
6434
|
+
* 이 값을 지정하지 않고 {@link series}가 설정되면 그 시리즈의 최소값을 사용한다.<br/>
|
|
6170
6435
|
*/
|
|
6171
6436
|
minValue?: number;
|
|
6172
6437
|
/**
|
|
6173
6438
|
* 기준 최대값.<br/>
|
|
6174
|
-
* 이 값을 지정하지 않고 {@
|
|
6439
|
+
* 이 값을 지정하지 않고 {@link series}가 설정되면 그 시리즈의 최대값을 사용한다.<br/>
|
|
6175
6440
|
*/
|
|
6176
6441
|
maxValue?: number;
|
|
6177
6442
|
/**
|
|
6178
|
-
* {@
|
|
6179
|
-
* {@
|
|
6180
|
-
* {@
|
|
6443
|
+
* {@link minValue}, {@link maxValue}로 지정한 값이나, 계산된 최소/최대 값을 기준으로
|
|
6444
|
+
* {@link stepCount} 속성 등에 따라 정수 배수로 분리한다.<br/>
|
|
6445
|
+
* {@link steps}가 지정되면 이 속성은 무시된다.
|
|
6181
6446
|
*
|
|
6182
6447
|
* @default undefined
|
|
6183
6448
|
*/
|
|
6184
6449
|
integralSteps?: boolean;
|
|
6185
6450
|
/**
|
|
6186
6451
|
* 1 이상 지정한 값으로 scale을 구분해서 표시한다.<br/>
|
|
6187
|
-
* {@
|
|
6452
|
+
* {@link steps}가 지정되면 이 속성은 무시된다.
|
|
6188
6453
|
*/
|
|
6189
6454
|
stepCount?: number;
|
|
6190
6455
|
/**
|
|
6191
6456
|
* 명시적으로 색상 스텝들을 지정한다.<br/>
|
|
6192
|
-
* 이 속성이 지정되면 {@
|
|
6457
|
+
* 이 속성이 지정되면 {@link stepMode}를 포함, step 관련된 속성들이 모두 무시된다.
|
|
6193
6458
|
* 가능한 연속된 값 배치로 지정해야 한다.
|
|
6194
6459
|
* 겹치는 경우 나중에 지정된 step이 우선하고,
|
|
6195
6460
|
* 어느 step에도 포함되지 않는 값일 경우 series 기본 색상이 적용된다.
|
|
@@ -6198,15 +6463,15 @@ interface ColorScaleOptions extends ScaleOptions {
|
|
|
6198
6463
|
/**
|
|
6199
6464
|
* 2 이상의 값으로 지정하면 이 속성값을 base로 하는 log 값을 기준으로 step을 생성한다.<br/>
|
|
6200
6465
|
* step label은 log를 취하지 않은 원 값을 표시한다.
|
|
6201
|
-
* {@
|
|
6466
|
+
* {@link steps}가 지정된 경우 각 step의 from/to 값이 log로 계산된 값으로
|
|
6202
6467
|
*
|
|
6203
6468
|
* @default undefined
|
|
6204
6469
|
*/
|
|
6205
6470
|
logBase?: number;
|
|
6206
6471
|
/**
|
|
6207
6472
|
* 최소값 쪽 color.<br/>
|
|
6208
|
-
* {@
|
|
6209
|
-
* 또, {@
|
|
6473
|
+
* {@link colors}를 지정하면 이 속성은 무시된다.
|
|
6474
|
+
* 또, {@link steps}가 지정되면 각 step에 지정된 색 범위가 우선 적용된다.
|
|
6210
6475
|
* 지정하지 않으면 'white'로 적용된다.
|
|
6211
6476
|
*
|
|
6212
6477
|
* @default '#fff'
|
|
@@ -6214,16 +6479,16 @@ interface ColorScaleOptions extends ScaleOptions {
|
|
|
6214
6479
|
minColor?: string;
|
|
6215
6480
|
/**
|
|
6216
6481
|
* 최대값 쪽 color.<br/>
|
|
6217
|
-
* {@
|
|
6218
|
-
* 또, {@
|
|
6482
|
+
* {@link colors}를 지정하면 이 속성은 무시된다.
|
|
6483
|
+
* 또, {@link steps}가 지정되면 각 step에 지정된 색 범위가 우선 적용된다.
|
|
6219
6484
|
* 지정하지 않으면 'black'로 적용된다.
|
|
6220
6485
|
*/
|
|
6221
6486
|
maxColor?: string;
|
|
6222
6487
|
/**
|
|
6223
6488
|
* @ignore 미구현
|
|
6224
6489
|
* 단계별 색상 분포를 지정한다.<br/>
|
|
6225
|
-
* 둘 이상의 색상으로 이 속성이 지정되면 {@
|
|
6226
|
-
* 또, {@
|
|
6490
|
+
* 둘 이상의 색상으로 이 속성이 지정되면 {@link minColor}, {@link maxColor} 속성은 무시된다.
|
|
6491
|
+
* 또, {@link steps}가 지정되면 각 step에 지정된 색 범위가 우선 적용된다.
|
|
6227
6492
|
*/
|
|
6228
6493
|
colors?: ColorStop[];
|
|
6229
6494
|
/**
|
|
@@ -6254,7 +6519,7 @@ interface ColorScaleOptions extends ScaleOptions {
|
|
|
6254
6519
|
interface BubbleScaleTickLineOptions extends ChartItemOptions {
|
|
6255
6520
|
/**
|
|
6256
6521
|
* 가장 큰 원에서 tick label 표시까지의 간격.<br/>
|
|
6257
|
-
* {@
|
|
6522
|
+
* {@link visible}이 false이면 무시된다.
|
|
6258
6523
|
*
|
|
6259
6524
|
* @default 10
|
|
6260
6525
|
*/
|
|
@@ -6286,7 +6551,7 @@ interface BubbleScaleStep {
|
|
|
6286
6551
|
* 버블,파이 시리즈의 데이터포인트 값에 따라 설정되는
|
|
6287
6552
|
* 원 크기를 몇 단계로 나누어 원 크기와 값 사이의 관계를 개략적으로 표시한다.<br/>
|
|
6288
6553
|
|
|
6289
|
-
*
|
|
6554
|
+
*
|
|
6290
6555
|
*/
|
|
6291
6556
|
interface BubbleScaleOptions extends ScaleOptions {
|
|
6292
6557
|
tick?: BubbleScaleTickOptions;
|
|
@@ -6318,6 +6583,9 @@ interface MapScaleOptions extends ScaleOptions {
|
|
|
6318
6583
|
label?: MapScaleLabelOptions;
|
|
6319
6584
|
}
|
|
6320
6585
|
|
|
6586
|
+
/**
|
|
6587
|
+
* 경위도선에 대한 옵션
|
|
6588
|
+
*/
|
|
6321
6589
|
interface MapAxisGridLineOptions extends ChartItemOptions {
|
|
6322
6590
|
/**
|
|
6323
6591
|
* 경위도 선의 간격을 도(°) 단위로 지정한다.<br/>
|
|
@@ -6336,6 +6604,9 @@ declare const _MapAxisGridFitTo: {
|
|
|
6336
6604
|
readonly Body: "body";
|
|
6337
6605
|
};
|
|
6338
6606
|
type MapAxisGridFitTo = typeof _MapAxisGridFitTo[keyof typeof _MapAxisGridFitTo];
|
|
6607
|
+
/**
|
|
6608
|
+
* 경위도선 표시 설정.<br/>
|
|
6609
|
+
*/
|
|
6339
6610
|
interface MapAxisGridOptions extends ChartItemOptions {
|
|
6340
6611
|
/**
|
|
6341
6612
|
* @default false
|
|
@@ -6347,15 +6618,15 @@ interface MapAxisGridOptions extends ChartItemOptions {
|
|
|
6347
6618
|
*/
|
|
6348
6619
|
fitTo?: MapAxisGridFitTo;
|
|
6349
6620
|
/**
|
|
6350
|
-
* 숫자로 지정하면 {@
|
|
6621
|
+
* 숫자로 지정하면 {@link https://realmap.co.kr/config/config/axis/grid/line#step step}으로 설정된다.<br/>
|
|
6351
6622
|
*/
|
|
6352
6623
|
line?: MapAxisGridLineOptions | number;
|
|
6353
6624
|
/**
|
|
6354
|
-
* 숫자로 지정하면 {@
|
|
6625
|
+
* 숫자로 지정하면 {@link https://realmap.co.kr/config/config/axis/grid/line#step step}으로 설정된다.<br/>
|
|
6355
6626
|
*/
|
|
6356
6627
|
lonLine?: MapAxisGridLineOptions | number;
|
|
6357
6628
|
/**
|
|
6358
|
-
* 숫자로 지정하면 {@
|
|
6629
|
+
* 숫자로 지정하면 {@link https://realmap.co.kr/config/config/axis/grid/line#step step}으로 설정된다.<br/>
|
|
6359
6630
|
*/
|
|
6360
6631
|
latLine?: MapAxisGridLineOptions | number;
|
|
6361
6632
|
}
|
|
@@ -6379,7 +6650,7 @@ interface MapAxisTickLabelOptions extends ChartTextOptions {
|
|
|
6379
6650
|
*/
|
|
6380
6651
|
dirSymbols?: string;
|
|
6381
6652
|
/**
|
|
6382
|
-
* '°°'로 지정하면 두 번째 자리에 방위에 해당하는 {@
|
|
6653
|
+
* '°°'로 지정하면 두 번째 자리에 방위에 해당하는 {@link position} 문자 표시.
|
|
6383
6654
|
*
|
|
6384
6655
|
* @default '°°'
|
|
6385
6656
|
*/
|
|
@@ -6406,19 +6677,19 @@ interface MapAxisTickOptions extends ChartItemOptions {
|
|
|
6406
6677
|
positions?: Positions[];
|
|
6407
6678
|
/**
|
|
6408
6679
|
* 위경도 그리드 선 배치를 기준으로 tick 라인과 라벨을 표시하는 간격.<br/>
|
|
6409
|
-
* {@
|
|
6680
|
+
* {@link latInterval}, {@link lonInterval}로 위경도 간격을 별도로 지정할 수도 있다.
|
|
6410
6681
|
*
|
|
6411
6682
|
* @default 1
|
|
6412
6683
|
*/
|
|
6413
6684
|
interval?: number;
|
|
6414
6685
|
/**
|
|
6415
6686
|
* 경도 그리드 선 배치를 기준으로 tick 라인과 라벨을 표시하는 간격.<br/>
|
|
6416
|
-
* {@
|
|
6687
|
+
* {@link interval}로 지정한 값보다 우선한다.
|
|
6417
6688
|
*/
|
|
6418
6689
|
lonInterval?: number;
|
|
6419
6690
|
/**
|
|
6420
6691
|
* 위도 그리드 선 배치를 기준으로 tick 라인과 라벨을 표시하는 간격.<br/>
|
|
6421
|
-
* {@
|
|
6692
|
+
* {@link interval}로 지정한 값보다 우선한다.
|
|
6422
6693
|
*/
|
|
6423
6694
|
latInterval?: number;
|
|
6424
6695
|
}
|
|
@@ -6480,7 +6751,7 @@ interface MapAxisGuideOptions extends ChartItemOptions {
|
|
|
6480
6751
|
/**
|
|
6481
6752
|
* 가이드 종류.<br/>
|
|
6482
6753
|
* //이 속성을 지정하지 않은 경우,
|
|
6483
|
-
* //{@
|
|
6754
|
+
* //{@link https://realmap.co.kr/config/config/base/axis/guide guide}
|
|
6484
6755
|
*/
|
|
6485
6756
|
type?: MapAxisGuideType;
|
|
6486
6757
|
/**
|
|
@@ -6584,49 +6855,49 @@ interface MapCrosshairOptions extends ChartItemOptions {
|
|
|
6584
6855
|
onChange?: CrosshairChangeCallback;
|
|
6585
6856
|
}
|
|
6586
6857
|
/**
|
|
6587
|
-
*
|
|
6858
|
+
*
|
|
6588
6859
|
*/
|
|
6589
6860
|
interface MapAxisOptions extends ChartItemOptions {
|
|
6590
6861
|
/**
|
|
6591
6862
|
* 축 line 기본 설정 옵션.<br/>
|
|
6592
6863
|
*/
|
|
6593
|
-
line?: MapAxisLineOptions;
|
|
6864
|
+
line?: MapAxisLineOptions | boolean;
|
|
6594
6865
|
/**
|
|
6595
6866
|
* Orthographic 투영에서는 표시되지 않는다.
|
|
6596
6867
|
*/
|
|
6597
|
-
leftLine?: MapAxisLineOptions;
|
|
6868
|
+
leftLine?: MapAxisLineOptions | boolean;
|
|
6598
6869
|
/**
|
|
6599
6870
|
* Orthographic 투영에서는 표시되지 않는다.
|
|
6600
6871
|
*/
|
|
6601
|
-
rightLine?: MapAxisLineOptions;
|
|
6872
|
+
rightLine?: MapAxisLineOptions | boolean;
|
|
6602
6873
|
/**
|
|
6603
6874
|
* Orthographic 투영에서는 표시되지 않는다.
|
|
6604
6875
|
*/
|
|
6605
|
-
topLine?: MapAxisLineOptions;
|
|
6876
|
+
topLine?: MapAxisLineOptions | boolean;
|
|
6606
6877
|
/**
|
|
6607
6878
|
* Orthographic 투영에서는 표시되지 않는다.
|
|
6608
6879
|
*/
|
|
6609
|
-
bottomLine?: MapAxisLineOptions;
|
|
6880
|
+
bottomLine?: MapAxisLineOptions | boolean;
|
|
6610
6881
|
/**
|
|
6611
6882
|
* 적도선 설정.<br/>
|
|
6612
6883
|
*/
|
|
6613
|
-
equatorLine?: MapAxisLineOptions;
|
|
6884
|
+
equatorLine?: MapAxisLineOptions | boolean;
|
|
6614
6885
|
/**
|
|
6615
6886
|
* 본초자오선(prime meridian) 설정.<br/>
|
|
6616
6887
|
*/
|
|
6617
|
-
meridianLine?: MapAxisLineOptions;
|
|
6888
|
+
meridianLine?: MapAxisLineOptions | boolean;
|
|
6618
6889
|
/**
|
|
6619
|
-
*
|
|
6890
|
+
* 경위도선 표시 설정.<br/>
|
|
6620
6891
|
*/
|
|
6621
6892
|
grid?: MapAxisGridOptions | boolean;
|
|
6622
6893
|
/**
|
|
6623
|
-
*
|
|
6894
|
+
* 경위도선 좌표 표서 설정.<br/>
|
|
6624
6895
|
*/
|
|
6625
6896
|
tick?: MapAxisTickOptions | boolean;
|
|
6626
6897
|
/**
|
|
6627
6898
|
* 마우스 현재 위치를 표시하는 crosshair 설정.<br/>
|
|
6628
6899
|
*/
|
|
6629
|
-
crosshair?: MapCrosshairOptions;
|
|
6900
|
+
crosshair?: MapCrosshairOptions | boolean;
|
|
6630
6901
|
/**
|
|
6631
6902
|
* 축 가이드 목록.<br/>
|
|
6632
6903
|
* 하나만 지정할 때는 배열로 지정하지 않아도 된다.
|
|
@@ -6672,11 +6943,11 @@ interface MapRegionOptions extends PositionableItemOptions {
|
|
|
6672
6943
|
*/
|
|
6673
6944
|
target?: MapRegionTargetOptions;
|
|
6674
6945
|
/**
|
|
6675
|
-
* {@
|
|
6946
|
+
* {@link target}과의 연결 표시 옵션.<br/>
|
|
6676
6947
|
*/
|
|
6677
6948
|
connector?: MapRegionConnectorOptions;
|
|
6678
6949
|
/**
|
|
6679
|
-
* 이 맵리전에 표시될 {@
|
|
6950
|
+
* 이 맵리전에 표시될 {@link series}로 지정한 맵시리즈의 일부 영역을 지정한다.<br/>
|
|
6680
6951
|
*/
|
|
6681
6952
|
bounds?: [MapCoord, MapCoord];
|
|
6682
6953
|
/**
|
|
@@ -6692,7 +6963,7 @@ interface MapRegionOptions extends PositionableItemOptions {
|
|
|
6692
6963
|
}
|
|
6693
6964
|
|
|
6694
6965
|
/**
|
|
6695
|
-
*
|
|
6966
|
+
*
|
|
6696
6967
|
*/
|
|
6697
6968
|
interface MapSourceOptions extends MapSource {
|
|
6698
6969
|
}
|
|
@@ -6707,7 +6978,7 @@ interface MapSourceOptions extends MapSource {
|
|
|
6707
6978
|
* });
|
|
6708
6979
|
* ```
|
|
6709
6980
|
*
|
|
6710
|
-
* {@
|
|
6981
|
+
* {@link https://www.typescriptlang.org/ typescript} 환경에서는 타입을 명시적으로 지정하여
|
|
6711
6982
|
* 개발 편집기의 typescript 지원을 받을 수 있으므로
|
|
6712
6983
|
* 설정 객체를 별도로 정의할 수 있다.
|
|
6713
6984
|
*
|
|
@@ -6718,12 +6989,12 @@ interface MapSourceOptions extends MapSource {
|
|
|
6718
6989
|
* const chart = RealMap.createChart(doc, 'div', config);
|
|
6719
6990
|
* ```
|
|
6720
6991
|
*
|
|
6721
|
-
*
|
|
6992
|
+
*
|
|
6722
6993
|
*/
|
|
6723
6994
|
interface ChartConfiguration {
|
|
6724
6995
|
templates?: ConfigObject;
|
|
6725
6996
|
/**
|
|
6726
|
-
* 기본 {@
|
|
6997
|
+
* 기본 {@link https://realmap.co.kr/guide/series 시리즈} type.<br/>
|
|
6727
6998
|
* 시리즈에 type을 지정하지 않으면 이 값으로 지정된 type의 시리즈가 생성된다.
|
|
6728
6999
|
*
|
|
6729
7000
|
* @default 'map'
|
|
@@ -6740,21 +7011,21 @@ interface ChartConfiguration {
|
|
|
6740
7011
|
/**
|
|
6741
7012
|
* 맵차트 영역 전체에 연관되는 속성들을 설정한다.<br/>
|
|
6742
7013
|
*/
|
|
6743
|
-
chart?:
|
|
7014
|
+
chart?: ChartGlobalOptions;
|
|
6744
7015
|
/**
|
|
6745
7016
|
* Asset 목록.<br/>
|
|
6746
7017
|
*/
|
|
6747
7018
|
asset?: AssetOptionsType | AssetOptionsType[];
|
|
6748
7019
|
/**
|
|
6749
|
-
* {@
|
|
7020
|
+
* {@link asset}과 동일하고, 이 항목이 우선한다.<br/>
|
|
6750
7021
|
*/
|
|
6751
7022
|
assets?: AssetOptionsType | AssetOptionsType[];
|
|
6752
7023
|
/**
|
|
6753
|
-
* {@
|
|
7024
|
+
* {@link https://realmap.co.kr/guide/title 맵차트 타이틀} 표시 영역.<br/>
|
|
6754
7025
|
*/
|
|
6755
7026
|
title?: TitleOptions | string;
|
|
6756
7027
|
/**
|
|
6757
|
-
* {@
|
|
7028
|
+
* {@link https://realmap.co.kr/guide/title 맵차트 타이틀} 주변에 추가롤 표시되는 부제목 영역.<br/>
|
|
6758
7029
|
*/
|
|
6759
7030
|
subtitle?: SubtitleOptions | string;
|
|
6760
7031
|
/**
|
|
@@ -6763,7 +7034,7 @@ interface ChartConfiguration {
|
|
|
6763
7034
|
*/
|
|
6764
7035
|
map?: MapSourceOptions | MapSourceOptions[];
|
|
6765
7036
|
/**
|
|
6766
|
-
* {@
|
|
7037
|
+
* {@link https://realmap.co.kr/guide/axis 축} 관련 설정.<br/>
|
|
6767
7038
|
*/
|
|
6768
7039
|
axis?: MapAxisOptions;
|
|
6769
7040
|
/**
|
|
@@ -6775,65 +7046,65 @@ interface ChartConfiguration {
|
|
|
6775
7046
|
*/
|
|
6776
7047
|
widgetGroup?: MapWidgetGroupOptions | MapWidgetGroupOptions[];
|
|
6777
7048
|
/**
|
|
6778
|
-
* 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 {@
|
|
7049
|
+
* 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 {@link https://realmap.co.kr/guide/legend 범례}.<br/>
|
|
6779
7050
|
*/
|
|
6780
7051
|
legend?: LegendOptions | LegendOptions[] | boolean;
|
|
6781
7052
|
/**
|
|
6782
|
-
* {@
|
|
7053
|
+
* {@link https://realmap.co.kr/guide/colorscale 색상자}를 하나 이상 설정한다.
|
|
6783
7054
|
*/
|
|
6784
7055
|
colorScale?: ColorScaleOptions | ColorScaleOptions[];
|
|
6785
7056
|
/**
|
|
6786
7057
|
* @ignore
|
|
6787
|
-
* {@
|
|
7058
|
+
* {@link colorScale}과 동일하고, 이 속성이 우선한다.<br/>
|
|
6788
7059
|
*/
|
|
6789
7060
|
colorScales?: ColorScaleOptions | ColorScaleOptions[];
|
|
6790
7061
|
/**
|
|
6791
|
-
* {@
|
|
7062
|
+
* {@link https://realmap.co.kr/guide/bubblescale 색상자}를 하나 이상 설정한다.
|
|
6792
7063
|
*/
|
|
6793
7064
|
bubbleScale?: BubbleScaleOptions | BubbleScaleOptions[];
|
|
6794
7065
|
/**
|
|
6795
7066
|
* @ignore
|
|
6796
|
-
* {@
|
|
7067
|
+
* {@link bubbleScale}과 동일하고, 이 속성이 우선한다.<br/>
|
|
6797
7068
|
*/
|
|
6798
7069
|
bubbleScales?: BubbleScaleOptions | BubbleScaleOptions[];
|
|
6799
7070
|
mapScale?: MapScale;
|
|
6800
7071
|
/**
|
|
6801
|
-
* 맵차트가 {@
|
|
7072
|
+
* 맵차트가 {@link https://realmap.co.kr/guide/zoom zoom} 가능할 때 zomm 버튼들이 표시되는 패널.<br/>
|
|
6802
7073
|
*/
|
|
6803
7074
|
zoomPanel?: ZoomPanelOptions | boolean;
|
|
6804
7075
|
/**
|
|
6805
|
-
* 맵차트가 {@
|
|
7076
|
+
* 맵차트가 {@link https://realmap.co.kr/guide/drilldown 드릴다운} 상태일 때 뒤로 가기 버튼(들)이 표시되는 패널.<br/>
|
|
6806
7077
|
*/
|
|
6807
7078
|
drilldownPanel?: DrilldownPanelOptions | boolean;
|
|
6808
7079
|
/**
|
|
6809
|
-
* 데이터포인트 뷰에 마우스 올라갈 때 표시되는 {@
|
|
7080
|
+
* 데이터포인트 뷰에 마우스 올라갈 때 표시되는 {@link https://realmap.co.kr/guide/tooltip 툴팁} 상자.<br/>
|
|
6810
7081
|
*/
|
|
6811
7082
|
tooltip?: TooltipOptions | boolean;
|
|
6812
7083
|
/**
|
|
6813
|
-
* 지도나 데이터 원작자 정보 등을 표시하는 {@
|
|
7084
|
+
* 지도나 데이터 원작자 정보 등을 표시하는 {@link https://realmap.co.kr/guide/credits 서명} 영역.<br/>
|
|
6814
7085
|
*/
|
|
6815
7086
|
credits?: CreditsOptions | boolean;
|
|
6816
7087
|
/**
|
|
6817
|
-
* {@
|
|
7088
|
+
* {@link https://realmap.co.kr/guide/series 시리즈}나 {@link https://realmap.co.kr/guide/gauge 게이지}들을 하나 이상 설정한다.
|
|
6818
7089
|
*/
|
|
6819
7090
|
series?: SeriesOptionsType | SeriesOptionsType[];
|
|
6820
7091
|
/**
|
|
6821
|
-
* {@
|
|
7092
|
+
* {@link https://realmap.co.kr/guide/annotations 어노테이션} 또는 어노테이션 목록.<br/>
|
|
6822
7093
|
* 이 항목이 지정되지 않고 'annotations'가 지정되면 그 항목에 지정된 설정들로 부터 어노테이션들을 생성한다.
|
|
6823
7094
|
*/
|
|
6824
7095
|
annotation?: AnnotationOptionsType | AnnotationOptionsType[];
|
|
6825
7096
|
/**
|
|
6826
7097
|
* @ignore
|
|
6827
|
-
* {@
|
|
7098
|
+
* {@link annotation}과 동일하고, 이 속성이 우선한다.<br/>
|
|
6828
7099
|
*/
|
|
6829
7100
|
annotations?: AnnotationOptionsType | AnnotationOptionsType[];
|
|
6830
7101
|
/**
|
|
6831
|
-
* {@
|
|
7102
|
+
* {@link https://realmap.co.kr/guide/mapregion 멥리젼} 또는 맵리젼 목록.<br/>
|
|
6832
7103
|
*/
|
|
6833
7104
|
mapRegion?: MapRegionOptions | MapRegionOptions[];
|
|
6834
7105
|
/**
|
|
6835
7106
|
* @ignore
|
|
6836
|
-
* {@
|
|
7107
|
+
* {@link mapRegion}과 동일하고, 이 속성이 우선한다.<br/>
|
|
6837
7108
|
*/
|
|
6838
7109
|
mapRegions?: MapRegionOptions | MapRegionOptions[];
|
|
6839
7110
|
/**
|
|
@@ -6890,7 +7161,7 @@ interface IColorRanger {
|
|
|
6890
7161
|
getColor(min: number, max: number, value: number, color: Color): string;
|
|
6891
7162
|
}
|
|
6892
7163
|
/**
|
|
6893
|
-
* @
|
|
7164
|
+
* @private
|
|
6894
7165
|
*/
|
|
6895
7166
|
declare class ColorRanger implements IColorRanger {
|
|
6896
7167
|
private _color1;
|
|
@@ -7007,14 +7278,14 @@ declare class Exporter extends ChartItem<ExporterOptions> {
|
|
|
7007
7278
|
}
|
|
7008
7279
|
|
|
7009
7280
|
/**
|
|
7010
|
-
* @
|
|
7281
|
+
* @private
|
|
7011
7282
|
*/
|
|
7012
7283
|
declare class MapAxisGridLine extends ChartItem<MapAxisGridLineOptions> {
|
|
7013
7284
|
static defaults: MapAxisGridLineOptions;
|
|
7014
7285
|
protected _doSetSimple(op: MapAxisGridLineOptions, src: any): boolean;
|
|
7015
7286
|
}
|
|
7016
7287
|
/**
|
|
7017
|
-
*
|
|
7288
|
+
*
|
|
7018
7289
|
*/
|
|
7019
7290
|
declare class MapAxisGrid extends ChartItem<MapAxisGridOptions> {
|
|
7020
7291
|
static defaults: MapAxisGridOptions;
|
|
@@ -7030,11 +7301,10 @@ declare class MapAxisGrid extends ChartItem<MapAxisGridOptions> {
|
|
|
7030
7301
|
getLonStep(): number;
|
|
7031
7302
|
getLatStep(): number;
|
|
7032
7303
|
protected _doApply(options: MapAxisGridOptions): void;
|
|
7033
|
-
protected _doPrepareRender(chart: IChart, op: MapAxisOptions): void;
|
|
7034
7304
|
private $_defaultStep;
|
|
7035
7305
|
}
|
|
7036
7306
|
/**
|
|
7037
|
-
* @
|
|
7307
|
+
* @private
|
|
7038
7308
|
*/
|
|
7039
7309
|
declare class MapAxisLine extends ChartItem<MapAxisLineOptions> {
|
|
7040
7310
|
static defaults: MapAxisLineOptions;
|
|
@@ -7073,7 +7343,7 @@ declare class MapAxisTick extends ChartItem<MapAxisTickOptions> {
|
|
|
7073
7343
|
}
|
|
7074
7344
|
/**
|
|
7075
7345
|
* 가이드 label 설정 모델.<br/>
|
|
7076
|
-
* {@
|
|
7346
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/MapAxisGuideLabelOptions MapAxisGuideLabelOptions}이다.
|
|
7077
7347
|
*/
|
|
7078
7348
|
declare class MapAxisGuideLabel extends IconedText<MapAxisGuideLabelOptions> {
|
|
7079
7349
|
static defaults: MapAxisGuideLabelOptions;
|
|
@@ -7082,7 +7352,7 @@ declare class MapAxisGuideLabel extends IconedText<MapAxisGuideLabelOptions> {
|
|
|
7082
7352
|
/**
|
|
7083
7353
|
* 축 가이드 설정 기반 모델.<br/>
|
|
7084
7354
|
*
|
|
7085
|
-
* {@
|
|
7355
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/AxisGuideOptions AxisGuideOptions}이다.
|
|
7086
7356
|
*/
|
|
7087
7357
|
declare abstract class MapAxisGuide<OP extends MapAxisGuideOptions = MapAxisGuideOptions> extends ChartItem<OP> {
|
|
7088
7358
|
static defaults: MapAxisGuideOptions;
|
|
@@ -7095,21 +7365,21 @@ declare abstract class MapAxisGuide<OP extends MapAxisGuideOptions = MapAxisGuid
|
|
|
7095
7365
|
}
|
|
7096
7366
|
/**
|
|
7097
7367
|
* 축 위의 특정한 값에 수평 혹은 수직 선분을 표시한다.<br/>
|
|
7098
|
-
* {@
|
|
7368
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/MapAxisLineGuideOptions MapAxisLineGuideOptions}이다.
|
|
7099
7369
|
*/
|
|
7100
7370
|
declare class MapAxisLineGuide extends MapAxisGuide<MapAxisLineGuideOptions> {
|
|
7101
7371
|
static defaults: MapAxisLineGuideOptions;
|
|
7102
7372
|
}
|
|
7103
7373
|
/**
|
|
7104
7374
|
* 특정 범위를 수평 혹은 수직 밴드 영역으로 표시한다.<br/>
|
|
7105
|
-
* {@
|
|
7375
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/MapAxisBandGuideOptions MapAxisBandGuideOptions}이다.
|
|
7106
7376
|
*/
|
|
7107
7377
|
declare class MapAxisBandGuide extends MapAxisGuide<MapAxisBandGuideOptions> {
|
|
7108
7378
|
static defaults: MapAxisBandGuideOptions;
|
|
7109
7379
|
}
|
|
7110
7380
|
/**
|
|
7111
7381
|
* 특정 영역 두 값 사이의 영역을 구분 표시한다.<br/>
|
|
7112
|
-
* {@
|
|
7382
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/MapAxisBandGuideOptions MapAxisBandGuideOptions}이다.
|
|
7113
7383
|
*/
|
|
7114
7384
|
declare class MapAxisRangeGuide extends MapAxisGuide<MapAxisRangeGuideOptions> {
|
|
7115
7385
|
static defaults: MapAxisRangeGuideOptions;
|
|
@@ -7135,7 +7405,7 @@ declare class MapCrosshair extends ChartItem<MapCrosshairOptions> {
|
|
|
7135
7405
|
*/
|
|
7136
7406
|
get flag(): CrosshairFlag;
|
|
7137
7407
|
getFlag(pos: number): string;
|
|
7138
|
-
moved(pos: IPoint, flag: string, points: DataPoint[]): void;
|
|
7408
|
+
moved(pos: IPoint$1, flag: string, points: DataPoint[]): void;
|
|
7139
7409
|
protected _doSetSimple(op: MapCrosshairOptions, source: any): boolean;
|
|
7140
7410
|
}
|
|
7141
7411
|
declare class MapAxis extends ChartItem<MapAxisOptions> {
|
|
@@ -7193,9 +7463,9 @@ declare class DrilldownPanel extends BodyPanel<DrilldownPanelOptions> {
|
|
|
7193
7463
|
/**
|
|
7194
7464
|
* 맵차트 제목(title) 설정 모델.<br/>
|
|
7195
7465
|
* 기본적으로 맵차트 중앙 상단에 표시되지만 {@link align}, {@link verticalAlign} 등으로 위치를 변경할 수 있다.<br/>
|
|
7196
|
-
* {@link guide
|
|
7466
|
+
* {@link https://realmap.co.kr/guide/title 타이틀 개요} 페이지를 참조한다.
|
|
7197
7467
|
*
|
|
7198
|
-
*
|
|
7468
|
+
*
|
|
7199
7469
|
*/
|
|
7200
7470
|
declare class Title<OP extends TitleOptions = TitleOptions> extends ChartItem<OP> {
|
|
7201
7471
|
static defaults: TitleOptions;
|
|
@@ -7205,9 +7475,9 @@ declare class Title<OP extends TitleOptions = TitleOptions> extends ChartItem<OP
|
|
|
7205
7475
|
/**
|
|
7206
7476
|
* 맵차트 부제목(subtitle) 설정 모델.<br/>
|
|
7207
7477
|
* 기본적으로 주 제목(title)의 설정을 따르고, 몇가지 속성들이 추가된다.<br/>
|
|
7208
|
-
* {@link guide
|
|
7478
|
+
* {@link https://realmap.co.kr/guide/subtitle 부제목 개요} 페이지를 참조한다.
|
|
7209
7479
|
*
|
|
7210
|
-
*
|
|
7480
|
+
*
|
|
7211
7481
|
*/
|
|
7212
7482
|
declare class Subtitle extends Title<SubtitleOptions> {
|
|
7213
7483
|
static defaults: SubtitleOptions;
|
|
@@ -7252,8 +7522,8 @@ declare class InsetLabel extends IconedText<InsetLabelOptions> {
|
|
|
7252
7522
|
}
|
|
7253
7523
|
/**
|
|
7254
7524
|
* Map 시리즈 모델.<br/>
|
|
7255
|
-
* {@
|
|
7256
|
-
* {@
|
|
7525
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/map map}이고,
|
|
7526
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/MapSeriesOptions MapSeriesOptions}이다.
|
|
7257
7527
|
*/
|
|
7258
7528
|
declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
7259
7529
|
static type: string;
|
|
@@ -7319,6 +7589,7 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
7319
7589
|
getColorScale(): string | number;
|
|
7320
7590
|
canSelect(): boolean;
|
|
7321
7591
|
select(p: ISelectionSource): void;
|
|
7592
|
+
selectList(list: ISelectionSource[]): void;
|
|
7322
7593
|
private $_loadBorders;
|
|
7323
7594
|
}
|
|
7324
7595
|
|
|
@@ -7328,8 +7599,8 @@ declare class MapRegionConnector extends ChartItem<MapRegionConnectorOptions> {
|
|
|
7328
7599
|
}
|
|
7329
7600
|
/**
|
|
7330
7601
|
* 맵리젼 모델.<br/>
|
|
7331
|
-
* {@
|
|
7332
|
-
* {@
|
|
7602
|
+
* {@link options 옵션} 모델은 {@link https://realmap.co.kr/docs/api/options/MapRegionOptions MapRegionOptions}이고,
|
|
7603
|
+
* {@link https://realmap.co.kr/config 맵차트 설정}에서 {@link https://realmap.co.kr/config/config/mapregion mapRegion} 항목으로 설정한다.
|
|
7333
7604
|
* ```js
|
|
7334
7605
|
* const config = {
|
|
7335
7606
|
* mapRegion: [{
|
|
@@ -7338,13 +7609,13 @@ declare class MapRegionConnector extends ChartItem<MapRegionConnectorOptions> {
|
|
|
7338
7609
|
* }],
|
|
7339
7610
|
* };
|
|
7340
7611
|
* ```
|
|
7341
|
-
* 또, Chart.{@
|
|
7612
|
+
* 또, Chart.{@link https://realmap.co.kr/docs/api/classes/Chart#getmapregion getMapRegion}으로
|
|
7342
7613
|
* 모델 객체를 가져올 수 있다.
|
|
7343
7614
|
* ```js
|
|
7344
7615
|
* const region = chart.getMapRegion('region1');
|
|
7345
7616
|
* region.visible = false;
|
|
7346
7617
|
* ```
|
|
7347
|
-
* {@
|
|
7618
|
+
* {@link https://realmap.co.kr/guide/mapregions MapRegion 개요} 페이지를 참조한다.
|
|
7348
7619
|
*
|
|
7349
7620
|
*/
|
|
7350
7621
|
declare class MapRegion extends PositioanbleItem<MapRegionOptions> {
|
|
@@ -7378,7 +7649,7 @@ declare class MapRegion extends PositioanbleItem<MapRegionOptions> {
|
|
|
7378
7649
|
private $_prepareLayout;
|
|
7379
7650
|
}
|
|
7380
7651
|
/**
|
|
7381
|
-
* @
|
|
7652
|
+
* @private
|
|
7382
7653
|
*/
|
|
7383
7654
|
declare class MapRegionCollection extends PositionalItemCollection<MapRegion> {
|
|
7384
7655
|
getRegion(name: string): MapRegion;
|
|
@@ -7398,7 +7669,7 @@ interface IBodyTransform {
|
|
|
7398
7669
|
}
|
|
7399
7670
|
/**
|
|
7400
7671
|
* 시리즈, annotation, axis grid 및 guide 등이 표시되는 맵차트 주 영역 모델.<br/>
|
|
7401
|
-
* {@
|
|
7672
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/BodyOptions BodyOptions}이다.
|
|
7402
7673
|
*/
|
|
7403
7674
|
declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
7404
7675
|
static defaults: BodyOptions;
|
|
@@ -7546,15 +7817,15 @@ interface IMapChartEvents {
|
|
|
7546
7817
|
onDataChanged(chart: ChartObject, series: Series): void;
|
|
7547
7818
|
onMapChanged(chart: ChartObject, map: MapModel): void;
|
|
7548
7819
|
onProjectionChanged(chart: ChartObject, projection: MapProjection): void;
|
|
7549
|
-
onZoomChanged(chart: ChartObject, oldZoom: number): void;
|
|
7820
|
+
onZoomChanged(chart: ChartObject, zoom: number, oldZoom: number): void;
|
|
7550
7821
|
onRequestRender(chart: ChartObject, now: boolean): void;
|
|
7551
7822
|
onRequestShowSeries(chart: ChartObject, series: Series, visible: boolean): void;
|
|
7552
7823
|
}
|
|
7553
|
-
declare class
|
|
7554
|
-
static defaults:
|
|
7824
|
+
declare class ChartGlobal extends ChartItem<ChartGlobalOptions> {
|
|
7825
|
+
static defaults: ChartGlobalOptions;
|
|
7555
7826
|
protected _widgetGaps: Sides;
|
|
7556
7827
|
getWidgetSectionGap(loc: ChartItemLocation): any;
|
|
7557
|
-
protected _doApply(options:
|
|
7828
|
+
protected _doApply(options: ChartGlobalOptions): void;
|
|
7558
7829
|
}
|
|
7559
7830
|
/**
|
|
7560
7831
|
* @ignore
|
|
@@ -7565,13 +7836,13 @@ declare class ChartOptions extends ChartItem<ChartOptionsOptions> {
|
|
|
7565
7836
|
declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IChart, IMapOwner, IAnnotationOwner, ITooltipOwner, ISelectionOwner {
|
|
7566
7837
|
private static defaults;
|
|
7567
7838
|
_wrapper: any;
|
|
7568
|
-
|
|
7839
|
+
_op: ChartConfiguration;
|
|
7569
7840
|
private _bases;
|
|
7570
7841
|
_templates: {
|
|
7571
7842
|
[key: string]: any;
|
|
7572
7843
|
};
|
|
7573
7844
|
_assets: AssetCollection;
|
|
7574
|
-
private
|
|
7845
|
+
private _global;
|
|
7575
7846
|
private _axis;
|
|
7576
7847
|
private _body;
|
|
7577
7848
|
_title: Title;
|
|
@@ -7609,6 +7880,8 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
7609
7880
|
constructor(config?: ChartConfiguration, wrapper?: any);
|
|
7610
7881
|
private _initOptions;
|
|
7611
7882
|
get wrapper(): any;
|
|
7883
|
+
get options(): ChartConfiguration;
|
|
7884
|
+
get global(): ChartGlobal;
|
|
7612
7885
|
get isGlobe(): boolean;
|
|
7613
7886
|
get selection(): MapSelection;
|
|
7614
7887
|
getFirstSeries(type: string): Series;
|
|
@@ -7620,21 +7893,20 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
7620
7893
|
animatable(): boolean;
|
|
7621
7894
|
loadAnimatable(): boolean;
|
|
7622
7895
|
requestShowSeries(series: Series, visible: boolean): void;
|
|
7623
|
-
_selectionChanged(series: ISeries,
|
|
7896
|
+
_selectionChanged(series: ISeries, points: DataPoint[]): void;
|
|
7624
7897
|
getNextPointShape(): Shape;
|
|
7625
7898
|
getProjection(): MapProjection;
|
|
7626
7899
|
projectionChanged(): void;
|
|
7627
|
-
zoomChanged(oldZoom: number): void;
|
|
7900
|
+
zoomChanged(zoom: number, oldZoom: number): void;
|
|
7628
7901
|
mapChanged(map: MapModel): void;
|
|
7629
7902
|
anchorByName(name: string): ChartItem<ChartItemOptions>;
|
|
7630
7903
|
get chart(): IChart;
|
|
7631
7904
|
getTooltipContext(scope: TooltipScope, series: ISeries, point: DataPoint): ITooltipContext;
|
|
7632
|
-
selectionChanged(selection: MapSelection): void;
|
|
7633
|
-
selectionItemAdded(item: ISelectionSource): void;
|
|
7634
|
-
selectionItemRemoved(item: ISelectionSource): void;
|
|
7905
|
+
selectionChanged(selection: MapSelection[]): void;
|
|
7906
|
+
selectionItemAdded(item: ISelectionSource[]): void;
|
|
7907
|
+
selectionItemRemoved(item: ISelectionSource[]): void;
|
|
7635
7908
|
selectionCleared(): void;
|
|
7636
|
-
get type(): "
|
|
7637
|
-
get chartOptions(): ChartOptions;
|
|
7909
|
+
get type(): "point" | "line" | "map" | "feature" | "pin" | "vector" | "bar" | "pie" | "figure" | "bubble" | "route" | "image" | "heatmap" | "panel" | "waffle" | "gauge" | "clock";
|
|
7638
7910
|
get legend(): Legend;
|
|
7639
7911
|
get credits(): Credits;
|
|
7640
7912
|
/**
|
|
@@ -7690,9 +7962,9 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
7690
7962
|
setParam(param: string, value: any, redraw?: boolean): ChartObject;
|
|
7691
7963
|
addSeries(source: any, animate: boolean): Series;
|
|
7692
7964
|
removeSeries(series: string | Series, animate: boolean): Series<SeriesOptions>;
|
|
7693
|
-
/** @
|
|
7965
|
+
/** @private */
|
|
7694
7966
|
_dataChanged(series: Series): void;
|
|
7695
|
-
/** @
|
|
7967
|
+
/** @private */
|
|
7696
7968
|
_isDataChanged(): boolean;
|
|
7697
7969
|
getColorScale(scale: string | number): ColorScale;
|
|
7698
7970
|
getBubbleScale(scale: string | number): BubbleScale;
|
|
@@ -7710,6 +7982,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
7710
7982
|
interface IChart {
|
|
7711
7983
|
wrapper: any;
|
|
7712
7984
|
options: ChartConfiguration;
|
|
7985
|
+
global: ChartGlobal;
|
|
7713
7986
|
type?: string;
|
|
7714
7987
|
_loading: boolean;
|
|
7715
7988
|
map: MapModel;
|
|
@@ -7735,7 +8008,7 @@ interface IChart {
|
|
|
7735
8008
|
loadBase(source: any, model: string, type: string): any;
|
|
7736
8009
|
assignTemplates(target: any): any;
|
|
7737
8010
|
projectionChanged(): void;
|
|
7738
|
-
zoomChanged(oldZoom: number): void;
|
|
8011
|
+
zoomChanged(zoom: number, oldZoom: number): void;
|
|
7739
8012
|
coordOfArea(id: string): MapCoord;
|
|
7740
8013
|
seriesByName(series: string): Series;
|
|
7741
8014
|
seriesAt(index: number): Series;
|
|
@@ -7759,7 +8032,7 @@ interface IChart {
|
|
|
7759
8032
|
_isDataChanged(): boolean;
|
|
7760
8033
|
lockOptionsDirty(): void;
|
|
7761
8034
|
freeOptionsDirty(): void;
|
|
7762
|
-
_selectionChanged(series: ISeries, p: ISelectionSource): void;
|
|
8035
|
+
_selectionChanged(series: ISeries, p: ISelectionSource[]): void;
|
|
7763
8036
|
getNextPointShape(): Shape;
|
|
7764
8037
|
}
|
|
7765
8038
|
declare const extend: <O extends ChartItemOptions>(base: any, source: O) => O;
|
|
@@ -7800,14 +8073,20 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7800
8073
|
*/
|
|
7801
8074
|
updateOptions(source?: OP, render?: boolean): this;
|
|
7802
8075
|
/**
|
|
7803
|
-
*
|
|
8076
|
+
* 하나의 속성 값을 설정한다.<br/>
|
|
8077
|
+
* 여러 속성들을 한꺼번에 변경할 때는 {@link updateOptions}를 사용한다.
|
|
8078
|
+
* 기본적으로 이전 값과 다른 경우에만 적용된다.
|
|
8079
|
+
* 특히, 속성값이 객체인 경우 객체 속성만 바뀐 경우 적용되지 않는다.
|
|
8080
|
+
* 바꾸고 싶다면 force 매개변수를 true로 지정해서 호출한다.<br/>
|
|
8081
|
+
* 또, prop 매개변수가 하위 모델 이름인 경우 하위 모델의 {@link updateOptions}를 호출한 것과 동일하다.
|
|
7804
8082
|
*
|
|
7805
8083
|
* @param prop 설정 항목 이름
|
|
7806
8084
|
* @param value 설정 값
|
|
7807
8085
|
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본값: true
|
|
8086
|
+
* @param force 지정한 값이 이전 값과 동일한 경우에도 적용한다. 기본값: false
|
|
7808
8087
|
* @returns 모델 객체 자신
|
|
7809
8088
|
*/
|
|
7810
|
-
updateOption(prop: keyof OP, value: any, render?: boolean): this;
|
|
8089
|
+
updateOption(prop: keyof OP, value: any, render?: boolean, force?: boolean): this;
|
|
7811
8090
|
/**
|
|
7812
8091
|
* boolean 타입의 모델 설정 값을 반대 값으로 변경한다.<br/>
|
|
7813
8092
|
*
|
|
@@ -7825,7 +8104,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7825
8104
|
*/
|
|
7826
8105
|
removeOption(prop: keyof OP, render?: boolean): this;
|
|
7827
8106
|
/**
|
|
7828
|
-
* 명시적으로 설정된 모든 모델 설정 값들을
|
|
8107
|
+
* 명시적으로 설정된 모든 모델 설정 값들을 제거한다.<br/>
|
|
7829
8108
|
*
|
|
7830
8109
|
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 true
|
|
7831
8110
|
* @returns 모델 객체 자신
|
|
@@ -7834,41 +8113,41 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7834
8113
|
/**
|
|
7835
8114
|
* 명시적으로 모델에 설정된 모든 style 값들을 제거한다.<br/>
|
|
7836
8115
|
*
|
|
7837
|
-
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다.
|
|
8116
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본값 false
|
|
7838
8117
|
* @returns
|
|
7839
8118
|
*/
|
|
7840
8119
|
clearStyle(render?: boolean): this;
|
|
7841
8120
|
/**
|
|
7842
8121
|
* 모델 css style 값을 변경한다.<br/>
|
|
8122
|
+
* value에 undefined나 null, ''을 지정하면 기존에 설정됐던 스타일 항목이 제거된다.<br/>
|
|
7843
8123
|
*
|
|
7844
8124
|
* @param prop css 스타일 항목 이름.
|
|
7845
8125
|
* @param value 적용할 스타일 값.
|
|
7846
|
-
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다.
|
|
8126
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본값 true
|
|
7847
8127
|
* @returns
|
|
7848
8128
|
*/
|
|
7849
8129
|
setStyle(prop: string, value: any, render?: boolean): this;
|
|
7850
8130
|
/**
|
|
7851
8131
|
* 여러 항목의 모델 css style 값들을 json 객체로 지정해서 동시에 변경한다.<br/>
|
|
8132
|
+
* value에 undefined나 null, ''을 지정하면 기존에 설정됐던 스타일 항목이 제거된다.<br/>
|
|
7852
8133
|
*
|
|
7853
|
-
* @param
|
|
7854
|
-
* @param
|
|
7855
|
-
* @
|
|
8134
|
+
* @param props 스타일 항목들과 값들이 설정된 json 객체
|
|
8135
|
+
* @param clear true로 지정하면 기존 스타일 값을 모두 제거한다. 기본값 false
|
|
8136
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본값 true
|
|
7856
8137
|
*/
|
|
7857
|
-
setStyles(
|
|
8138
|
+
setStyles(props: object, clear?: boolean, render?: boolean): this;
|
|
7858
8139
|
_prepareRender(): void;
|
|
7859
8140
|
_afterRender(): void;
|
|
7860
8141
|
_optionChanged(tag?: any): void;
|
|
7861
8142
|
protected _doLoad(options: ChartItemOptions, source: any): void;
|
|
7862
8143
|
protected _doSetSimple(op: OP, src: any): boolean;
|
|
7863
|
-
/** @
|
|
8144
|
+
/** @private */
|
|
7864
8145
|
protected _doLoadProp(prop: string, value: any): boolean;
|
|
7865
8146
|
private $_applyOptions;
|
|
7866
|
-
protected _setDim(
|
|
7867
|
-
protected _setDims(
|
|
7868
|
-
protected _doApply(
|
|
8147
|
+
protected _setDim(op: ChartItemOptions, prop: string): void;
|
|
8148
|
+
protected _setDims(op: ChartItemOptions, ...props: string[]): void;
|
|
8149
|
+
protected _doApply(op: ChartItemOptions): void;
|
|
7869
8150
|
protected _doSave(target: object): void;
|
|
7870
|
-
/** @internal */
|
|
7871
|
-
protected _doUpdate(source: any): void;
|
|
7872
8151
|
protected _doPrepareRender(chart: IChart, op: OP): void;
|
|
7873
8152
|
protected _doAfterRender(): void;
|
|
7874
8153
|
}
|
|
@@ -7999,15 +8278,15 @@ declare abstract class PositioanbleItem<OP extends PositionableItemOptions = Pos
|
|
|
7999
8278
|
* 동적으로 아이템을 다루기 위해서는 반드시 지정해야 한다.
|
|
8000
8279
|
*/
|
|
8001
8280
|
get name(): string;
|
|
8002
|
-
getOffset(w: number, h: number): IPoint;
|
|
8281
|
+
getOffset(w: number, h: number): IPoint$1;
|
|
8003
8282
|
getSize(wDomain: number, hDomain: number): ISize;
|
|
8004
|
-
getPosition(left: number, top: number, wDomain: number, hDomain: number, width: number, height: number): IPoint;
|
|
8283
|
+
getPosition(left: number, top: number, wDomain: number, hDomain: number, width: number, height: number): IPoint$1;
|
|
8005
8284
|
protected _doApply(options: PositionableItemOptions): void;
|
|
8006
8285
|
protected abstract _getNamePrefix(): string;
|
|
8007
8286
|
protected _getDefaultAlign(): string;
|
|
8008
8287
|
}
|
|
8009
8288
|
/**
|
|
8010
|
-
* @
|
|
8289
|
+
* @private
|
|
8011
8290
|
*/
|
|
8012
8291
|
declare abstract class PositionalItemCollection<T extends PositioanbleItem> extends ChartItemCollection<T> {
|
|
8013
8292
|
protected _map: {
|
|
@@ -8033,8 +8312,8 @@ declare abstract class ScaleBase<OP extends ScaleOptions = ScaleOptions> extends
|
|
|
8033
8312
|
|
|
8034
8313
|
/**
|
|
8035
8314
|
* Annotation 모델들의 기반 클래스.<br/>
|
|
8036
|
-
* {@
|
|
8037
|
-
* {@
|
|
8315
|
+
* {@link options 옵션} 모델은 {@link https://realmap.co.kr/docs/api/options/AnnotationOptions AnnotationOptions}이고,
|
|
8316
|
+
* {@link https://realmap.co.kr/config 맵차트 설정}에서 {@link https://realmap.co.kr/config/config/annotation annotation} 항목으로 설정한다.
|
|
8038
8317
|
* ```js
|
|
8039
8318
|
* const config = {
|
|
8040
8319
|
* annotation: [{
|
|
@@ -8043,13 +8322,13 @@ declare abstract class ScaleBase<OP extends ScaleOptions = ScaleOptions> extends
|
|
|
8043
8322
|
* }],
|
|
8044
8323
|
* };
|
|
8045
8324
|
* ```
|
|
8046
|
-
* 또, Chart.{@
|
|
8325
|
+
* 또, Chart.{@link https://realmap.co.kr/docs/api/classes/MapChart#getannotation getAnnotation}으로
|
|
8047
8326
|
* 모델 객체를 가져올 수 있다.
|
|
8048
8327
|
* ```js
|
|
8049
8328
|
* const annotation = chart.getAnnotation('image1');
|
|
8050
8329
|
* annotation.visible = false;
|
|
8051
8330
|
* ```
|
|
8052
|
-
* {@
|
|
8331
|
+
* {@link https://realmap.co.kr/guide/annotations Annotation 개요} 페이지를 참조한다.
|
|
8053
8332
|
*
|
|
8054
8333
|
*/
|
|
8055
8334
|
declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptions> extends PositioanbleItem<OP> {
|
|
@@ -8070,7 +8349,7 @@ declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptio
|
|
|
8070
8349
|
protected _getDefaultAlign(): string;
|
|
8071
8350
|
}
|
|
8072
8351
|
/**
|
|
8073
|
-
* @
|
|
8352
|
+
* @private
|
|
8074
8353
|
*/
|
|
8075
8354
|
interface IAnnotationOwner {
|
|
8076
8355
|
chart: IChart;
|
|
@@ -8080,7 +8359,7 @@ interface IAnnotationOwner {
|
|
|
8080
8359
|
anchorByName(name: string): ChartItem;
|
|
8081
8360
|
}
|
|
8082
8361
|
/**
|
|
8083
|
-
* @
|
|
8362
|
+
* @private
|
|
8084
8363
|
*/
|
|
8085
8364
|
declare class AnnotationCollection extends PositionalItemCollection<Annotation> {
|
|
8086
8365
|
owner: IAnnotationOwner;
|
|
@@ -8120,7 +8399,7 @@ declare class MapChart {
|
|
|
8120
8399
|
get body(): Body;
|
|
8121
8400
|
get assets(): AssetCollection;
|
|
8122
8401
|
/**
|
|
8123
|
-
* {@
|
|
8402
|
+
* {@link setBaseMap}으로 지정되거나,
|
|
8124
8403
|
* 기본적으로 첫번째 enabled인 맵 모델.<br />
|
|
8125
8404
|
*/
|
|
8126
8405
|
get map(): MapModel;
|
|
@@ -8134,14 +8413,14 @@ declare class MapChart {
|
|
|
8134
8413
|
get subtitle(): Subtitle;
|
|
8135
8414
|
/**
|
|
8136
8415
|
* 맵차트에 설정된 첫번째 시리즈.<br/>
|
|
8137
|
-
* {@link guide
|
|
8138
|
-
* {@link config
|
|
8416
|
+
* {@link https://realmap.co.kr/guide/series 시리즈 개요} 및
|
|
8417
|
+
* {@link https://realmap.co.kr/config/config/base/series 시리즈 설정}을 참조한다.
|
|
8139
8418
|
*/
|
|
8140
8419
|
get series(): Series;
|
|
8141
8420
|
/**
|
|
8142
8421
|
* 맵차트에 설정된 첫번째 맵시리즈.<br/>
|
|
8143
|
-
* {@link guide
|
|
8144
|
-
* {@link config
|
|
8422
|
+
* {@link https://realmap.co.kr/guide/series 시리즈 개요} 및
|
|
8423
|
+
* {@link https://realmap.co.kr/config/config/base/series 시리즈 설정}을 참조한다.
|
|
8145
8424
|
*/
|
|
8146
8425
|
get firstMapSeries(): MapSeries;
|
|
8147
8426
|
/**
|
|
@@ -8184,6 +8463,7 @@ declare class MapChart {
|
|
|
8184
8463
|
* 맵차트 내보내기 관련 설정 모델.
|
|
8185
8464
|
*/
|
|
8186
8465
|
get exporter(): Exporter;
|
|
8466
|
+
get global(): ChartGlobal;
|
|
8187
8467
|
/**
|
|
8188
8468
|
* 맵차트 축의 기준이 되는 맵 모델을 지정한다.<br/>
|
|
8189
8469
|
* 매개변수를 지정하지 않거나 잘못된 값을 넘기면 첫번째 enabled인 맵으로 설정된다.
|
|
@@ -8210,6 +8490,12 @@ declare class MapChart {
|
|
|
8210
8490
|
* @returns 시리즈 객체
|
|
8211
8491
|
*/
|
|
8212
8492
|
seriesByType(type: string): Series;
|
|
8493
|
+
/**
|
|
8494
|
+
* Annotation 이름에 해당하는 Annotation 객체를 리턴한다.<br/>
|
|
8495
|
+
*
|
|
8496
|
+
* @param name Annotation 이름
|
|
8497
|
+
* @returns Annotation 객체
|
|
8498
|
+
*/
|
|
8213
8499
|
getAnnotation(name: string): Annotation;
|
|
8214
8500
|
/**
|
|
8215
8501
|
* 기존 모델 설정을 모두 제거하고 초기화 한 후,
|
|
@@ -8314,7 +8600,7 @@ declare class Globals {
|
|
|
8314
8600
|
*/
|
|
8315
8601
|
static getVersion(): string;
|
|
8316
8602
|
/**
|
|
8317
|
-
*
|
|
8603
|
+
* RealMap의 licenseKey를 등록한다.
|
|
8318
8604
|
*/
|
|
8319
8605
|
static setLicenseKey(key: string): void;
|
|
8320
8606
|
/**
|
|
@@ -8343,7 +8629,7 @@ declare class Globals {
|
|
|
8343
8629
|
*/
|
|
8344
8630
|
static getDistance(p1: [number, number], p2: [number, number]): number;
|
|
8345
8631
|
/**
|
|
8346
|
-
* @
|
|
8632
|
+
* @private
|
|
8347
8633
|
*/
|
|
8348
8634
|
static setGlobals(globals: any): void;
|
|
8349
8635
|
/**
|
|
@@ -8406,7 +8692,7 @@ declare class MapTool extends RmTool<ChartControl> {
|
|
|
8406
8692
|
protected _doWheel(ev: WheelEvent): boolean;
|
|
8407
8693
|
protected _isPinchTarget(dom: Element): boolean;
|
|
8408
8694
|
protected _doPinch(dist: number): void;
|
|
8409
|
-
protected _getDragTracker(dom: Element, dx: number, dy: number): DragTracker;
|
|
8695
|
+
protected _getDragTracker(dom: Element, dx: number, dy: number, shift: boolean): DragTracker;
|
|
8410
8696
|
private $_chart;
|
|
8411
8697
|
private $_chartView;
|
|
8412
8698
|
private $_drildown;
|
|
@@ -8512,7 +8798,7 @@ declare abstract class BoundableElement<T extends ChartItem = ChartItem> extends
|
|
|
8512
8798
|
protected _deflatePaddings(size: ISize): void;
|
|
8513
8799
|
}
|
|
8514
8800
|
/**
|
|
8515
|
-
* @
|
|
8801
|
+
* @private
|
|
8516
8802
|
*/
|
|
8517
8803
|
declare abstract class SectionView extends GroupElement {
|
|
8518
8804
|
protected _inverted: boolean;
|
|
@@ -8564,11 +8850,11 @@ declare abstract class AnnotationView<T extends Annotation = Annotation> extends
|
|
|
8564
8850
|
protected _marginable(): boolean;
|
|
8565
8851
|
protected _resetBackBounds(): boolean;
|
|
8566
8852
|
protected _setBackgroundStyle(back: RectElement): void;
|
|
8567
|
-
protected _doLayout(p: IPoint): void;
|
|
8853
|
+
protected _doLayout(p: IPoint$1): void;
|
|
8568
8854
|
}
|
|
8569
8855
|
|
|
8570
8856
|
/**
|
|
8571
|
-
* @
|
|
8857
|
+
* @private
|
|
8572
8858
|
*/
|
|
8573
8859
|
declare class ColorScaleView extends MapWidgetView<ColorScale> {
|
|
8574
8860
|
static readonly SCALE_CLASS = "rm-color-scale";
|
|
@@ -8628,7 +8914,7 @@ declare class ColorScaleView extends MapWidgetView<ColorScale> {
|
|
|
8628
8914
|
}
|
|
8629
8915
|
|
|
8630
8916
|
type Visitor<T extends RmElement> = (element: T, index?: number, count?: number) => void;
|
|
8631
|
-
/** @
|
|
8917
|
+
/** @private */
|
|
8632
8918
|
declare class ElementPool<T extends RmElement> extends RmObject {
|
|
8633
8919
|
private _reversed;
|
|
8634
8920
|
removeDelay: number;
|
|
@@ -8641,6 +8927,7 @@ declare class ElementPool<T extends RmElement> extends RmObject {
|
|
|
8641
8927
|
new (doc: Document, styleName?: string): T;
|
|
8642
8928
|
}, styleName?: string, removeDelay?: number);
|
|
8643
8929
|
protected _doDestory(): void;
|
|
8930
|
+
get owner(): RmElement;
|
|
8644
8931
|
/**
|
|
8645
8932
|
* reversed.
|
|
8646
8933
|
*/
|
|
@@ -8675,16 +8962,16 @@ declare class PathBuilder {
|
|
|
8675
8962
|
clear(): PathBuilder;
|
|
8676
8963
|
end(close?: boolean): string;
|
|
8677
8964
|
close(): string;
|
|
8678
|
-
move(x: number | IPoint, y?: number): PathBuilder;
|
|
8679
|
-
moveBy(x: number | IPoint, y?: number): PathBuilder;
|
|
8680
|
-
movep(x: number | IPoint, y?: number): PathBuilder;
|
|
8681
|
-
line(x: number | IPoint, y?: number): PathBuilder;
|
|
8682
|
-
linep(x: number | IPoint, y?: number): PathBuilder;
|
|
8965
|
+
move(x: number | IPoint$1, y?: number): PathBuilder;
|
|
8966
|
+
moveBy(x: number | IPoint$1, y?: number): PathBuilder;
|
|
8967
|
+
movep(x: number | IPoint$1, y?: number): PathBuilder;
|
|
8968
|
+
line(x: number | IPoint$1, y?: number): PathBuilder;
|
|
8969
|
+
linep(x: number | IPoint$1, y?: number): PathBuilder;
|
|
8683
8970
|
curve(cx1: number, cy1: number, cx2: number, cy2: number, x: number, y: number): PathBuilder;
|
|
8684
8971
|
q(x1: number, y1: number, x2: number, y2: number): PathBuilder;
|
|
8685
8972
|
rect(x: number, y: number, width: number, height: number): PathBuilder;
|
|
8686
|
-
lines(...pts: (number | IPoint)[]): PathBuilder;
|
|
8687
|
-
polygon(...pts: (number | IPoint)[]): PathBuilder;
|
|
8973
|
+
lines(...pts: (number | IPoint$1)[]): PathBuilder;
|
|
8974
|
+
polygon(...pts: (number | IPoint$1)[]): PathBuilder;
|
|
8688
8975
|
circle(cx: number, cy: number, rd: number): PathBuilder;
|
|
8689
8976
|
}
|
|
8690
8977
|
|
|
@@ -8703,14 +8990,14 @@ declare class LineElement extends PathElement {
|
|
|
8703
8990
|
setHLineC(y: number, x1: number, x2: number): void;
|
|
8704
8991
|
}
|
|
8705
8992
|
declare class PolyLineElement extends PathElement {
|
|
8706
|
-
constructor(doc: Document, styleName?: string, lines?: (number | IPoint)[], curved?: boolean);
|
|
8707
|
-
setLines(pts: (number | MapCoord | IPoint)[], curved: boolean): void;
|
|
8993
|
+
constructor(doc: Document, styleName?: string, lines?: (number | IPoint$1)[], curved?: boolean);
|
|
8994
|
+
setLines(pts: (number | MapCoord | IPoint$1)[], curved: boolean): void;
|
|
8708
8995
|
}
|
|
8709
8996
|
|
|
8710
8997
|
interface IPointView {
|
|
8711
8998
|
point: DataPoint;
|
|
8712
8999
|
tooltipColor(): string;
|
|
8713
|
-
tooltipPos?(): IPoint;
|
|
9000
|
+
tooltipPos?(): IPoint$1;
|
|
8714
9001
|
saveStyles(): void;
|
|
8715
9002
|
restoreStyles(): void;
|
|
8716
9003
|
}
|
|
@@ -8790,10 +9077,10 @@ declare abstract class PointElement<T extends DataPoint = DataPoint> extends Pat
|
|
|
8790
9077
|
}
|
|
8791
9078
|
declare class PointContainer extends LayerElement {
|
|
8792
9079
|
}
|
|
8793
|
-
type PointPositioner = (x: number, y: number, wPoint: number, hPoint: number) => IPoint;
|
|
8794
|
-
type LabelPositioner = (x: number, y: number, rLabel: IRect, wPoint: number, hPoint: number, off: number) => IPoint;
|
|
9080
|
+
type PointPositioner = (x: number, y: number, wPoint: number, hPoint: number) => IPoint$1;
|
|
9081
|
+
type LabelPositioner = (x: number, y: number, rLabel: IRect, wPoint: number, hPoint: number, off: number) => IPoint$1;
|
|
8795
9082
|
/**
|
|
8796
|
-
* @
|
|
9083
|
+
* @private
|
|
8797
9084
|
*
|
|
8798
9085
|
* View base for map chart series.
|
|
8799
9086
|
*/
|
|
@@ -8854,15 +9141,17 @@ declare abstract class SeriesView<T extends Series = Series> extends ChartElemen
|
|
|
8854
9141
|
setGrowRate(rate: number): void;
|
|
8855
9142
|
setPosRate(rate: number): void;
|
|
8856
9143
|
setPrevRate(rate: number): void;
|
|
8857
|
-
pointByDom(elt: Element, p: IPoint): IPointView;
|
|
8858
|
-
click(elt: Element, p: IPoint): void;
|
|
8859
|
-
|
|
8860
|
-
|
|
9144
|
+
pointByDom(elt: Element, p: IPoint$1): IPointView;
|
|
9145
|
+
click(elt: Element, p: IPoint$1): void;
|
|
9146
|
+
protected _clusterOfDom(elt: Element): PointClusterView;
|
|
9147
|
+
select(elt: Element, p: IPoint$1, clear: boolean): void;
|
|
9148
|
+
toggleSelect(elt: Element, p: IPoint$1): void;
|
|
8861
9149
|
runPointAddAnimation(p: DataPoint): void;
|
|
8862
9150
|
/**
|
|
8863
9151
|
* 데이터포인트와 연결된 라벨 표시/숨김 처리 #361
|
|
8864
9152
|
*/
|
|
8865
9153
|
setPointLabelVisible(point: DataPoint, visible: boolean): void;
|
|
9154
|
+
zoomChanged(zoom: number, oldZoom: number): void;
|
|
8866
9155
|
protected abstract _doPrepeare(doc: Document, model: T, dataDirty: boolean): void;
|
|
8867
9156
|
protected abstract _doRender(width: number, height: number): void;
|
|
8868
9157
|
protected abstract _doReset(): void;
|
|
@@ -8891,6 +9180,16 @@ declare abstract class SeriesView<T extends Series = Series> extends ChartElemen
|
|
|
8891
9180
|
protected _legendColorProp(): string;
|
|
8892
9181
|
protected _doPointClicked(view: IPointView): void;
|
|
8893
9182
|
}
|
|
9183
|
+
declare class PointClusterView extends RmElement {
|
|
9184
|
+
private static readonly CLASS_NAME;
|
|
9185
|
+
static isClusterView(dom: Element): Element;
|
|
9186
|
+
private _shape;
|
|
9187
|
+
private _label;
|
|
9188
|
+
_cluster: ICluster;
|
|
9189
|
+
constructor(doc: Document);
|
|
9190
|
+
setCluster(cluster: ICluster): void;
|
|
9191
|
+
render(rd: number, color: string): void;
|
|
9192
|
+
}
|
|
8894
9193
|
declare abstract class MarkerSeriesPointView<T extends MarkerSeriesPoint = MarkerSeriesPoint> extends PointElement<T> implements IPointView {
|
|
8895
9194
|
beginHover(series: SeriesView, focused: boolean): void;
|
|
8896
9195
|
setHoverRate(series: SeriesView, focused: boolean, rate: number): void;
|
|
@@ -8906,10 +9205,79 @@ declare abstract class MarkerSeriesView<T extends MarkerSeries = MarkerSeries> e
|
|
|
8906
9205
|
protected _getPointPool(): PointViewPool<PointElement>;
|
|
8907
9206
|
}
|
|
8908
9207
|
|
|
9208
|
+
declare class AreaView extends PointElement<MapSeriesPoint> {
|
|
9209
|
+
static idClass(area: MapArea): string;
|
|
9210
|
+
static getId(dom: Element): string;
|
|
9211
|
+
constructor(doc: Document);
|
|
9212
|
+
model: MapArea;
|
|
9213
|
+
strokeView: AreaStrokeView;
|
|
9214
|
+
setModel(model: MapArea): void;
|
|
9215
|
+
render(nullStyle: SVGStyleOrClass, dummyStyle: SVGStyleOrClass, selectStyle: SVGStyleOrClass, pointContainer: PointContainer, dirty: boolean, isHovering: boolean): void;
|
|
9216
|
+
reset(): void;
|
|
9217
|
+
}
|
|
9218
|
+
declare class AreaStrokeView extends PathElement {
|
|
9219
|
+
private _owner;
|
|
9220
|
+
private _area;
|
|
9221
|
+
constructor(doc: Document, owner: PointContainer);
|
|
9222
|
+
render(targetArea: AreaView, style: SVGStyleOrClass): void;
|
|
9223
|
+
refresh(): void;
|
|
9224
|
+
attachToOwner(): void;
|
|
9225
|
+
detachFromOwner(): void;
|
|
9226
|
+
protected _doInitStyles(): void;
|
|
9227
|
+
private copyPath;
|
|
9228
|
+
}
|
|
9229
|
+
/**
|
|
9230
|
+
* View for map series.
|
|
9231
|
+
*/
|
|
9232
|
+
declare class MapSeriesView extends SeriesView<MapSeries> {
|
|
9233
|
+
private static readonly DefaultHoverFilter;
|
|
9234
|
+
private static readonly DefaultHoverStrokeWidth;
|
|
9235
|
+
private static readonly DefaultLabelHoverFill;
|
|
9236
|
+
private _hoverArea;
|
|
9237
|
+
private _internalContainer;
|
|
9238
|
+
private _externalContainer;
|
|
9239
|
+
private _borderContainer;
|
|
9240
|
+
private _insetLabelContainer;
|
|
9241
|
+
private _areaPool;
|
|
9242
|
+
private _areas;
|
|
9243
|
+
private _internalPool;
|
|
9244
|
+
private _externalPool;
|
|
9245
|
+
private _borderPool;
|
|
9246
|
+
private _insetPool;
|
|
9247
|
+
private _insets;
|
|
9248
|
+
private _hoverStrokeView;
|
|
9249
|
+
constructor(doc: Document);
|
|
9250
|
+
get hoverArea(): AreaView;
|
|
9251
|
+
set hoverArea(value: AreaView);
|
|
9252
|
+
get insets(): MapInset[];
|
|
9253
|
+
areaOfDom(dom: Element): AreaView;
|
|
9254
|
+
getIntersectedAreas(rect: SVGGeometryElement): AreaView[];
|
|
9255
|
+
needClip(): boolean;
|
|
9256
|
+
secondLabelContainer(): LayerElement;
|
|
9257
|
+
protected _getPointPool(): PointViewPool<PointElement>;
|
|
9258
|
+
protected _setModelColor(color: string): void;
|
|
9259
|
+
protected _setPointColor(v: RmElement, color: string): void;
|
|
9260
|
+
prepareModel(doc: Document, model: MapSeries, scroll: number): void;
|
|
9261
|
+
protected _doPrepeare(doc: Document, model: MapSeries, dataDirty: boolean): void;
|
|
9262
|
+
protected _doRender(width: number, height: number): void;
|
|
9263
|
+
protected _doReset(): void;
|
|
9264
|
+
protected _doPointerMoved(x: number, y: number, dom: Element): boolean;
|
|
9265
|
+
protected _doPointClicked(view: IPointView): void;
|
|
9266
|
+
protected _runShowEffect(firstTime: boolean): void;
|
|
9267
|
+
protected _doViewRateChanged(rate: number): void;
|
|
9268
|
+
onScrollStart(): void;
|
|
9269
|
+
onScrollEnd(): void;
|
|
9270
|
+
onRotationStart(): void;
|
|
9271
|
+
onRotationEnd(): void;
|
|
9272
|
+
private $_layoutAreas;
|
|
9273
|
+
private getPointLabel;
|
|
9274
|
+
private setHoverStyle;
|
|
9275
|
+
}
|
|
9276
|
+
|
|
8909
9277
|
interface IBodyViewOwner {
|
|
8910
9278
|
tx: number;
|
|
8911
9279
|
ty: number;
|
|
8912
|
-
showTooltip(series: Series, pv: IPointView, map: RmElement, p: IPoint): void;
|
|
9280
|
+
showTooltip(series: Series, pv: IPointView, map: RmElement, p: IPoint$1): void;
|
|
8913
9281
|
hideTooltip(): void;
|
|
8914
9282
|
tooltipVisible(): boolean;
|
|
8915
9283
|
getScaleView(scale: ColorScale): ColorScaleView;
|
|
@@ -8938,8 +9306,10 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
|
|
|
8938
9306
|
private _transformInfo;
|
|
8939
9307
|
private _mousePos;
|
|
8940
9308
|
private _prevPrj;
|
|
9309
|
+
private _zoom;
|
|
8941
9310
|
constructor(doc: Document, owner: IBodyViewOwner);
|
|
8942
9311
|
getAnnotationAnchor(model: any): RmElement;
|
|
9312
|
+
get firstMap(): MapSeriesView;
|
|
8943
9313
|
get transformInfo(): IBodyTransform;
|
|
8944
9314
|
get isProjectionChanged(): boolean;
|
|
8945
9315
|
getSeries(series: Series): SeriesView<Series<SeriesOptions>>;
|
|
@@ -8947,15 +9317,18 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
|
|
|
8947
9317
|
afterRender(): void;
|
|
8948
9318
|
clean(): void;
|
|
8949
9319
|
reset(): void;
|
|
8950
|
-
getTooltipPos(): IPoint;
|
|
9320
|
+
getTooltipPos(): IPoint$1;
|
|
8951
9321
|
pointerMoved(x: number, y: number, target: EventTarget): boolean;
|
|
8952
9322
|
seriesByDom(dom: Element): SeriesView;
|
|
8953
9323
|
showSeries(series: Series): void;
|
|
8954
9324
|
hideSeries(series: Series): void;
|
|
8955
9325
|
getBackBounds(): DOMRect;
|
|
8956
9326
|
addFeedback(view: RmElement): void;
|
|
9327
|
+
zoomChanged(zoom: number, oldZoom: number): void;
|
|
8957
9328
|
onScrollStart(): void;
|
|
8958
9329
|
onScrollEnd(): void;
|
|
9330
|
+
onRotationStart(): void;
|
|
9331
|
+
onRotationEnd(): void;
|
|
8959
9332
|
protected _doMeasure(doc: Document, model: Body, hintWidth: number, hintHeight: number): ISize;
|
|
8960
9333
|
protected _doLayout(param: any): void;
|
|
8961
9334
|
/**
|
|
@@ -8974,13 +9347,13 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
|
|
|
8974
9347
|
* @param point 픽셀 좌표
|
|
8975
9348
|
* @returns 경위도 좌표
|
|
8976
9349
|
*/
|
|
8977
|
-
mouseToMap(point: IPoint, ignoreScroll?: boolean, ignorePadding?: boolean): MapCoord;
|
|
9350
|
+
mouseToMap(point: IPoint$1, ignoreScroll?: boolean, ignorePadding?: boolean): MapCoord;
|
|
8978
9351
|
boundsToMap(r: IRect, ignoreScroll?: boolean, ignorePadding?: boolean): {
|
|
8979
9352
|
from: MapCoord;
|
|
8980
9353
|
to: MapCoord;
|
|
8981
9354
|
};
|
|
8982
9355
|
pointToMap(x: number, y: number, ignoreScroll: boolean): MapCoord;
|
|
8983
|
-
mapToPoint(coord: MapCoord): IPoint;
|
|
9356
|
+
mapToPoint(coord: MapCoord): IPoint$1;
|
|
8984
9357
|
boundsByCoord(coordFrom: MapCoord, coordTo: MapCoord): {
|
|
8985
9358
|
x: number;
|
|
8986
9359
|
y: number;
|
|
@@ -9052,7 +9425,7 @@ declare class DrilldownPanelView extends BodyPanelView<DrilldownPanel> {
|
|
|
9052
9425
|
}
|
|
9053
9426
|
|
|
9054
9427
|
/**
|
|
9055
|
-
* @
|
|
9428
|
+
* @private
|
|
9056
9429
|
*/
|
|
9057
9430
|
declare class CreditsView extends ChartElement<Credits> {
|
|
9058
9431
|
private _textView;
|
|
@@ -9100,7 +9473,7 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
9100
9473
|
getWidgetViews(loc: ChartItemLocation, widgets: MapWidget[]): MapWidgetView<MapWidget<MapWidgetOptions>>[];
|
|
9101
9474
|
measure(doc: Document, m: ChartObject, hintWidth: number, hintHeight: number): void;
|
|
9102
9475
|
layout(): void;
|
|
9103
|
-
showTooltip(series: Series, pv: IPointView, map: BodyView, p: IPoint): void;
|
|
9476
|
+
showTooltip(series: Series, pv: IPointView, map: BodyView, p: IPoint$1): void;
|
|
9104
9477
|
tooltipVisible(): boolean;
|
|
9105
9478
|
hideTooltip(): void;
|
|
9106
9479
|
clean(): void;
|
|
@@ -9115,8 +9488,10 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
9115
9488
|
getButton(dom: Element): ButtonElement;
|
|
9116
9489
|
buttonClicked(button: ButtonElement): void;
|
|
9117
9490
|
updateAnnotation(anno: Annotation): void;
|
|
9491
|
+
zoomChanged(zoom: number, oldZoom: number): void;
|
|
9118
9492
|
isAnimating(): void;
|
|
9119
9493
|
onScrollStart(): void;
|
|
9494
|
+
onRotationStart(): void;
|
|
9120
9495
|
private $_prepareAnnotations;
|
|
9121
9496
|
private $_layoutAnnotations;
|
|
9122
9497
|
private $_prepareMapRegions;
|
|
@@ -9125,7 +9500,7 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
9125
9500
|
}
|
|
9126
9501
|
|
|
9127
9502
|
/**
|
|
9128
|
-
* @
|
|
9503
|
+
* @private
|
|
9129
9504
|
*/
|
|
9130
9505
|
declare class ChartControl extends RmControl implements IMapChartEvents {
|
|
9131
9506
|
private static readonly LOADING_VIEW_LENGTH;
|
|
@@ -9140,7 +9515,7 @@ declare class ChartControl extends RmControl implements IMapChartEvents {
|
|
|
9140
9515
|
onDataChanged(chart: ChartObject, series: Series): void;
|
|
9141
9516
|
onProjectionChanged(chart: ChartObject, projection: MapProjection): void;
|
|
9142
9517
|
onMapChanged(chart: ChartObject, map: MapModel): void;
|
|
9143
|
-
onZoomChanged(chart: ChartObject, oldZoom: number): void;
|
|
9518
|
+
onZoomChanged(chart: ChartObject, zoom: number, oldZoom: number): void;
|
|
9144
9519
|
onPointAdded(chart: ChartObject, series: Series, p: DataPoint, animate: boolean): void;
|
|
9145
9520
|
onRequestRender(chart: ChartObject, now: boolean): void;
|
|
9146
9521
|
onRequestShowSeries(chart: ChartObject, series: Series, visible: boolean): void;
|
|
@@ -9185,8 +9560,8 @@ declare class BarSeriesPoint extends OrthogonalSparkSeriesPoint {
|
|
|
9185
9560
|
}
|
|
9186
9561
|
/**
|
|
9187
9562
|
* Bar 시리즈 모델.<br/>
|
|
9188
|
-
* {@
|
|
9189
|
-
* {@
|
|
9563
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/bar bar}이고,
|
|
9564
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/BarSeriesOptions BarSeriesOptions}이다.
|
|
9190
9565
|
*/
|
|
9191
9566
|
declare class BarSeries extends OrthogonalSparkSeries<BarSeriesOptions> {
|
|
9192
9567
|
static type: string;
|
|
@@ -9212,8 +9587,8 @@ declare class BubbleSeriesPoint extends MarkerSeriesPoint {
|
|
|
9212
9587
|
}
|
|
9213
9588
|
/**
|
|
9214
9589
|
* Bubble 시리즈 모델.<br/>
|
|
9215
|
-
* {@
|
|
9216
|
-
* {@
|
|
9590
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/bubble bubble}이고,
|
|
9591
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/BubbleSeriesOptions BubbleSeriesOptions}이다.
|
|
9217
9592
|
*/
|
|
9218
9593
|
declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
|
|
9219
9594
|
static type: string;
|
|
@@ -9251,14 +9626,14 @@ declare class CircleGaugeItem<OP extends ChartItemOptions> extends ChartItem<OP>
|
|
|
9251
9626
|
}
|
|
9252
9627
|
/**
|
|
9253
9628
|
* 원형게이지 내부 원 모델.<br/>
|
|
9254
|
-
* {@
|
|
9629
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/CircleGaugeFaceptions CircleGaugeFaceptions}이다.
|
|
9255
9630
|
*/
|
|
9256
9631
|
declare class CircleGaugeFace extends CircleGaugeItem<CircleGaugeFaceOptions> {
|
|
9257
9632
|
static defaults: CircleGaugeFaceOptions;
|
|
9258
9633
|
}
|
|
9259
9634
|
/**
|
|
9260
9635
|
* 원형게이지 테두리(rim) 모델.<br/>
|
|
9261
|
-
* {@
|
|
9636
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/CircleGaugeRimOptions CircleGaugeRimOptions}이다.
|
|
9262
9637
|
*/
|
|
9263
9638
|
declare class CircleGaugeRim extends CircleGaugeItem<CircleGaugeRimOptions> {
|
|
9264
9639
|
static defaults: CircleGaugeRimOptions;
|
|
@@ -9267,7 +9642,7 @@ declare class CircleGaugeRim extends CircleGaugeItem<CircleGaugeRimOptions> {
|
|
|
9267
9642
|
}
|
|
9268
9643
|
/**
|
|
9269
9644
|
* 값을 표시하는 테두리(rim) 모델.<br/>
|
|
9270
|
-
* {@
|
|
9645
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/CircleGaugeValueRimOptions CircleGaugeValueRimOptions}이다.
|
|
9271
9646
|
*/
|
|
9272
9647
|
declare class CircleGaugeValueRim extends CircleGaugeItem<CircleGaugeValueRimOptions> {
|
|
9273
9648
|
static defaults: CircleGaugeValueRimOptions;
|
|
@@ -9277,7 +9652,7 @@ declare class CircleGaugeValueRim extends CircleGaugeItem<CircleGaugeValueRimOpt
|
|
|
9277
9652
|
}
|
|
9278
9653
|
/**
|
|
9279
9654
|
* 원형게이지 침(hand) 모델.<br/>
|
|
9280
|
-
* {@
|
|
9655
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/CircleGaugeHandOptions CircleGaugeHandOptions}이다.
|
|
9281
9656
|
*/
|
|
9282
9657
|
declare class CircleGaugeHand extends CircleGaugeItem<CircleGaugeHandOptions> {
|
|
9283
9658
|
static defaults: CircleGaugeHandOptions;
|
|
@@ -9293,7 +9668,7 @@ declare class CircleGaugeHand extends CircleGaugeItem<CircleGaugeHandOptions> {
|
|
|
9293
9668
|
}
|
|
9294
9669
|
/**
|
|
9295
9670
|
* 원형게이지 핀 모델.<br/>
|
|
9296
|
-
* {@
|
|
9671
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/CircleGaugePinOptions CircleGaugePinOptions}이다.
|
|
9297
9672
|
*/
|
|
9298
9673
|
declare class CircleGaugePin extends CircleGaugeItem<CircleGaugePinOptions> {
|
|
9299
9674
|
static defaults: CircleGaugePinOptions;
|
|
@@ -9306,7 +9681,7 @@ declare class CircleGaugeLabel extends ChartText<CircleGaugeLabelOptions> {
|
|
|
9306
9681
|
private _offsetXDim;
|
|
9307
9682
|
private _offsetYDim;
|
|
9308
9683
|
_domain: IRichTextDomain;
|
|
9309
|
-
getOffset(width: number, height: number): IPoint;
|
|
9684
|
+
getOffset(width: number, height: number): IPoint$1;
|
|
9310
9685
|
protected _doApply(options: CircleGaugeLabelOptions): void;
|
|
9311
9686
|
}
|
|
9312
9687
|
interface ICircleGaugeExtents {
|
|
@@ -9356,8 +9731,8 @@ declare class CircleGaugePoint extends GaugePoint {
|
|
|
9356
9731
|
}
|
|
9357
9732
|
/**
|
|
9358
9733
|
* Circle 게이지 모델.<br/>
|
|
9359
|
-
* {@
|
|
9360
|
-
* {@
|
|
9734
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/gauge gauge}이고,
|
|
9735
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/CircleGaugeOptions CircleGaugeOptions}이다.
|
|
9361
9736
|
*/
|
|
9362
9737
|
declare class CircleGauge extends ValueGauge<CircleGaugeOptions> {
|
|
9363
9738
|
static readonly DEF_CENTER = "50%";
|
|
@@ -9390,7 +9765,7 @@ declare class ClockGaugeItem<OP extends ChartItemOptions> extends ChartItem<OP>
|
|
|
9390
9765
|
}
|
|
9391
9766
|
/**
|
|
9392
9767
|
* Clock 게이지 테두리(rim) 설정 모델.<br/>
|
|
9393
|
-
* {@
|
|
9768
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugeRimOptions ClockGaugeRimOptions}이다.
|
|
9394
9769
|
*/
|
|
9395
9770
|
declare class ClockGaugeRim extends ClockGaugeItem<ClockGaugeRimOptions> {
|
|
9396
9771
|
static defaults: ClockGaugeRimOptions;
|
|
@@ -9400,7 +9775,7 @@ declare class ClockGaugeRim extends ClockGaugeItem<ClockGaugeRimOptions> {
|
|
|
9400
9775
|
}
|
|
9401
9776
|
/**
|
|
9402
9777
|
* Clock 게이지 시/분침(hand) 설정 모델.<br/>
|
|
9403
|
-
* {@
|
|
9778
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugeHandOptions ClockGaugeHandOptions}이다.
|
|
9404
9779
|
*/
|
|
9405
9780
|
declare class ClockGaugeHand<OP extends ClockGaugeHandOptions = ClockGaugeHandOptions> extends ClockGaugeItem<OP> {
|
|
9406
9781
|
static defaults: ClockGaugeHandOptions;
|
|
@@ -9410,42 +9785,42 @@ declare class ClockGaugeHand<OP extends ClockGaugeHandOptions = ClockGaugeHandOp
|
|
|
9410
9785
|
}
|
|
9411
9786
|
/**
|
|
9412
9787
|
* Clock 게이지 분침 모델.<br/>
|
|
9413
|
-
* {@
|
|
9788
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugeHandOptions ClockGaugeHandOptions}이다.
|
|
9414
9789
|
*/
|
|
9415
9790
|
declare class ClockGaugeMinuteHand extends ClockGaugeHand<ClockGaugeHandOptions> {
|
|
9416
9791
|
static defaults: ClockGaugeHandOptions;
|
|
9417
9792
|
}
|
|
9418
9793
|
/**
|
|
9419
9794
|
* Clock 게이지 초침(hand) 설정 모델.<br/>
|
|
9420
|
-
* {@
|
|
9795
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugeSecondHandOptions ClockGaugeSecondHandOptions}이다.
|
|
9421
9796
|
*/
|
|
9422
9797
|
declare class ClockGaugeSecondHand extends ClockGaugeHand<ClockGaugeSecondHandOptions> {
|
|
9423
9798
|
static defaults: ClockGaugeSecondHandOptions;
|
|
9424
9799
|
}
|
|
9425
9800
|
/**
|
|
9426
9801
|
* Clock 게이지 tick 설정 모델.<br/>
|
|
9427
|
-
* {@
|
|
9802
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugeTickOptions ClockGaugeTickOptions}이다.
|
|
9428
9803
|
*/
|
|
9429
9804
|
declare class ClockGaugeTick extends ClockGaugeItem<ClockGaugeTickOptions> {
|
|
9430
9805
|
static defaults: ClockGaugeTickOptions;
|
|
9431
9806
|
}
|
|
9432
9807
|
/**
|
|
9433
9808
|
* Clock 게이지 tick 라벨 설정 모델.<br/>
|
|
9434
|
-
* {@
|
|
9809
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugeTickLabelOptions ClockGaugeTickLabelOptions}이다.
|
|
9435
9810
|
*/
|
|
9436
9811
|
declare class ClockGaugeTickLabel extends ClockGaugeItem<ClockGaugeTickLabelOptions> {
|
|
9437
9812
|
static defaults: ClockGaugeTickLabelOptions;
|
|
9438
9813
|
}
|
|
9439
9814
|
/**
|
|
9440
9815
|
* Clock 게이지 중심 pin 설정 모델.<br/>
|
|
9441
|
-
* {@
|
|
9816
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugePinOptions ClockGaugePinOptions}이다.
|
|
9442
9817
|
*/
|
|
9443
9818
|
declare class ClockGaugePin extends ClockGaugeItem<ClockGaugePinOptions> {
|
|
9444
9819
|
static defaults: ClockGaugePinOptions;
|
|
9445
9820
|
}
|
|
9446
9821
|
/**
|
|
9447
9822
|
* Clock 게이지 내부에 표시되는 라벨 설정 모델.<br/>
|
|
9448
|
-
* {@
|
|
9823
|
+
* {@link options} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugeLabelOptions ClockGaugeLabelOptions}이다.
|
|
9449
9824
|
*/
|
|
9450
9825
|
declare class ClockGaugeLabel extends ChartText<ClockGaugeLabelOptions> {
|
|
9451
9826
|
static defaults: ClockGaugeLabelOptions;
|
|
@@ -9462,8 +9837,8 @@ declare class ClockGaugePoint extends GaugePoint {
|
|
|
9462
9837
|
}
|
|
9463
9838
|
/**
|
|
9464
9839
|
* Clock 게이지 모델.<br/>
|
|
9465
|
-
* {@
|
|
9466
|
-
* {@
|
|
9840
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/clock clock}이고,
|
|
9841
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/ClockGaugeOptions ClockGaugeOptions}이다.
|
|
9467
9842
|
*/
|
|
9468
9843
|
declare class ClockGauge extends Gauge<ClockGaugeOptions> {
|
|
9469
9844
|
static readonly DEF_CENTER = "50%";
|
|
@@ -9522,8 +9897,8 @@ declare class FigureSeriesImage extends ChartItem<FigureSeriesImageOptions> {
|
|
|
9522
9897
|
}
|
|
9523
9898
|
/**
|
|
9524
9899
|
* Figure 시리즈 모델.<br/>
|
|
9525
|
-
* {@
|
|
9526
|
-
* {@
|
|
9900
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/figure figure}이고,
|
|
9901
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/FigureSeriesOptions FigureSeriesOptions}이다.
|
|
9527
9902
|
*/
|
|
9528
9903
|
declare class FigureSeries extends CoordBaseSeries<FigureSeriesOptions> {
|
|
9529
9904
|
static type: string;
|
|
@@ -9531,20 +9906,23 @@ declare class FigureSeries extends CoordBaseSeries<FigureSeriesOptions> {
|
|
|
9531
9906
|
private _innerLabel;
|
|
9532
9907
|
private _innerImage;
|
|
9533
9908
|
private _figureBox;
|
|
9909
|
+
private _minValue;
|
|
9910
|
+
private _maxValue;
|
|
9534
9911
|
protected _doInit(op: FigureSeriesOptions): void;
|
|
9535
9912
|
get innerLabel(): DataPointLabel<DataPointLabelOptions>;
|
|
9536
9913
|
get innerImage(): FigureSeriesImage;
|
|
9537
|
-
get path(): string | (string |
|
|
9538
|
-
path: string;
|
|
9539
|
-
style: SVGStyleOrClass;
|
|
9540
|
-
})[];
|
|
9914
|
+
get path(): string | (string | FigureObject)[];
|
|
9541
9915
|
get figureBox(): [number, number];
|
|
9542
9916
|
getFigureSize(): ISize;
|
|
9543
9917
|
getImageSize(): ISize;
|
|
9544
9918
|
protected _doApply(options: FigureSeriesOptions): void;
|
|
9545
9919
|
protected _createPoint(source: any): FigureSeriesPoint;
|
|
9546
9920
|
protected _defLabelOff(): number;
|
|
9547
|
-
|
|
9921
|
+
getValueRange(): {
|
|
9922
|
+
min: number;
|
|
9923
|
+
max: number;
|
|
9924
|
+
};
|
|
9925
|
+
protected _doPrepareRender(chart: IChart, op: FigureSeriesOptions): void;
|
|
9548
9926
|
private $_calcBox;
|
|
9549
9927
|
}
|
|
9550
9928
|
|
|
@@ -9558,11 +9936,11 @@ declare class ImageSeriesPoint extends DataPoint {
|
|
|
9558
9936
|
}
|
|
9559
9937
|
/**
|
|
9560
9938
|
* Image 시리즈 모델.<br/>
|
|
9561
|
-
* {@
|
|
9562
|
-
* {@
|
|
9939
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/image image}이고,
|
|
9940
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/ImageSeriesOptions ImageSeriesOptions}이다.<br/>
|
|
9563
9941
|
*
|
|
9564
9942
|
* 데이터포인트에 imageUrl 속성이 지정되면 그 값을,
|
|
9565
|
-
* 아니면 {@
|
|
9943
|
+
* 아니면 {@link imageField}에 지정한 속성의 값을 {@link rootUrl}에 더해 이미지 경로를 만든다.
|
|
9566
9944
|
*/
|
|
9567
9945
|
declare class ImageSeries extends Series<ImageSeriesOptions> {
|
|
9568
9946
|
static type: string;
|
|
@@ -9584,8 +9962,8 @@ declare class LineSeriesArea extends ChartItem<LineSeriesAreaOptions> {
|
|
|
9584
9962
|
}
|
|
9585
9963
|
/**
|
|
9586
9964
|
* Line 시리즈 모델.<br/>
|
|
9587
|
-
* {@
|
|
9588
|
-
* {@
|
|
9965
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/line line}이고,
|
|
9966
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/LineSeriesOptions LineSeriesOptions}이다.
|
|
9589
9967
|
*/
|
|
9590
9968
|
declare class LineSeries extends OrthogonalSparkSeries<LineSeriesOptions> {
|
|
9591
9969
|
static type: string;
|
|
@@ -9627,8 +10005,8 @@ declare class PanelSeriesBody extends PanelSeriesSection<PanelSeriesBodyOptions>
|
|
|
9627
10005
|
}
|
|
9628
10006
|
/**
|
|
9629
10007
|
* Panel 시리즈 모델.<br/>
|
|
9630
|
-
* {@
|
|
9631
|
-
* {@
|
|
10008
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/point panel}이고,
|
|
10009
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/PanelSeriesOptions PanelSeriesOptions}이다.
|
|
9632
10010
|
*/
|
|
9633
10011
|
declare class PanelSeries extends CoordBaseSeries<PanelSeriesOptions> {
|
|
9634
10012
|
static readonly DEF_MIN_WIDTH = 80;
|
|
@@ -9667,8 +10045,8 @@ declare class PieSeriesThresholdImpl implements PieSeriesThreshold {
|
|
|
9667
10045
|
}
|
|
9668
10046
|
/**
|
|
9669
10047
|
* Pie 시리즈 모델.<br/>
|
|
9670
|
-
* {@
|
|
9671
|
-
* {@
|
|
10048
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/pie pie}이고,
|
|
10049
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/PieSeriesOptions PieSeriesOptions}이다.
|
|
9672
10050
|
*/
|
|
9673
10051
|
declare class PieSeries extends SparkSeries<PieSeriesOptions> {
|
|
9674
10052
|
static type: string;
|
|
@@ -9701,8 +10079,8 @@ declare class PinSeriesPoint extends MarkerSeriesPoint {
|
|
|
9701
10079
|
}
|
|
9702
10080
|
/**
|
|
9703
10081
|
* Point 시리즈 모델.<br/>
|
|
9704
|
-
* {@
|
|
9705
|
-
* {@
|
|
10082
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/point point}이고,
|
|
10083
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/PinSeriesOptions PinSeriesOptions}이다.
|
|
9706
10084
|
*/
|
|
9707
10085
|
declare class PinSeries extends MarkerSeries<PinSeriesOptions> {
|
|
9708
10086
|
private static readonly DEF_RADIUS;
|
|
@@ -9724,7 +10102,6 @@ declare class PinSeries extends MarkerSeries<PinSeriesOptions> {
|
|
|
9724
10102
|
protected _doApply(options: PinSeriesOptions): void;
|
|
9725
10103
|
protected _createPoint(source: any): PinSeriesPoint;
|
|
9726
10104
|
protected _defLabelOff(): number;
|
|
9727
|
-
protected _doLoadPoints(src: any): void;
|
|
9728
10105
|
protected _createLegendMarker(doc: Document, size: number): RmElement;
|
|
9729
10106
|
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
9730
10107
|
getColorScale(): string | number;
|
|
@@ -9742,27 +10119,31 @@ declare class PinSeries extends MarkerSeries<PinSeriesOptions> {
|
|
|
9742
10119
|
*/
|
|
9743
10120
|
declare class PointSeriesPoint extends MarkerSeriesPoint {
|
|
9744
10121
|
position: PointViewPosition;
|
|
10122
|
+
x: number;
|
|
10123
|
+
y: number;
|
|
9745
10124
|
protected _readObject(series: ISeries<PointSeriesPoint>, v: any): void;
|
|
9746
10125
|
protected _valuesChanged(prev: any): boolean;
|
|
9747
10126
|
}
|
|
9748
10127
|
/**
|
|
9749
10128
|
* Point 시리즈 모델.<br/>
|
|
9750
|
-
* {@
|
|
9751
|
-
* {@
|
|
10129
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/point point}이고,
|
|
10130
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/PointSeriesOptions PointSeriesOptions}이다.
|
|
9752
10131
|
*/
|
|
9753
10132
|
declare class PointSeries extends MarkerSeries<PointSeriesOptions> {
|
|
9754
10133
|
static type: string;
|
|
9755
10134
|
static defaults: PointSeriesOptions;
|
|
10135
|
+
private _cluster;
|
|
9756
10136
|
private _shape;
|
|
9757
10137
|
private _stroke;
|
|
9758
10138
|
private _strokeWidth;
|
|
9759
10139
|
constructor(chart: IChart);
|
|
10140
|
+
protected _doInit(op: PointSeriesOptions): void;
|
|
9760
10141
|
getShape(): Shape;
|
|
9761
10142
|
getRadius(): number;
|
|
9762
10143
|
setLegendMarkerStyle(marker: RmElement): void;
|
|
10144
|
+
get cluster(): PointCluster;
|
|
9763
10145
|
protected _createPoint(source: any): PointSeriesPoint;
|
|
9764
10146
|
protected _defLabelOff(): number;
|
|
9765
|
-
protected _doLoadPoints(src: any): void;
|
|
9766
10147
|
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
9767
10148
|
protected _createLegendMarker(doc: Document, size: number): RmElement;
|
|
9768
10149
|
legendMarker(doc: Document, size: number): RmElement;
|
|
@@ -9780,8 +10161,8 @@ declare class RouteSeriesPoint extends DataPoint {
|
|
|
9780
10161
|
}
|
|
9781
10162
|
/**
|
|
9782
10163
|
* Route 시리즈 모델.<br/>
|
|
9783
|
-
* {@
|
|
9784
|
-
* {@
|
|
10164
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/route route}이고,
|
|
10165
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/RouteSeriesOptions RouteSeriesOptions}이다.
|
|
9785
10166
|
*/
|
|
9786
10167
|
declare class RouteSeries extends Series<RouteSeriesOptions> {
|
|
9787
10168
|
static type: string;
|
|
@@ -9799,8 +10180,8 @@ declare class WaffleSeriesPoint extends SparkSeriesPoint {
|
|
|
9799
10180
|
}
|
|
9800
10181
|
/**
|
|
9801
10182
|
* Waffle 시리즈 모델.<br/>
|
|
9802
|
-
* {@
|
|
9803
|
-
* {@
|
|
10183
|
+
* {@link https://realmap.co.kr/docs/api/options/SeriesOptions#type type}은 {@link https://realmap.co.kr/config/config/series/Waffle waffle}이고,
|
|
10184
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/WaffleSeriesOptions WaffleSeriesOptions}이다.
|
|
9804
10185
|
*/
|
|
9805
10186
|
declare class WaffleSeries extends SparkSeries<WaffleSeriesOptions> {
|
|
9806
10187
|
static readonly ROW_COUNT = 10;
|
|
@@ -9846,8 +10227,8 @@ declare class WaffleSeries extends SparkSeries<WaffleSeriesOptions> {
|
|
|
9846
10227
|
|
|
9847
10228
|
/**
|
|
9848
10229
|
* Text Annotation 모델.<br/>
|
|
9849
|
-
* {@
|
|
9850
|
-
* {@
|
|
10230
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 {@link https://realmap.co.kr/config/config/annotation/image shape}이고,
|
|
10231
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/ShapeAnnotationOptions ShapeAnnotationOptions}이다.
|
|
9851
10232
|
*/
|
|
9852
10233
|
declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
|
|
9853
10234
|
static readonly type = "text";
|
|
@@ -9862,8 +10243,8 @@ declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
|
|
|
9862
10243
|
|
|
9863
10244
|
/**
|
|
9864
10245
|
* 이미지 Annotation 모델.<br/>
|
|
9865
|
-
* {@
|
|
9866
|
-
* {@
|
|
10246
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 {@link https://realmap.co.kr/config/config/annotation/image image}이고,
|
|
10247
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/ImageAnnotationOptions ImageAnnotationOptions}이다.
|
|
9867
10248
|
*/
|
|
9868
10249
|
declare class ImageAnnotation extends Annotation<ImageAnnotationOptions> {
|
|
9869
10250
|
static type: string;
|
|
@@ -9874,8 +10255,8 @@ declare class ImageAnnotation extends Annotation<ImageAnnotationOptions> {
|
|
|
9874
10255
|
|
|
9875
10256
|
/**
|
|
9876
10257
|
* Shape Annotation 모델.<br/>
|
|
9877
|
-
* {@
|
|
9878
|
-
* {@
|
|
10258
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 {@link https://realmap.co.kr/config/config/annotation/image shape}이고,
|
|
10259
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/ShapeAnnotationOptions ShapeAnnotationOptions}이다.
|
|
9879
10260
|
*/
|
|
9880
10261
|
declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|
|
9881
10262
|
static type: string;
|
|
@@ -9893,13 +10274,13 @@ declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|
|
|
9893
10274
|
|
|
9894
10275
|
/**
|
|
9895
10276
|
* Text Annotation 모델.<br/>
|
|
9896
|
-
* {@
|
|
9897
|
-
* {@
|
|
10277
|
+
* {@link https://realmap.co.kr/docs/api/options/AnnotationOptions#type type}은 {@link https://realmap.co.kr/config/config/annotation/image shape}이고,
|
|
10278
|
+
* {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/ShapeAnnotationOptions ShapeAnnotationOptions}이다.
|
|
9898
10279
|
*/
|
|
9899
10280
|
declare class HtmlAnnotation extends Annotation<HtmlAnnotationOptions> {
|
|
9900
|
-
static readonly DEF_SIZE = 100;
|
|
9901
10281
|
static readonly type = "html";
|
|
9902
10282
|
static defaults: HtmlAnnotationOptions;
|
|
10283
|
+
private _paramRegx;
|
|
9903
10284
|
private _params;
|
|
9904
10285
|
private _paramCallback;
|
|
9905
10286
|
private _userParams;
|
|
@@ -9997,26 +10378,27 @@ declare class CircleElement extends RmElement {
|
|
|
9997
10378
|
setCircle(cx: number, cy: number, radius: number): void;
|
|
9998
10379
|
}
|
|
9999
10380
|
|
|
10381
|
+
declare const SVGNS = "http://www.w3.org/2000/svg";
|
|
10000
10382
|
declare const isObject: (v: any) => boolean;
|
|
10001
|
-
/** @
|
|
10383
|
+
/** @private */
|
|
10002
10384
|
declare const isArray: (arg: any) => arg is any[];
|
|
10003
10385
|
declare const isString: (v: any) => v is string;
|
|
10004
|
-
/** @
|
|
10386
|
+
/** @private */
|
|
10005
10387
|
declare const assignObj: {
|
|
10006
10388
|
<T extends {}, U>(target: T, source: U): T & U;
|
|
10007
10389
|
<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
|
|
10008
10390
|
<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
|
|
10009
10391
|
(target: object, ...sources: any[]): any;
|
|
10010
10392
|
};
|
|
10011
|
-
/** @
|
|
10393
|
+
/** @private */
|
|
10012
10394
|
declare const cos: (x: number) => number;
|
|
10013
|
-
/** @
|
|
10395
|
+
/** @private */
|
|
10014
10396
|
declare const sin: (x: number) => number;
|
|
10015
|
-
/** @
|
|
10397
|
+
/** @private */
|
|
10016
10398
|
declare const minv: (...values: number[]) => number;
|
|
10017
|
-
/** @
|
|
10399
|
+
/** @private */
|
|
10018
10400
|
declare const maxv: (...values: number[]) => number;
|
|
10019
|
-
/** @
|
|
10401
|
+
/** @private */
|
|
10020
10402
|
declare const absv: (x: number) => number;
|
|
10021
10403
|
declare const copyObj: (v: any) => any;
|
|
10022
10404
|
declare const pickNum: (v1: any, v2: any) => number;
|
|
@@ -10026,7 +10408,7 @@ declare const incv: (prev: number, next: number, rate: number) => number;
|
|
|
10026
10408
|
|
|
10027
10409
|
declare const _isIE: boolean;
|
|
10028
10410
|
/**
|
|
10029
|
-
* @
|
|
10411
|
+
* @private
|
|
10030
10412
|
*
|
|
10031
10413
|
*/
|
|
10032
10414
|
declare class Utils {
|
|
@@ -10117,7 +10499,7 @@ interface IDomContaner {
|
|
|
10117
10499
|
dom(): Element;
|
|
10118
10500
|
}
|
|
10119
10501
|
/**
|
|
10120
|
-
* @
|
|
10502
|
+
* @private
|
|
10121
10503
|
*
|
|
10122
10504
|
* Utilities for HTML element.
|
|
10123
10505
|
*/
|
|
@@ -10129,6 +10511,7 @@ declare class Dom {
|
|
|
10129
10511
|
static show(elt: HTMLElement | SVGSVGElement, visibleStyle?: string): void;
|
|
10130
10512
|
static addClass(elt: HTMLElement | SVGSVGElement, className: string): HTMLElement | SVGSVGElement;
|
|
10131
10513
|
static removeClass(elt: HTMLElement | SVGSVGElement, className: string): HTMLElement | SVGSVGElement;
|
|
10514
|
+
static isChildOf(dom: Element, className: string): Element;
|
|
10132
10515
|
static getImageUrl(css: CSSStyleDeclaration): string;
|
|
10133
10516
|
static getFocused(): HTMLElement;
|
|
10134
10517
|
static isAncestorOf(elt: HTMLElement, child: HTMLElement): boolean;
|
|
@@ -10191,6 +10574,7 @@ declare class Dom {
|
|
|
10191
10574
|
static setDisabled(dom: Element, value: boolean): void;
|
|
10192
10575
|
static setImportantStyle(css: CSSStyleDeclaration, property: string, value: string): void;
|
|
10193
10576
|
static setNoScale(elt: SVGElement): void;
|
|
10577
|
+
static isIntersectRectPath(rect: SVGGeometryElement, path: SVGGeometryElement, step?: number): boolean;
|
|
10194
10578
|
}
|
|
10195
10579
|
|
|
10196
10580
|
declare const getVersion: typeof Globals.getVersion;
|
|
@@ -10203,4 +10587,4 @@ declare const createChartAsync: typeof Globals.createChartAsync;
|
|
|
10203
10587
|
declare const preset: typeof Globals.preset;
|
|
10204
10588
|
declare const setLicenseKey: typeof Globals.setLicenseKey;
|
|
10205
10589
|
|
|
10206
|
-
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AnnotationView, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BandSeriesOptions, BandSeriesType, BarSeries, BarSeriesOptions, Body, BodyView, BubbleSeries, BubbleSeriesOptions, ChartAnnotationOptions, ChartAnnotationType, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptionsOptions, ChartTextOptions, ChartView, CircleElement, CircleGauge, ClockGauge, Color, ColorListOptions, ColorRanger, CoordBaseSeries, Credits, CreditsOptions, DEG_RAD, DataPoint, DataPointArgs
|
|
10590
|
+
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AnnotationView, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BandSeriesOptions, BandSeriesType, BarSeries, BarSeriesOptions, Body, BodyOptions, BodyView, BubbleSeries, BubbleSeriesOptions, ChartAnnotationOptions, ChartAnnotationType, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartGlobalOptions as ChartOptionsOptions, ChartTextOptions, ChartView, CircleElement, CircleGauge, ClockGauge, Color, ColorListOptions, ColorRanger, CommonCallbackArgs, CoordBaseSeries, Credits, CreditsOptions, DEG_RAD, DataPoint, DataPointArgs, DataPointLabel, DataPointLabelOptions, Dom, DragTracker, ElementPool, ExportOptions, ExportType, Exporter, ExporterOptions, ExternalModuleManager, FeatureSeriesLabelOptions, FeatureSeriesOptions, FeatureSeriesType, FeatureType, FigureObject, FigureSeries, GLPointSeriesOptions, GLPointSeriesType, GLSeriesOptions, GradientOptions, HeatmapCellAggregation, HeatmapGridModeOptions, HeatmapMode, HeatmapPointModeOptions, HeatmapSeriesOptions, HeatmapSeriesType, HtmlAnnotation, IChart, IColorRanger, ILegendSource, IPercentSize, IPointView, IRect, ISeries, ISize, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageElement, ImageListOptions, ImageSeries, LayerElement, Legend, LegendOptions, LineElement, LineSeries, LineSeriesOptions, LinearGradientOptions, LoadCallbackArgs, MapArea, MapAxis, MapAxisBandGuide, MapAxisGuide, MapAxisLineGuide, MapAxisRangeGuide, MapBackgroundOptions, MapChart, MapCoord, MapCrosshair, MapInset, MapInsetDisplay, MapProjection, MapSeries, MapSeriesLabelOptions, MapSeriesOptions, MapSeriesType, MapTool, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPoint, MarkerSeriesPointView, MarkerSeriesView, ORG_ANGLE, OrthogonalSparkSeries, PI, PI_2, PanelSeries, PathElement, PatternOptions, PercentSize, PieSeries, PieSeriesOptions, PinSeries, PointElement, PointLabelView, PointSeries, PointViewPool, PointViewPosition, PolyLineElement, ProjectionType, RAD_DEG, RadialGradientOptions, RectElement, RegionSeriesOptions, RegionSeriesType, RmElement, RouteSeries, RouteSeriesOptions, RouteSeriesType, SVGNS, SVGStyleOrClass, SVGStyles, SankeySeriesOptions, SankeySeriesType, SectionView, SectorElement, Series, SeriesAnimation, SeriesOptions, SeriesOptionsType, SeriesView, Shape, ShapeAnnotation, ShapeAnnotationOptions, ShapeDrawer, Size, SparkSeries, Subtitle, SubtitleOptions, TableSeriesOptions, TableSeriesType, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TileWebProvider, TiledWebSeriesOptions, TiledWebSeriesType, Title, TitleOptions, TooltipOptions, TrackSeriesOptions, TrackSeriesOutlineOptions, TrackSeriesType, Utils, ValuePoint, ValueSeries, VectorSeriesOptions, VectorSeriesType, WaffleSeries, _isIE, absv, assignObj, calcPercent, ceil, copyObj, cos, createChart, createChartAsync, createRect, extend, fixnum, floor, getDistance, getVersion, incv, isArray, isEmptyRect, isObject, isString, maxv, minv, parseCoord, parsePercentSize, pickNum, pickProp, pickProp3, pixel, preset, rectToSize, setDebugging, setGlobals, setLicenseKey, setLogging, sin };
|