realmap 1.0.10 → 1.0.11
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.js +1 -1
- package/band.mjs +1 -1
- package/chart.js +1 -1
- package/chart.mjs +1 -1
- package/editing.js +1 -1
- package/editing.mjs +1 -1
- package/export.js +1 -1
- package/export.mjs +1 -1
- package/feature.d.ts +1 -1
- package/feature.js +2 -2
- package/feature.mjs +2 -2
- package/heatmap.js +1 -1
- package/heatmap.mjs +1 -1
- package/index.d.ts +318 -179
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
- package/realmap-style.css +12 -1
- package/sankey.js +1 -1
- package/sankey.mjs +1 -1
- package/table.js +1 -1
- package/table.mjs +1 -1
- package/tiledweb.js +1 -1
- package/tiledweb.mjs +1 -1
- package/track.js +1 -1
- package/track.mjs +1 -1
- package/vector.js +1 -1
- package/vector.mjs +1 -1
package/index.d.ts
CHANGED
|
@@ -252,32 +252,32 @@ interface IPaddings {
|
|
|
252
252
|
/**
|
|
253
253
|
* @enum
|
|
254
254
|
*
|
|
255
|
-
* Legend나 ColorScale 등
|
|
255
|
+
* Legend나 ColorScale 등 맵차트 구성 요소들의 표시 위치.<br/>
|
|
256
256
|
* 위치를 지정한 후 다른 속성들로 정렬시킬 수 있다.
|
|
257
257
|
*/
|
|
258
258
|
declare const _ChartItemLocation: {
|
|
259
259
|
/**
|
|
260
|
-
*
|
|
260
|
+
* 맵차트 본체 아래 표시한다.
|
|
261
261
|
*
|
|
262
262
|
*/
|
|
263
263
|
readonly BOTTOM: "bottom";
|
|
264
264
|
/**
|
|
265
|
-
*
|
|
265
|
+
* 맵차트 타이틀 아래 표시한다.
|
|
266
266
|
*
|
|
267
267
|
*/
|
|
268
268
|
readonly TOP: "top";
|
|
269
269
|
/**
|
|
270
|
-
*
|
|
270
|
+
* 맵차트 본체 오른쪽에 표시한다.
|
|
271
271
|
*
|
|
272
272
|
*/
|
|
273
273
|
readonly RIGHT: "right";
|
|
274
274
|
/**
|
|
275
|
-
*
|
|
275
|
+
* 맵차트 본체 왼쪽에 표시한다.
|
|
276
276
|
*
|
|
277
277
|
*/
|
|
278
278
|
readonly LEFT: "left";
|
|
279
279
|
/**
|
|
280
|
-
*
|
|
280
|
+
* 맵차트 본체 영역 내부에 표시한다.
|
|
281
281
|
*
|
|
282
282
|
*/
|
|
283
283
|
readonly BODY: "body";
|
|
@@ -291,8 +291,17 @@ type Positions = 'top' | 'right' | 'bottom' | 'left';
|
|
|
291
291
|
interface ConfigObject {
|
|
292
292
|
[key: string]: any;
|
|
293
293
|
}
|
|
294
|
+
|
|
295
|
+
type ShapeDrawer = (rd: number, rd2: number) => (string | number)[];
|
|
294
296
|
type MapCoord = [number, number];
|
|
295
|
-
type
|
|
297
|
+
type MapRect = {
|
|
298
|
+
h1: number;
|
|
299
|
+
h2: number;
|
|
300
|
+
v1: number;
|
|
301
|
+
v2: number;
|
|
302
|
+
};
|
|
303
|
+
type MapArc = MapCoord[];
|
|
304
|
+
type MapPolygon = MapArc[];
|
|
296
305
|
type MapProps = any;
|
|
297
306
|
|
|
298
307
|
/**
|
|
@@ -350,19 +359,19 @@ interface MapInsetDisplay {
|
|
|
350
359
|
* 지정하지 않으면 1.
|
|
351
360
|
* 0보다 큰 값이어야 한다.
|
|
352
361
|
*/
|
|
353
|
-
scale?: number;
|
|
362
|
+
readonly scale?: number;
|
|
354
363
|
/**
|
|
355
364
|
* inset area의 [왼쪽, 위쪽] 기준으로, 표시 위치 [경도, 위도]를 도(°) 단위로 지정한다.<br/>
|
|
356
365
|
* [주의] {@page children}으로 적용될 때는 이 값 대신 {@page offset}을 반드시 지정해야 한다.
|
|
357
366
|
*/
|
|
358
|
-
coord?: MapCoord;
|
|
367
|
+
readonly coord?: MapCoord;
|
|
359
368
|
/**
|
|
360
369
|
* coord로 지정한 inset 위치에 더 추가되는 [경도, 위도] 값이거나
|
|
361
370
|
* coord가 지정되지 않은 경우 원래 위치에서 떨어진 위치 값.<br/>
|
|
362
371
|
* 라이브러리에서 제공하는 미리 정의된 inset 위치를 조정하는 값으로 사용할 수 있다.
|
|
363
372
|
* [주의] {@page children}으로 적용될 때는 {@page coord} 대신 반듯 이 값을 지정해야 한다.
|
|
364
373
|
*/
|
|
365
|
-
offset?: MapCoord;
|
|
374
|
+
readonly offset?: MapCoord;
|
|
366
375
|
/**
|
|
367
376
|
* inset을 구분하는 경계선을 도(°)단위로 지정한다.<br/>
|
|
368
377
|
* 값들은 space나 ','로 분리해서 x, y 순서대로 위치를 지정하고,
|
|
@@ -376,7 +385,7 @@ interface MapInsetDisplay {
|
|
|
376
385
|
* ex) '-0.1 h+0.05 +0.1 h+0.1 w+0.2 h' // 제주도 위쪽에 꺽인 line을 표시한다.
|
|
377
386
|
* '-0.2 -0.1 -0.2 h+0.1' // 울릉도 좌측에 직선으로 표시한다.
|
|
378
387
|
*/
|
|
379
|
-
border?: MapCoord[] | string;
|
|
388
|
+
readonly border?: MapCoord[] | string;
|
|
380
389
|
/**
|
|
381
390
|
* inset을 감싸서 구분하는 사각형을 도(°)단위로 지정한다.<br/>
|
|
382
391
|
* 이 값이 지정되면 {@page border}는 무시된다.<br/>
|
|
@@ -387,15 +396,21 @@ interface MapInsetDisplay {
|
|
|
387
396
|
* '0.05 0.01 0.03' // 상 0.05°, 우 0.01°, 하 0.03, 좌 0.01°
|
|
388
397
|
* '0.05 0.01 0.03 0.02' // 상, 우, 하, 좌
|
|
389
398
|
*/
|
|
390
|
-
frame?: string;
|
|
399
|
+
readonly frame?: string;
|
|
391
400
|
/**
|
|
392
401
|
* border나 frame에 적용할 스타일셋.<br/>
|
|
393
402
|
* 기본으로 'rm-map-series-inset' 클래스 선택자가 적용된다.
|
|
394
403
|
*/
|
|
395
|
-
style?: SVGStyleOrClass;
|
|
404
|
+
readonly style?: SVGStyleOrClass;
|
|
405
|
+
/**
|
|
406
|
+
* 명시적 false로 지정하면 이 inset이 포함하는 영역을 맵에서 제거한다.<br/>
|
|
407
|
+
* 대개 두 번째 map에서 사용된다.
|
|
408
|
+
*/
|
|
409
|
+
readonly visible?: boolean;
|
|
396
410
|
}
|
|
397
411
|
/**
|
|
398
412
|
* 본토에서 멀리 떨어진 영역들을 당겨서 표시하는 설정.<br/>
|
|
413
|
+
* [주의] 아래쪽 계산값들을 제외하곤 모두 readonly로 취급해야 한다.
|
|
399
414
|
*
|
|
400
415
|
* @css 'rm-map-series-inset'
|
|
401
416
|
*/
|
|
@@ -406,7 +421,7 @@ interface MapInset extends MapInsetDisplay {
|
|
|
406
421
|
* {@page parent}가 지정되지 않으면
|
|
407
422
|
* 자식들을 모두 함께 이동시킨다.
|
|
408
423
|
*/
|
|
409
|
-
area: string;
|
|
424
|
+
readonly area: string;
|
|
410
425
|
/**
|
|
411
426
|
* 이 area가 존재하지 않고,
|
|
412
427
|
* {@page parent}가 지정되지 않으면
|
|
@@ -414,13 +429,14 @@ interface MapInset extends MapInsetDisplay {
|
|
|
414
429
|
* [주의] {@page frame}이나 {@page border}의 기준이 되는 child area의 id를 첫번째 항목으로 설정해야 한다.
|
|
415
430
|
* [주의] parent 하나에 한 번만 지정할 수 있다.
|
|
416
431
|
*/
|
|
417
|
-
children?: string[];
|
|
432
|
+
readonly children?: string[];
|
|
418
433
|
/**
|
|
419
434
|
* {@page area}가 존재하지 않을 때,
|
|
420
435
|
* 이 속서에 해당하는 area를 찾아서 {@page polygons}에 해당하는 영역들을 이동시킨다.<br/>
|
|
421
436
|
* 콤마로 분리해서 둘 이상의 area를 지정할 수 있는데, 순서대로 해당되는 영역이 존재하면 사용한다.
|
|
437
|
+
* [주의] parent 하나에 한 번만 지정할 수 있다.
|
|
422
438
|
*/
|
|
423
|
-
parent?: string;
|
|
439
|
+
readonly parent?: string;
|
|
424
440
|
/**
|
|
425
441
|
* {@page area}가 존재하지 않고, {@page parent}가 지정됐을 때,
|
|
426
442
|
* 이 속서에 지정하는 영역덜을 동시에 이동시킨다.<br/>
|
|
@@ -428,14 +444,22 @@ interface MapInset extends MapInsetDisplay {
|
|
|
428
444
|
* [주의] {@page parent}가 복수개로 지정되면 이 속성도 [[], [],..] 형태로 복수 개 지정해야 한다.
|
|
429
445
|
* [주의] parent 하나에 한 번만 지정할 수 있다.
|
|
430
446
|
*/
|
|
431
|
-
polygons?: number[] | number[][] | number;
|
|
447
|
+
readonly polygons?: number[] | number[][] | number;
|
|
448
|
+
/**
|
|
449
|
+
* @private
|
|
450
|
+
* 계산된 값들.
|
|
451
|
+
*/
|
|
452
|
+
off?: MapCoord;
|
|
453
|
+
box?: MapCoord[];
|
|
454
|
+
pts?: any[];
|
|
455
|
+
bounds?: MapRect;
|
|
432
456
|
}
|
|
433
457
|
type MapSourceMeta = {
|
|
434
458
|
license?: {
|
|
435
459
|
license?: string;
|
|
436
460
|
author?: string;
|
|
437
461
|
url?: string;
|
|
438
|
-
etc?: "
|
|
462
|
+
etc?: "맵차트 최적화를 위해 좌표계 변환 및 Feature Polygon 수정";
|
|
439
463
|
};
|
|
440
464
|
dokdo?: {
|
|
441
465
|
group?: string;
|
|
@@ -444,18 +468,23 @@ type MapSourceMeta = {
|
|
|
444
468
|
};
|
|
445
469
|
dummies?: string[];
|
|
446
470
|
};
|
|
471
|
+
/**
|
|
472
|
+
* 접경선 정보.<br/>
|
|
473
|
+
* 연결된 선으로 표시되므로, 반드시 접경선이 그려지는 순서대로 양쪽 area(들)을 지정해야 한다.
|
|
474
|
+
*/
|
|
475
|
+
type MapBorderSource = [string | [string], string | [string]];
|
|
447
476
|
/**
|
|
448
477
|
* 맵시리즈에서 사용할 기본 맵을 지정한다.<br/>
|
|
449
478
|
*/
|
|
450
479
|
interface MapSource {
|
|
451
480
|
/**
|
|
452
481
|
* 맵 이름.<br/>
|
|
453
|
-
*
|
|
454
|
-
*
|
|
482
|
+
* 맵차트에 여러 개 맵이 지정될 수 있으며,
|
|
483
|
+
* 맵차트 시리즈 등에서 맵을 참조할 때 사용된다.
|
|
455
484
|
*/
|
|
456
485
|
name?: string;
|
|
457
486
|
/**
|
|
458
|
-
* 명시적 false로 지정하면
|
|
487
|
+
* 명시적 false로 지정하면 맵차트에서 맵으로 사용되지 않는다.<br/>
|
|
459
488
|
*
|
|
460
489
|
* @default true
|
|
461
490
|
*/
|
|
@@ -481,10 +510,15 @@ interface MapSource {
|
|
|
481
510
|
*/
|
|
482
511
|
nameKey?: string;
|
|
483
512
|
/**
|
|
484
|
-
*
|
|
513
|
+
* 맵차트 맵 모델을 구성할 때 제외시킬 영역들의 id 목록.<br/>
|
|
485
514
|
*/
|
|
486
515
|
exclude?: string[];
|
|
487
|
-
|
|
516
|
+
/**
|
|
517
|
+
* 맵 인셋 목록을 지정한다.<br/>
|
|
518
|
+
* 이름을 문자열로 지정하면 라이브러기가 기본 제공하는 인셋들이 사용된다.
|
|
519
|
+
* 또, 이름앞에 '-'를 추가하면 visible이 false로 설정된다.
|
|
520
|
+
*/
|
|
521
|
+
insets?: (string | MapInset)[];
|
|
488
522
|
/**
|
|
489
523
|
* 맵 상하좌우 주변에 추가할 영역의 크기를 도(°) 단위로 지정한다.<br/>
|
|
490
524
|
* css padding이나 margin 지정 방식과 동일하게 지정한댜.<br/>
|
|
@@ -509,7 +543,12 @@ interface MapSource {
|
|
|
509
543
|
*/
|
|
510
544
|
useOffset?: boolean | MapCoord;
|
|
511
545
|
/**
|
|
512
|
-
*
|
|
546
|
+
* 부극 취고위까지 지도에 포함되면 90도까지 그려진 것으로 간주한다.<br/>
|
|
547
|
+
* 명시적 false로 지정하면 계산된 영역까지만 포함한다.
|
|
548
|
+
*/
|
|
549
|
+
alignArctic?: boolean;
|
|
550
|
+
/**
|
|
551
|
+
* 내부 경계(internal boundary)선 정보를 별도로 생성할 지 여부.<br/>
|
|
513
552
|
*/
|
|
514
553
|
needInternal?: boolean;
|
|
515
554
|
/**
|
|
@@ -517,26 +556,49 @@ interface MapSource {
|
|
|
517
556
|
*/
|
|
518
557
|
excludeInternal?: string[];
|
|
519
558
|
/**
|
|
520
|
-
*
|
|
521
|
-
* 명시적 false로 지정하면 계산된 영역까지만 포함한다.
|
|
559
|
+
* 외부 경계선 정보를 별도로 생성할 지 여부.<br/>
|
|
522
560
|
*/
|
|
523
|
-
|
|
561
|
+
needExternal?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* {@page needInternal 내부 경계선}에서 제외할 영역 목록.<br/>
|
|
564
|
+
*/
|
|
565
|
+
excludeExternal?: string[];
|
|
566
|
+
/**
|
|
567
|
+
* 접경선 목록.<br/>
|
|
568
|
+
*/
|
|
569
|
+
borders?: [{
|
|
570
|
+
name: string;
|
|
571
|
+
border: MapBorderSource;
|
|
572
|
+
closed?: boolean;
|
|
573
|
+
}];
|
|
524
574
|
}
|
|
525
575
|
declare abstract class MapSourceItem {
|
|
526
576
|
id: string;
|
|
527
|
-
|
|
528
|
-
constructor(id: string, props: MapProps);
|
|
577
|
+
constructor(id: string);
|
|
529
578
|
}
|
|
530
579
|
declare class AreaItem extends MapSourceItem {
|
|
580
|
+
props: MapProps;
|
|
531
581
|
polygon: MapPolygon;
|
|
532
582
|
polygons: MapPolygon[];
|
|
533
583
|
internal?: MapPolygon[];
|
|
534
584
|
internals?: MapPolygon[][];
|
|
585
|
+
external?: MapPolygon[];
|
|
586
|
+
externals?: MapPolygon[][];
|
|
535
587
|
dummy: boolean;
|
|
588
|
+
constructor(id: string, props: MapProps);
|
|
589
|
+
}
|
|
590
|
+
declare class MapBorderInfo {
|
|
591
|
+
name: string;
|
|
592
|
+
closed: boolean;
|
|
593
|
+
border: [string[], string[]];
|
|
594
|
+
constructor(name: string, source: MapBorderSource, closed: boolean);
|
|
595
|
+
}
|
|
596
|
+
declare class BorderItem extends MapSourceItem {
|
|
597
|
+
polygon: MapPolygon;
|
|
598
|
+
constructor(id: string, polygon: MapPolygon);
|
|
536
599
|
}
|
|
537
600
|
declare abstract class MapSourceImpl extends RmObject {
|
|
538
|
-
static createStockInset(area: string, display?: MapInsetDisplay): MapInset;
|
|
539
|
-
private _index;
|
|
601
|
+
static createStockInset(area: string, display?: boolean | MapInsetDisplay): MapInset;
|
|
540
602
|
readonly name: string;
|
|
541
603
|
readonly enabled: boolean;
|
|
542
604
|
readonly idKey: string;
|
|
@@ -546,7 +608,9 @@ declare abstract class MapSourceImpl extends RmObject {
|
|
|
546
608
|
readonly dummies: string[];
|
|
547
609
|
readonly useOffset: boolean | MapCoord;
|
|
548
610
|
readonly internals: boolean;
|
|
611
|
+
readonly externals: boolean;
|
|
549
612
|
readonly alignArctic: boolean;
|
|
613
|
+
readonly borders: MapBorderInfo[];
|
|
550
614
|
items: MapSourceItem[];
|
|
551
615
|
insets: {
|
|
552
616
|
[area: string]: MapInset;
|
|
@@ -605,7 +669,7 @@ interface AnnotationOptions extends ChartItemOptions {
|
|
|
605
669
|
*/
|
|
606
670
|
name?: string;
|
|
607
671
|
/**
|
|
608
|
-
* 어노테이션 배치 기준이 되는
|
|
672
|
+
* 어노테이션 배치 기준이 되는 맵차트 구성 요소.<br/>
|
|
609
673
|
* 현재, 같은 영역(body 혹은 chart)에 포함된 {@link config.base.gauge 게이지}나 다른 어노테이션의 {@link name 이름}을 지정할 수 있다.
|
|
610
674
|
*
|
|
611
675
|
*/
|
|
@@ -893,7 +957,7 @@ declare const _ClickAction: {
|
|
|
893
957
|
readonly NONE: "none";
|
|
894
958
|
readonly SELECT: "select";
|
|
895
959
|
/**
|
|
896
|
-
*
|
|
960
|
+
* 맵차트가 zoom 가능한 상태일 때 zoom-in 한다.
|
|
897
961
|
*/
|
|
898
962
|
readonly ZOOM: "zoom";
|
|
899
963
|
/**
|
|
@@ -921,7 +985,7 @@ declare const _DblClickAction: {
|
|
|
921
985
|
readonly NONE: "none";
|
|
922
986
|
readonly SELECT: "select";
|
|
923
987
|
/**
|
|
924
|
-
*
|
|
988
|
+
* 맵차트가 zoom 가능한 상태일 때 zoom-in 한다.
|
|
925
989
|
*/
|
|
926
990
|
readonly ZOOM: "zoom";
|
|
927
991
|
/**
|
|
@@ -965,7 +1029,7 @@ interface OnClickArgs extends CommonCallbackArgs {
|
|
|
965
1029
|
area?: string;
|
|
966
1030
|
}
|
|
967
1031
|
/**
|
|
968
|
-
*
|
|
1032
|
+
* 맵차트 전체에 영향을 미치는 옵션들.<br />
|
|
969
1033
|
*
|
|
970
1034
|
* @config chart.chart
|
|
971
1035
|
*/
|
|
@@ -1013,7 +1077,7 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
1013
1077
|
*/
|
|
1014
1078
|
widgetGap?: number;
|
|
1015
1079
|
/**
|
|
1016
|
-
* div의 크기가 변경될 때,
|
|
1080
|
+
* div의 크기가 변경될 때, 맵차트를 해당 크기에 맞게 조정할지 여부
|
|
1017
1081
|
*
|
|
1018
1082
|
* @default false
|
|
1019
1083
|
*/
|
|
@@ -1028,8 +1092,8 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
1028
1092
|
onSelectionChanged?: (args: any) => void;
|
|
1029
1093
|
}
|
|
1030
1094
|
/**
|
|
1031
|
-
*
|
|
1032
|
-
* 기본적으로
|
|
1095
|
+
* 맵차트 제목(title) 설정 모델.<br/>
|
|
1096
|
+
* 기본적으로 맵차트 중앙 상단에 표시되지만 {@link align}, {@link verticalAlign} 등으로 위치를 변경할 수 있다.<br/>
|
|
1033
1097
|
*
|
|
1034
1098
|
* {@page guide.title 타이틀 개요} 페이지를 참조한다.
|
|
1035
1099
|
* @config chart.title
|
|
@@ -1050,7 +1114,7 @@ interface TitleOptions extends ChartItemOptions {
|
|
|
1050
1114
|
/**
|
|
1051
1115
|
* 정렬 기준.<br/>
|
|
1052
1116
|
* 시리즈들이 그려지는 plotting 영역이나,
|
|
1053
|
-
*
|
|
1117
|
+
* 맵차트 전체 영역을 기준으로 할 수 있다.
|
|
1054
1118
|
* 또, {@link config.subtitle 부제목}인 경우 제목을 기준으로 위치를 지정할 수 있다.
|
|
1055
1119
|
*
|
|
1056
1120
|
* @default 'map'
|
|
@@ -1073,7 +1137,7 @@ interface TitleOptions extends ChartItemOptions {
|
|
|
1073
1137
|
*/
|
|
1074
1138
|
backgroundStyle?: SVGStyleOrClass;
|
|
1075
1139
|
/**
|
|
1076
|
-
* 주 제목과 부 제목이 표시되는 영역과
|
|
1140
|
+
* 주 제목과 부 제목이 표시되는 영역과 맵차트 본체 등 과의 간격을 픽셀 단위로 지정한다.<br/>
|
|
1077
1141
|
* 주 제목이 표시되면 (부 제목의 값은 무시되고)주 제목의 값을 사용하고,
|
|
1078
1142
|
* 부 제목만 표시될 때는 부 제목의 값을 사용한다.
|
|
1079
1143
|
*
|
|
@@ -1106,7 +1170,7 @@ declare const _SubtitlePosition: {
|
|
|
1106
1170
|
/** @dummy */
|
|
1107
1171
|
type SubtitlePosition = typeof _SubtitlePosition[keyof typeof _SubtitlePosition];
|
|
1108
1172
|
/**
|
|
1109
|
-
*
|
|
1173
|
+
* 맵차트 제목 주위에 표시되는 부제목 옵션.<br/>
|
|
1110
1174
|
* 기본적으로 주제목(title)의 설정을 따르고, 몇가지 속성들이 추가된다.<br/>
|
|
1111
1175
|
* 별도 설정이 없으면 표시되지 않는다.
|
|
1112
1176
|
*
|
|
@@ -1147,7 +1211,7 @@ interface SubtitleOptions extends TitleOptions {
|
|
|
1147
1211
|
verticalAlign?: VerticalAlign;
|
|
1148
1212
|
}
|
|
1149
1213
|
/**
|
|
1150
|
-
*
|
|
1214
|
+
* 맵차트 개발 제작자 등을 표시하는
|
|
1151
1215
|
* 크레딧 영역에 대한 설정 모델.
|
|
1152
1216
|
*/
|
|
1153
1217
|
interface CreditsOptions extends ChartItemOptions {
|
|
@@ -1199,7 +1263,7 @@ interface CreditsOptions extends ChartItemOptions {
|
|
|
1199
1263
|
offsetY?: number;
|
|
1200
1264
|
/**
|
|
1201
1265
|
* {@link floating}이 true가 아니고, 중앙이 아닌 곳에 표시될 때,
|
|
1202
|
-
*
|
|
1266
|
+
* 맵차트 나머지 영역과의 간격을 픽셀로 지정한다.<br/>
|
|
1203
1267
|
* {@page verticalAlign}이 'middle'이면 수평 간격, 아니면 수직 간격에 적용된다.
|
|
1204
1268
|
*
|
|
1205
1269
|
* @default 4
|
|
@@ -1453,7 +1517,7 @@ interface OnZoomChangedArgs extends CommonCallbackArgs {
|
|
|
1453
1517
|
oldZoom: number;
|
|
1454
1518
|
}
|
|
1455
1519
|
/**
|
|
1456
|
-
*
|
|
1520
|
+
* 맵차트 본체(body) 설정 모델.<br/>
|
|
1457
1521
|
* 투영 옵션과 지도 제어 옵션들을 설정할 수 있다.<br/>
|
|
1458
1522
|
* @config chart.body
|
|
1459
1523
|
*/
|
|
@@ -1741,13 +1805,13 @@ interface MapWidgetOptions extends ChartItemOptions {
|
|
|
1741
1805
|
*/
|
|
1742
1806
|
location?: ChartItemLocation;
|
|
1743
1807
|
/**
|
|
1744
|
-
* 범례 또는 scale과 (location이 body일 때)body 또는
|
|
1808
|
+
* 범례 또는 scale과 (location이 body일 때)body 또는 맵차트 경계 사이의 수평 간격.<br/>
|
|
1745
1809
|
*
|
|
1746
1810
|
* @default 0
|
|
1747
1811
|
*/
|
|
1748
1812
|
offsetX?: number;
|
|
1749
1813
|
/**
|
|
1750
|
-
* 범례 또는 scale과 (location이 body일 때)body 또는
|
|
1814
|
+
* 범례 또는 scale과 (location이 body일 때)body 또는 맵차트 경계 사이의 수직 간격.<br/>
|
|
1751
1815
|
*
|
|
1752
1816
|
* @default 0
|
|
1753
1817
|
*/
|
|
@@ -1790,22 +1854,14 @@ interface MapWidgetGroupOptions extends MapWidgetOptions {
|
|
|
1790
1854
|
interface DataPointArgs extends CommonCallbackArgs {
|
|
1791
1855
|
series: object;
|
|
1792
1856
|
count: number;
|
|
1793
|
-
|
|
1794
|
-
yMin: number;
|
|
1795
|
-
yMax: number;
|
|
1796
|
-
xMin: number;
|
|
1797
|
-
xMax: number;
|
|
1798
|
-
zMin: number;
|
|
1799
|
-
zMax: number;
|
|
1857
|
+
id: string;
|
|
1800
1858
|
index: number;
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
zValue: any;
|
|
1808
|
-
labelIndex: number;
|
|
1859
|
+
name?: string;
|
|
1860
|
+
color?: string;
|
|
1861
|
+
className?: string;
|
|
1862
|
+
value?: any;
|
|
1863
|
+
labelIndex?: number;
|
|
1864
|
+
coord?: MapCoord;
|
|
1809
1865
|
source: any;
|
|
1810
1866
|
}
|
|
1811
1867
|
interface DataPointListkArgs extends CommonCallbackArgs {
|
|
@@ -1835,7 +1891,7 @@ interface ZoomToAreaOptions {
|
|
|
1835
1891
|
}
|
|
1836
1892
|
|
|
1837
1893
|
/**
|
|
1838
|
-
*
|
|
1894
|
+
* 맵차트 내보내기 설정 모델
|
|
1839
1895
|
* @config chart.exporting
|
|
1840
1896
|
*/
|
|
1841
1897
|
interface ExporterOptions extends ChartItemOptions {
|
|
@@ -1844,7 +1900,7 @@ interface ExporterOptions extends ChartItemOptions {
|
|
|
1844
1900
|
*/
|
|
1845
1901
|
visible?: boolean;
|
|
1846
1902
|
/**
|
|
1847
|
-
* 내보내기 버튼을 사용해 내보낸
|
|
1903
|
+
* 내보내기 버튼을 사용해 내보낸 맵차트에 사용할 확장자 없는 파일 이름.\
|
|
1848
1904
|
* 'export' 함수를 호출할 때 fileName을 지정하지 않을 경우 이 속성이 적용된다.
|
|
1849
1905
|
* fileName을 지정하지 않을 경우 realmap.type으로 다운로드 된다.
|
|
1850
1906
|
*
|
|
@@ -1907,21 +1963,21 @@ type ExportType = typeof _ExportType[keyof typeof _ExportType];
|
|
|
1907
1963
|
*/
|
|
1908
1964
|
interface ExportOptions {
|
|
1909
1965
|
/**
|
|
1910
|
-
* 내보낸
|
|
1966
|
+
* 내보낸 맵차트에 사용할 확장자.\
|
|
1911
1967
|
* type을 지정하지 않을 경우 png로 내보내기 된다.\
|
|
1912
1968
|
* @config
|
|
1913
1969
|
* // @TODO https://github.com/realgrid/realreport-chart/issues/549
|
|
1914
1970
|
*/
|
|
1915
1971
|
type?: ExportType;
|
|
1916
1972
|
/**
|
|
1917
|
-
* 내보낸
|
|
1973
|
+
* 내보낸 맵차트에 사용할 확장자 없는 파일명.
|
|
1918
1974
|
* fileName을 지정하지 않을 경우 realmap.type으로 다운로드 된다.
|
|
1919
1975
|
* @config
|
|
1920
1976
|
*/
|
|
1921
1977
|
fileName?: string;
|
|
1922
1978
|
}
|
|
1923
1979
|
/**
|
|
1924
|
-
* 외부 모듈로 구현되는
|
|
1980
|
+
* 외부 모듈로 구현되는 맵차트 내보내기 기능 명세.
|
|
1925
1981
|
*/
|
|
1926
1982
|
interface ChartExporter {
|
|
1927
1983
|
exportToImage: (dom: HTMLElement, options: ExportOptions, config: ExporterOptions) => void;
|
|
@@ -2725,7 +2781,7 @@ type Shape = typeof _Shapes[keyof typeof _Shapes];
|
|
|
2725
2781
|
|
|
2726
2782
|
type PointHoverCallback = (args: DataPointArgs) => void;
|
|
2727
2783
|
type PointClickCallback = (args: DataPointArgs) => boolean;
|
|
2728
|
-
type PointStyleCallback = (args: DataPointArgs) => SVGStyleOrClass;
|
|
2784
|
+
type PointStyleCallback = (args: DataPointArgs) => SVGStyleOrClass | undefined;
|
|
2729
2785
|
/**
|
|
2730
2786
|
* @enum
|
|
2731
2787
|
*/
|
|
@@ -2877,15 +2933,15 @@ interface DataPointCalloutOptions extends ChartItemOptions {
|
|
|
2877
2933
|
layoutOnly?: boolean;
|
|
2878
2934
|
}
|
|
2879
2935
|
/**
|
|
2880
|
-
* 시리즈는 {@page data}로 지정된 값들을 데이터포인트로 표시하는
|
|
2881
|
-
*
|
|
2882
|
-
*
|
|
2936
|
+
* 시리즈는 {@page data}로 지정된 값들을 데이터포인트로 표시하는 맵차트의 핵심 구성 요소이다.<br/>
|
|
2937
|
+
* 맵차트 설정의 다른 부분이나 API에 참조하기 위해서는 {@page name}을 반드시 지정해야 햔다.
|
|
2938
|
+
* 맵차트 생성 시 {@page config.series.#type} 을 지정하지 않으면 {@page config.series.bar 'bar'} 시리즈로 생성된다.<br/>
|
|
2883
2939
|
*
|
|
2884
2940
|
* @config chart.series[base]
|
|
2885
2941
|
*/
|
|
2886
2942
|
interface SeriesOptions extends ChartItemOptions {
|
|
2887
2943
|
/**
|
|
2888
|
-
*
|
|
2944
|
+
* 맵차트 설정 객체에 지정하는 시리즈 종류.<br/>
|
|
2889
2945
|
*/
|
|
2890
2946
|
type?: string;
|
|
2891
2947
|
/**
|
|
@@ -2901,7 +2957,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2901
2957
|
label?: string;
|
|
2902
2958
|
/**
|
|
2903
2959
|
* 명시적으로 이 속성을 지정하면,
|
|
2904
|
-
* 관련된 맵이
|
|
2960
|
+
* 관련된 맵이 맵차트에 활성됐을 때만 시리즈가 표시된다.
|
|
2905
2961
|
*/
|
|
2906
2962
|
map?: string | number;
|
|
2907
2963
|
/**
|
|
@@ -2919,7 +2975,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2919
2975
|
* 데이터포인트 목록을 생성하는 데 참조되는 데이터셋.<br/>
|
|
2920
2976
|
* {@page g.createChartAsync createChartAsync}를 호출해서 비동기로
|
|
2921
2977
|
* 맵차트를 생성할 때는 {@page dataUrl}로 원격 데이터 소스를 지정할 수 있다.
|
|
2922
|
-
* [주의] 처음 load 후 data의 내용을 변경해도
|
|
2978
|
+
* [주의] 처음 load 후 data의 내용을 변경해도 맵차트에 반영되지 않는다.
|
|
2923
2979
|
*/
|
|
2924
2980
|
data?: any;
|
|
2925
2981
|
/**
|
|
@@ -2927,7 +2983,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2927
2983
|
* {@page g.createChartAsync createChartAsync} 호출 시, 해당 url로 GET 요청을 전송하여 데이터를 다운받고,
|
|
2928
2984
|
* 해당 시리즈의 data 속성에 저장한다.<br/>
|
|
2929
2985
|
* {@page data}가 설정되면 이 속성은 무시된다.
|
|
2930
|
-
* 또, 비동기 함수가 아닌 {@page g.createChart createChart}로
|
|
2986
|
+
* 또, 비동기 함수가 아닌 {@page g.createChart createChart}로 맵차트를 생성할 때 이 속성으로 data를 설정하려는 경우
|
|
2931
2987
|
* 콘솔에 경고 메시지가 표시된다.
|
|
2932
2988
|
*/
|
|
2933
2989
|
dataUrl?: string;
|
|
@@ -3007,6 +3063,10 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
3007
3063
|
* 차트 설정 로드 시 실행되는 animation 종류.
|
|
3008
3064
|
*/
|
|
3009
3065
|
loadAnimation?: 'default' | 'reveal' | 'grow' | 'spread' | 'fadein';
|
|
3066
|
+
/**
|
|
3067
|
+
* true로 설정하면 hovering을 포함한 포인터 상호 작용에 비활성화 된다.<br/>
|
|
3068
|
+
*/
|
|
3069
|
+
disabled?: boolean;
|
|
3010
3070
|
/**
|
|
3011
3071
|
* @ignore 미구현
|
|
3012
3072
|
* 데이터포인트 hover 효과.<br/>
|
|
@@ -3073,7 +3133,7 @@ interface SparkSeriesCategory {
|
|
|
3073
3133
|
}
|
|
3074
3134
|
/**
|
|
3075
3135
|
* 특정 위치에 연관된 값들을 단순 차트(spark chart)로 표시한다.<br/>
|
|
3076
|
-
* bar, line,
|
|
3136
|
+
* bar, line, pie 차트가 제공된다.
|
|
3077
3137
|
*/
|
|
3078
3138
|
interface SparkSeriesOptions extends ValueSeriesOptions {
|
|
3079
3139
|
/**
|
|
@@ -3089,7 +3149,7 @@ interface SparkSeriesOptions extends ValueSeriesOptions {
|
|
|
3089
3149
|
valueFields?: string[];
|
|
3090
3150
|
/**
|
|
3091
3151
|
* true로 지정되고 {@page categories}가 지정되면
|
|
3092
|
-
*
|
|
3152
|
+
* 맵차트 legend에 category별로 항목이 표시된다.
|
|
3093
3153
|
*
|
|
3094
3154
|
* @default undefined
|
|
3095
3155
|
*/
|
|
@@ -3585,16 +3645,27 @@ interface DrilldownOptions extends ChartItemOptions {
|
|
|
3585
3645
|
autoMapChange?: boolean;
|
|
3586
3646
|
}
|
|
3587
3647
|
/**
|
|
3588
|
-
*
|
|
3648
|
+
* 맵 시리즈 내외부 접경선 표시 설정 옵션.<br/>
|
|
3589
3649
|
* [topoJSON](https://github.com/topojson/topojson-specification?tab=readme-ov-file) 소스로
|
|
3590
|
-
* 작성된 맵인 경우
|
|
3650
|
+
* 작성된 맵인 경우 내외부 접경선을 별도의 스타일로 구분해서 표시할 수 있다.
|
|
3591
3651
|
*/
|
|
3592
|
-
interface
|
|
3652
|
+
interface MapBordersOptions extends ChartItemOptions {
|
|
3593
3653
|
/**
|
|
3594
3654
|
* @default false
|
|
3595
3655
|
*/
|
|
3596
3656
|
visible?: boolean;
|
|
3597
3657
|
}
|
|
3658
|
+
/**
|
|
3659
|
+
* 맵 시리즈 내외부 접경선 표시 설정 옵션.<br/>
|
|
3660
|
+
* [topoJSON](https://github.com/topojson/topojson-specification?tab=readme-ov-file) 소스로
|
|
3661
|
+
* 작성된 맵인 경우 내외부 접경선을 별도의 스타일로 구분해서 표시할 수 있다.
|
|
3662
|
+
*/
|
|
3663
|
+
interface MapBorderOptions extends ChartItemOptions {
|
|
3664
|
+
/**
|
|
3665
|
+
* border 목록일 때, 각 목록을 구분하는 이름.<br/>
|
|
3666
|
+
*/
|
|
3667
|
+
name?: string;
|
|
3668
|
+
}
|
|
3598
3669
|
declare const MapSeriesType = "map";
|
|
3599
3670
|
/**
|
|
3600
3671
|
* Map area 영역들을 칠하는 시리즈.<br/>
|
|
@@ -3616,11 +3687,10 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3616
3687
|
* 맵 area와 연결할 키값들을 지정한다.<br/>
|
|
3617
3688
|
* 두 값을 배열로 지정하면 첫번째 문자열은 맵소스 "properties"의 속성명,
|
|
3618
3689
|
* 두번째는 데이터포인트의 속성명이다.
|
|
3619
|
-
* 값을 하나만 지정하면 양쪽 같은 속성명으로 연결한다.<br/>
|
|
3620
|
-
* 이 값이 지정되지 않으면 데이터포인트의 "id" 또는 idField 속성으로 지정한 속성값과 맵소스의 "rm-id" 또는 "id" 속성값으로 연결한다.
|
|
3690
|
+
* 값을 하나만 지정하거나 문자열로 지정하면 양쪽 같은 속성명으로 연결한다.<br/>
|
|
3691
|
+
* 이 값이 지정되지 않으면 데이터포인트의 "id" 또는 {@page idField} 속성으로 지정한 속성값과 맵소스의 "rm-id" 또는 "id" 속성값으로 연결한다.
|
|
3621
3692
|
*/
|
|
3622
3693
|
mapKeys?: string | [string, string];
|
|
3623
|
-
middleKeys?: [string, string];
|
|
3624
3694
|
/**
|
|
3625
3695
|
* 데이터포인트가 연결되지 않은 area의 스타일.<br/>
|
|
3626
3696
|
*
|
|
@@ -3657,15 +3727,30 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3657
3727
|
* @default true
|
|
3658
3728
|
*/
|
|
3659
3729
|
allAreas?: boolean;
|
|
3730
|
+
/**
|
|
3731
|
+
* 표시하지 않는 영역들을 지정한다.<br/>
|
|
3732
|
+
* {@page mapKeys} 속성으로 지정된 key나 'id' 또는 {@page idField}로 지정된 값(들)로 지정한다.
|
|
3733
|
+
*/
|
|
3734
|
+
hiddenAreas?: string | string[];
|
|
3660
3735
|
/**
|
|
3661
3736
|
* 내부 접경선 표시 설정 옵션.<br/>
|
|
3662
3737
|
*/
|
|
3663
|
-
internalBorder?:
|
|
3738
|
+
internalBorder?: MapBordersOptions;
|
|
3739
|
+
/**
|
|
3740
|
+
* 외부 접경선 표시 설정 옵션.<br/>
|
|
3741
|
+
*/
|
|
3742
|
+
externalBorder?: MapBordersOptions;
|
|
3743
|
+
/**
|
|
3744
|
+
* 특정 영역들의 경계선 옵션 목록.<br/>
|
|
3745
|
+
*/
|
|
3746
|
+
mapBorders?: string | MapBorderOptions | (string | MapBorderOptions)[];
|
|
3664
3747
|
colorRange?: ColorRange;
|
|
3665
3748
|
/**
|
|
3666
|
-
* 차트에 설정된 color scale 아이디 혹은
|
|
3749
|
+
* 차트에 설정된 color scale 아이디 혹은 인덱스.<br/>
|
|
3750
|
+
* 명시적 null을 지정하면 컬러스케일에 연결되지 않는다.
|
|
3751
|
+
* 다른 잘못된 값이면 첫번째 스케일에 연결된다.
|
|
3667
3752
|
*/
|
|
3668
|
-
colorScale?: string | number;
|
|
3753
|
+
colorScale?: string | number | null;
|
|
3669
3754
|
drilldown?: DrilldownOptions;
|
|
3670
3755
|
/**
|
|
3671
3756
|
* @ignore
|
|
@@ -3703,9 +3788,11 @@ interface FeatureSeriesOptions extends ValueSeriesOptions {
|
|
|
3703
3788
|
selectable?: boolean;
|
|
3704
3789
|
colorRange?: ColorRange;
|
|
3705
3790
|
/**
|
|
3706
|
-
* 차트에 설정된 color scale 아이디 혹은
|
|
3791
|
+
* 차트에 설정된 color scale 아이디 혹은 인덱스.<br/>
|
|
3792
|
+
* 명시적 null을 지정하면 컬러스케일에 연결되지 않는다.
|
|
3793
|
+
* 다른 잘못된 값이면 첫번째 스케일에 연결된다.
|
|
3707
3794
|
*/
|
|
3708
|
-
colorScale?: string | number;
|
|
3795
|
+
colorScale?: string | number | null;
|
|
3709
3796
|
/**
|
|
3710
3797
|
* @ignore
|
|
3711
3798
|
*/
|
|
@@ -3833,9 +3920,11 @@ interface PinSeriesOptions extends MarkerSeriesOptions {
|
|
|
3833
3920
|
*/
|
|
3834
3921
|
position?: PointViewPosition;
|
|
3835
3922
|
/**
|
|
3836
|
-
* 차트에 설정된 color scale 아이디 혹은
|
|
3923
|
+
* 차트에 설정된 color scale 아이디 혹은 인덱스.<br/>
|
|
3924
|
+
* 명시적 null을 지정하면 컬러스케일에 연결되지 않는다.
|
|
3925
|
+
* 다른 잘못된 값이면 첫번째 스케일에 연결된다.
|
|
3837
3926
|
*/
|
|
3838
|
-
colorScale?: string | number;
|
|
3927
|
+
colorScale?: string | number | null;
|
|
3839
3928
|
}
|
|
3840
3929
|
declare const FigureSeriesType = "figure";
|
|
3841
3930
|
/**
|
|
@@ -4534,8 +4623,8 @@ type LegendItemsAlign = typeof _LegendItemsAligns[keyof typeof _LegendItemsAlign
|
|
|
4534
4623
|
*/
|
|
4535
4624
|
declare const _LegendLayout: {
|
|
4536
4625
|
/**
|
|
4537
|
-
* legend가
|
|
4538
|
-
* legend가
|
|
4626
|
+
* legend가 맵차트 좌우에 배치되면 item들을 수직으로 배치하고,
|
|
4627
|
+
* legend가 맵차트 상하에 배치되면 item들을 수평으로 배치한다.
|
|
4539
4628
|
*/
|
|
4540
4629
|
readonly AUTO: "auto";
|
|
4541
4630
|
/**
|
|
@@ -4550,7 +4639,7 @@ declare const _LegendLayout: {
|
|
|
4550
4639
|
/** @dummy */
|
|
4551
4640
|
type LegendLayout = typeof _LegendLayout[keyof typeof _LegendLayout];
|
|
4552
4641
|
/**
|
|
4553
|
-
*
|
|
4642
|
+
* 맵차트 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 범례 설정 모델.<br/>
|
|
4554
4643
|
* visible 기본값이 undefined이고,
|
|
4555
4644
|
* 따로 지정하지 않으면 시리즈가 둘 이상 포함돼야 legend가 표시된다.<br/>
|
|
4556
4645
|
* {@link guide.legend 범례 개요} 페이지를 참조한다.
|
|
@@ -4662,7 +4751,7 @@ declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
|
4662
4751
|
text(): string;
|
|
4663
4752
|
}
|
|
4664
4753
|
/**
|
|
4665
|
-
*
|
|
4754
|
+
* 맵차트 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 범례 설정 모델.<br/>
|
|
4666
4755
|
* visible 기본값이 undefined이고,
|
|
4667
4756
|
* 따로 지정하지 않으면 시리즈가 둘 이상 포함돼야 legend가 표시된다.<br/>
|
|
4668
4757
|
* {@link guide.legend 범례 개요} 페이지를 참조한다.
|
|
@@ -4687,12 +4776,13 @@ declare class Legend extends MapSimpleWidget<LegendOptions> {
|
|
|
4687
4776
|
isVisible(): boolean;
|
|
4688
4777
|
protected _doInit(op: LegendOptions): void;
|
|
4689
4778
|
protected _doApply(options: LegendOptions): void;
|
|
4690
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
4779
|
+
protected _doPrepareRender(chart: IChart, op: LegendOptions): void;
|
|
4691
4780
|
}
|
|
4692
4781
|
declare class LegendCollection extends MapWidgetCollection<Legend> {
|
|
4693
4782
|
protected _collectionProp(): string;
|
|
4694
4783
|
protected _canEmpty(): boolean;
|
|
4695
4784
|
protected _createWidget(chart: IChart): Legend;
|
|
4785
|
+
prepareRender(): void;
|
|
4696
4786
|
}
|
|
4697
4787
|
|
|
4698
4788
|
/**
|
|
@@ -4728,6 +4818,7 @@ declare class MapArea extends RmObject implements ISelectionSource {
|
|
|
4728
4818
|
private _info;
|
|
4729
4819
|
private _path;
|
|
4730
4820
|
private _internal;
|
|
4821
|
+
private _external;
|
|
4731
4822
|
h1: number;
|
|
4732
4823
|
h2: number;
|
|
4733
4824
|
v1: number;
|
|
@@ -4752,6 +4843,7 @@ declare class MapArea extends RmObject implements ISelectionSource {
|
|
|
4752
4843
|
name: string;
|
|
4753
4844
|
get path(): string;
|
|
4754
4845
|
get internal(): string;
|
|
4846
|
+
get external(): string;
|
|
4755
4847
|
get selected(): boolean;
|
|
4756
4848
|
displayText(): string;
|
|
4757
4849
|
/**
|
|
@@ -4777,11 +4869,23 @@ declare class MapArea extends RmObject implements ISelectionSource {
|
|
|
4777
4869
|
y1: number;
|
|
4778
4870
|
y2: number;
|
|
4779
4871
|
};
|
|
4780
|
-
readPath(prj: MapProjection
|
|
4781
|
-
|
|
4872
|
+
readPath(prj: MapProjection, info: {
|
|
4873
|
+
internals: boolean;
|
|
4874
|
+
externals: boolean;
|
|
4875
|
+
}): string;
|
|
4876
|
+
private $_readInternal;
|
|
4877
|
+
private $_readExternal;
|
|
4782
4878
|
getCenter(): MapCoord;
|
|
4783
4879
|
_clone(): MapArea;
|
|
4784
4880
|
}
|
|
4881
|
+
declare class MapBorder extends RmObject {
|
|
4882
|
+
source: BorderItem;
|
|
4883
|
+
private _path;
|
|
4884
|
+
constructor(source: BorderItem);
|
|
4885
|
+
get path(): string;
|
|
4886
|
+
reset(): void;
|
|
4887
|
+
readPath(prj: MapProjection): void;
|
|
4888
|
+
}
|
|
4785
4889
|
interface IMapOwner {
|
|
4786
4890
|
getProjection(second: boolean): MapProjection;
|
|
4787
4891
|
projectionChanged(): void;
|
|
@@ -4800,6 +4904,7 @@ declare class MapModel extends RmObject {
|
|
|
4800
4904
|
private _second;
|
|
4801
4905
|
private _areas;
|
|
4802
4906
|
private _areaMap;
|
|
4907
|
+
private _borders;
|
|
4803
4908
|
_insets: MapInset[];
|
|
4804
4909
|
_useOffset: boolean | MapCoord;
|
|
4805
4910
|
private _mapAreaFinder;
|
|
@@ -4831,6 +4936,8 @@ declare class MapModel extends RmObject {
|
|
|
4831
4936
|
set hiddenAreas(value: string[]);
|
|
4832
4937
|
get alignArctic(): any;
|
|
4833
4938
|
get hasInternals(): boolean;
|
|
4939
|
+
get hasExternals(): boolean;
|
|
4940
|
+
get hasBorders(): MapBorderInfo[];
|
|
4834
4941
|
get isWorld(): boolean;
|
|
4835
4942
|
get(index: number): MapArea;
|
|
4836
4943
|
areaOf(id: any): MapArea;
|
|
@@ -4844,6 +4951,8 @@ declare class MapModel extends RmObject {
|
|
|
4844
4951
|
*/
|
|
4845
4952
|
reset(): void;
|
|
4846
4953
|
isVisible(area: string): boolean;
|
|
4954
|
+
insetAt(coord: MapCoord): MapInset;
|
|
4955
|
+
getBorder(name: string): MapBorder;
|
|
4847
4956
|
/**
|
|
4848
4957
|
* 투영전에 지도 bounds를 계산한다.
|
|
4849
4958
|
* projection offset을 설정하려면 투영하기 전에 지도 경계값이 필요하다.
|
|
@@ -4901,7 +5010,7 @@ declare class DataPointLabel<OP extends DataPointLabelOptions = DataPointLabelOp
|
|
|
4901
5010
|
isVisible(): boolean;
|
|
4902
5011
|
getDefaultIconPos(): IconPosition;
|
|
4903
5012
|
protected _doSetSimple(op: OP, src: any): boolean;
|
|
4904
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
5013
|
+
protected _doPrepareRender(chart: IChart, op: OP): void;
|
|
4905
5014
|
}
|
|
4906
5015
|
declare class DataPointAnchorPoint<OP extends CalloutAnchorPointOptions = CalloutAnchorPointOptions> extends ChartItem<OP> {
|
|
4907
5016
|
static defaults: CalloutAnchorPointOptions;
|
|
@@ -4926,6 +5035,7 @@ interface ISeries<T extends DataPoint = DataPoint> {
|
|
|
4926
5035
|
_latFielder?: (src: any) => number;
|
|
4927
5036
|
_valuesFielder?: (src: any) => any[];
|
|
4928
5037
|
_colorFielder: (src: any) => string;
|
|
5038
|
+
coordOfArea(id: string): MapCoord;
|
|
4929
5039
|
getColorScale(): string | number;
|
|
4930
5040
|
initPoints(source: any[]): T[];
|
|
4931
5041
|
followTooltipPointer(): boolean;
|
|
@@ -4992,7 +5102,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4992
5102
|
/**
|
|
4993
5103
|
* 시리즈 이름.<br/>
|
|
4994
5104
|
* 시리즈 생성시 지정된 후 변경할 수 없다.
|
|
4995
|
-
*
|
|
5105
|
+
* 맵차트의 다른 구성 요소에서 이 시리즈를 참조할 때 사용되며,
|
|
4996
5106
|
* 레전드나 툴팁에서 시리즈를 나타내는 텍스트로도 사용된다.
|
|
4997
5107
|
*
|
|
4998
5108
|
* @config
|
|
@@ -5049,7 +5159,6 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5049
5159
|
protected _defLabelOff(): number;
|
|
5050
5160
|
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
5051
5161
|
coordOfArea(id: string): MapCoord;
|
|
5052
|
-
getCoord(p: DataPoint): MapCoord;
|
|
5053
5162
|
pointById(id: string): DataPoint;
|
|
5054
5163
|
canAddAnimation(): boolean;
|
|
5055
5164
|
canRemoveAnimation(): boolean;
|
|
@@ -5092,7 +5201,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5092
5201
|
_prepareRender(): void;
|
|
5093
5202
|
protected _doAfterRender(): void;
|
|
5094
5203
|
protected _doMapChanged(): void;
|
|
5095
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
5204
|
+
protected _doPrepareRender(chart: IChart, op: OP): void;
|
|
5096
5205
|
protected abstract _createPoint(source: any): DataPoint;
|
|
5097
5206
|
protected $_addPoint(source: any, i: number): DataPoint;
|
|
5098
5207
|
protected _createFielder(f: any): (v: any) => any;
|
|
@@ -5115,6 +5224,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5115
5224
|
declare abstract class ValuePoint extends DataPoint {
|
|
5116
5225
|
value: number;
|
|
5117
5226
|
protected _readObject(series: ISeries, v: any): void;
|
|
5227
|
+
protected _assignTo(proxy: any): any;
|
|
5118
5228
|
getValue(): number;
|
|
5119
5229
|
getBaseValue(): number;
|
|
5120
5230
|
}
|
|
@@ -5251,6 +5361,12 @@ declare class DataPoint implements ISelectionSource {
|
|
|
5251
5361
|
* 데이터포인트 표시 위치.<br/>
|
|
5252
5362
|
*/
|
|
5253
5363
|
coord: MapCoord;
|
|
5364
|
+
/**
|
|
5365
|
+
* @private
|
|
5366
|
+
*
|
|
5367
|
+
* 인셋에 포함된 경우 인셋의 offset.<br/>
|
|
5368
|
+
*/
|
|
5369
|
+
inset: MapCoord;
|
|
5254
5370
|
/**
|
|
5255
5371
|
* 본래 위치와 다른 곳에 데이터포인트 정보를 표시할 때,
|
|
5256
5372
|
* 해당하는 위치까지의 경로를 표시한다.<br/>
|
|
@@ -5351,7 +5467,7 @@ interface AssetItemOptions {
|
|
|
5351
5467
|
/**
|
|
5352
5468
|
* 에셋 id.<br/>
|
|
5353
5469
|
* 시리즈나 축에서 이 에셋 항목을 참조할 때 사용하는 키로서
|
|
5354
|
-
*
|
|
5470
|
+
* 맵차트 내에서 유일한 문자열로 반드시 지정해야 한다.
|
|
5355
5471
|
*
|
|
5356
5472
|
*/
|
|
5357
5473
|
id: string;
|
|
@@ -5490,8 +5606,8 @@ declare class AssetCollection {
|
|
|
5490
5606
|
}
|
|
5491
5607
|
|
|
5492
5608
|
/**
|
|
5493
|
-
*
|
|
5494
|
-
* 기본적으로
|
|
5609
|
+
* 맵차트 제작 주체 등을 표시하는 영역에 대한 모델.<br/>
|
|
5610
|
+
* 기본적으로 맵차트 오른쪽 아래에 표시되지만, {@link align}, {@link verticalAlign} 등으로 위치를 지정할 수 있다.
|
|
5495
5611
|
* {@link url}을 설정하면 마우스 클릭 시 새창을 열고 해당 위치로 이동시킨다.
|
|
5496
5612
|
*/
|
|
5497
5613
|
declare class Credits extends ChartItem<CreditsOptions> {
|
|
@@ -5514,8 +5630,8 @@ interface ScaleOptions extends MapSimpleWidgetOptions {
|
|
|
5514
5630
|
*/
|
|
5515
5631
|
declare const _ColorScaleLayout: {
|
|
5516
5632
|
/**
|
|
5517
|
-
* color scale이
|
|
5518
|
-
* color scale이
|
|
5633
|
+
* color scale이 맵차트 좌우에 배치되면 item들을 수직으로 배치하고,
|
|
5634
|
+
* color scale이 맵차트 상하에 배치되면 item들을 수평으로 배치한다.
|
|
5519
5635
|
*/
|
|
5520
5636
|
readonly AUTO: "auto";
|
|
5521
5637
|
/**
|
|
@@ -6204,7 +6320,7 @@ declare class MapScale extends ScaleBase<MapScaleOptions> {
|
|
|
6204
6320
|
_type(): string;
|
|
6205
6321
|
protected _getScaledSeries(chart: IChart): ISeries;
|
|
6206
6322
|
protected _doApply(options: MapScaleOptions): void;
|
|
6207
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
6323
|
+
protected _doPrepareRender(chart: IChart, op: MapScaleOptions): void;
|
|
6208
6324
|
private $_calcScale;
|
|
6209
6325
|
}
|
|
6210
6326
|
|
|
@@ -6214,9 +6330,9 @@ declare class MapScale extends ScaleBase<MapScaleOptions> {
|
|
|
6214
6330
|
interface MapSourceOptions extends MapSource {
|
|
6215
6331
|
}
|
|
6216
6332
|
/**
|
|
6217
|
-
*
|
|
6333
|
+
* 맵차트의 기준이 되는 맵과 관련 속성 및 시리즈와 게이지의 기본 타입을 결정하는 중요한 몇가지 속성들과
|
|
6218
6334
|
* 하위 구성 요소들에 대한 옵션들을 설정한다.<br/>
|
|
6219
|
-
*
|
|
6335
|
+
* 맵차트 생성 시 이 옵션 객체를 구성해서 전달해야 한다.
|
|
6220
6336
|
*
|
|
6221
6337
|
* ```js
|
|
6222
6338
|
* const chart = RealMap.createChart(doc, 'div', {
|
|
@@ -6250,12 +6366,12 @@ interface ChartConfiguration {
|
|
|
6250
6366
|
* 한 주의 시작 요일.<br/>
|
|
6251
6367
|
* ex) 0: 일요일, 1: 월요일
|
|
6252
6368
|
*
|
|
6253
|
-
* [주의]
|
|
6369
|
+
* [주의] 맵차트 로딩 후 변경할 수 없다.
|
|
6254
6370
|
*
|
|
6255
6371
|
*/
|
|
6256
6372
|
startOfWeek?: number;
|
|
6257
6373
|
/**
|
|
6258
|
-
*
|
|
6374
|
+
* 맵차트 영역 전체에 연관되는 속성들을 설정한다.<br/>
|
|
6259
6375
|
*/
|
|
6260
6376
|
chart?: ChartOptionsOptions;
|
|
6261
6377
|
/**
|
|
@@ -6267,15 +6383,15 @@ interface ChartConfiguration {
|
|
|
6267
6383
|
*/
|
|
6268
6384
|
assets?: AssetOptionsType | AssetOptionsType[];
|
|
6269
6385
|
/**
|
|
6270
|
-
* {@page guide.title
|
|
6386
|
+
* {@page guide.title 맵차트 타이틀} 표시 영역.<br/>
|
|
6271
6387
|
*/
|
|
6272
6388
|
title?: TitleOptions | string;
|
|
6273
6389
|
/**
|
|
6274
|
-
* {@page guide.title
|
|
6390
|
+
* {@page guide.title 맵차트 타이틀} 주변에 추가롤 표시되는 부제목 영역.<br/>
|
|
6275
6391
|
*/
|
|
6276
6392
|
subtitle?: SubtitleOptions | string;
|
|
6277
6393
|
/**
|
|
6278
|
-
*
|
|
6394
|
+
* 맵차트의 기준이 될 지도 소스 및 관련 옵션.<br/>
|
|
6279
6395
|
* 배열로 둘 이상의 맵을 지정할 수 있다.
|
|
6280
6396
|
*/
|
|
6281
6397
|
map?: MapSourceOptions | MapSourceOptions[];
|
|
@@ -6315,11 +6431,11 @@ interface ChartConfiguration {
|
|
|
6315
6431
|
bubbleScales?: BubbleScaleOptions | BubbleScaleOptions[];
|
|
6316
6432
|
mapScale?: MapScale;
|
|
6317
6433
|
/**
|
|
6318
|
-
*
|
|
6434
|
+
* 맵차트가 {@page guide.zoom zoom} 가능할 때 zomm 버튼들이 표시되는 패널.<br/>
|
|
6319
6435
|
*/
|
|
6320
6436
|
zoomPanel?: ZoomPanelOptions | boolean;
|
|
6321
6437
|
/**
|
|
6322
|
-
*
|
|
6438
|
+
* 맵차트가 {@page guide.drilldown 드릴다운} 상태일 때 뒤로 가기 버튼(들)이 표시되는 패널.<br/>
|
|
6323
6439
|
*/
|
|
6324
6440
|
drilldownPanel?: DrilldownPanelOptions | boolean;
|
|
6325
6441
|
/**
|
|
@@ -6385,12 +6501,13 @@ declare class BubbleScale extends ScaleBase<BubbleScaleOptions> {
|
|
|
6385
6501
|
isVertical(): boolean;
|
|
6386
6502
|
protected _getScaledSeries(chart: IChart): ISeries;
|
|
6387
6503
|
protected _doApply(options: BubbleScaleOptions): void;
|
|
6388
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
6504
|
+
protected _doPrepareRender(chart: IChart, op: BubbleScaleOptions): void;
|
|
6389
6505
|
private $_buildSteps;
|
|
6390
6506
|
}
|
|
6391
6507
|
declare class BubbleScaleCollection extends MapWidgetCollection<BubbleScale> {
|
|
6392
6508
|
protected _collectionProp(): string;
|
|
6393
6509
|
protected _createWidget(chart: IChart): BubbleScale;
|
|
6510
|
+
beforeRender(): void;
|
|
6394
6511
|
}
|
|
6395
6512
|
|
|
6396
6513
|
interface IColorRanger {
|
|
@@ -6483,7 +6600,7 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
6483
6600
|
protected _doApply(options: ColorScaleOptions): void;
|
|
6484
6601
|
protected _getScaledSeries(chart: IChart): ISeries;
|
|
6485
6602
|
private $_parseColorStops;
|
|
6486
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
6603
|
+
protected _doPrepareRender(chart: IChart, op: ColorScaleOptions): void;
|
|
6487
6604
|
_buildSteps(): void;
|
|
6488
6605
|
private $_parseValue;
|
|
6489
6606
|
private $_normalizeMin;
|
|
@@ -6495,10 +6612,11 @@ declare class ColorScaleCollection extends MapWidgetCollection<ColorScale> {
|
|
|
6495
6612
|
getLegendSources(): ILegendSource[];
|
|
6496
6613
|
protected _collectionProp(): string;
|
|
6497
6614
|
protected _createWidget(chart: IChart): ColorScale;
|
|
6615
|
+
beforeRender(): void;
|
|
6498
6616
|
}
|
|
6499
6617
|
|
|
6500
6618
|
/**
|
|
6501
|
-
*
|
|
6619
|
+
* 맵차트 내보내기 관련 설정 모델.
|
|
6502
6620
|
*/
|
|
6503
6621
|
declare class Exporter extends ChartItem<ExporterOptions> {
|
|
6504
6622
|
static defaults: ExporterOptions;
|
|
@@ -6537,7 +6655,7 @@ declare class MapAxisGrid extends ChartItem<MapAxisGridOptions> {
|
|
|
6537
6655
|
getLonStep(): number;
|
|
6538
6656
|
getLatStep(): number;
|
|
6539
6657
|
protected _doApply(options: MapAxisGridOptions): void;
|
|
6540
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
6658
|
+
protected _doPrepareRender(chart: IChart, op: MapAxisOptions): void;
|
|
6541
6659
|
private $_defaultStep;
|
|
6542
6660
|
}
|
|
6543
6661
|
/**
|
|
@@ -6698,8 +6816,8 @@ declare class DrilldownPanel extends BodyPanel<DrilldownPanelOptions> {
|
|
|
6698
6816
|
}
|
|
6699
6817
|
|
|
6700
6818
|
/**
|
|
6701
|
-
*
|
|
6702
|
-
* 기본적으로
|
|
6819
|
+
* 맵차트 제목(title) 설정 모델.<br/>
|
|
6820
|
+
* 기본적으로 맵차트 중앙 상단에 표시되지만 {@link align}, {@link verticalAlign} 등으로 위치를 변경할 수 있다.<br/>
|
|
6703
6821
|
* {@link guide.title 타이틀 개요} 페이지를 참조한다.
|
|
6704
6822
|
*
|
|
6705
6823
|
* @config chart.title
|
|
@@ -6710,7 +6828,7 @@ declare class Title<OP extends TitleOptions = TitleOptions> extends ChartItem<OP
|
|
|
6710
6828
|
protected _doSetSimple(op: OP, src: any): boolean;
|
|
6711
6829
|
}
|
|
6712
6830
|
/**
|
|
6713
|
-
*
|
|
6831
|
+
* 맵차트 부제목(subtitle) 설정 모델.<br/>
|
|
6714
6832
|
* 기본적으로 주 제목(title)의 설정을 따르고, 몇가지 속성들이 추가된다.<br/>
|
|
6715
6833
|
* {@link guide.subtitle 부제목 개요} 페이지를 참조한다.
|
|
6716
6834
|
*
|
|
@@ -6731,8 +6849,20 @@ declare class MapSeriesPoint extends ValuePoint {
|
|
|
6731
6849
|
declare class MapSeriesDrilldown extends ChartItem<DrilldownOptions> {
|
|
6732
6850
|
static defaults: DrilldownOptions;
|
|
6733
6851
|
}
|
|
6734
|
-
declare class
|
|
6735
|
-
|
|
6852
|
+
declare class MapSeriesBorder extends ChartItem<MapBorderOptions> {
|
|
6853
|
+
name: string;
|
|
6854
|
+
series: MapSeries;
|
|
6855
|
+
static defaults: MapBorderOptions;
|
|
6856
|
+
border: MapBorder;
|
|
6857
|
+
constructor(name: string, series: MapSeries);
|
|
6858
|
+
getPath(): string;
|
|
6859
|
+
protected _doSetSimple(op: MapBorderOptions, src: any): boolean;
|
|
6860
|
+
}
|
|
6861
|
+
declare class MapSeriesBorders extends ChartItem<MapBordersOptions> {
|
|
6862
|
+
name: string;
|
|
6863
|
+
series: MapSeries;
|
|
6864
|
+
static defaults: MapBordersOptions;
|
|
6865
|
+
constructor(name: string, series: MapSeries);
|
|
6736
6866
|
}
|
|
6737
6867
|
/**
|
|
6738
6868
|
* Map 시리즈 모델.<br/>
|
|
@@ -6748,18 +6878,26 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6748
6878
|
private _detailed;
|
|
6749
6879
|
private _drilldown;
|
|
6750
6880
|
private _internalBorder;
|
|
6881
|
+
private _externalBorder;
|
|
6751
6882
|
private _areaPts;
|
|
6752
6883
|
private _minValue;
|
|
6753
6884
|
private _maxValue;
|
|
6754
6885
|
private _colorObj;
|
|
6755
6886
|
private _colorRanger;
|
|
6756
6887
|
private _useMapData;
|
|
6888
|
+
private _areaMap;
|
|
6889
|
+
private _hiddenAreas;
|
|
6890
|
+
private _mapBorders;
|
|
6891
|
+
private _saveBorders;
|
|
6757
6892
|
get areaCount(): number;
|
|
6758
6893
|
get parent(): MapSeries;
|
|
6759
6894
|
get detail(): MapSeries;
|
|
6760
6895
|
get drilldown(): MapSeriesDrilldown;
|
|
6761
|
-
get internalBorder():
|
|
6896
|
+
get internalBorder(): MapSeriesBorders;
|
|
6897
|
+
get externalBorder(): MapSeriesBorders;
|
|
6762
6898
|
get color(): Color;
|
|
6899
|
+
getMapBorders(): MapSeriesBorder[];
|
|
6900
|
+
isHiddenArea(areaId: string): MapArea;
|
|
6763
6901
|
getHistory(): MapSeries[];
|
|
6764
6902
|
get(second: boolean, index: number): MapArea;
|
|
6765
6903
|
pointOf(area: MapArea): MapSeriesPoint;
|
|
@@ -6776,7 +6914,7 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6776
6914
|
protected _createLabel(chart: IChart): DataPointLabel;
|
|
6777
6915
|
private $_createDetail;
|
|
6778
6916
|
protected _doLoad(options: ChartItemOptions, source: any): void;
|
|
6779
|
-
protected _doApply(
|
|
6917
|
+
protected _doApply(op: MapSeriesOptions): void;
|
|
6780
6918
|
needMapScale(): boolean;
|
|
6781
6919
|
canAddAnimation(): boolean;
|
|
6782
6920
|
canRemoveAnimation(): boolean;
|
|
@@ -6786,11 +6924,12 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6786
6924
|
protected _createPoint(source: any): MapSeriesPoint;
|
|
6787
6925
|
protected _getPointArgs(args: DataPointArgs, p: MapSeriesPoint): DataPointArgs;
|
|
6788
6926
|
_prepareRender(): void;
|
|
6789
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
6927
|
+
protected _doPrepareRender(chart: IChart, op: MapSeriesOptions): void;
|
|
6790
6928
|
protected _doLoadPoints(src: any): void;
|
|
6791
6929
|
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
6792
6930
|
getColorScale(): string | number;
|
|
6793
6931
|
canSelect(): boolean;
|
|
6932
|
+
private $_loadBorders;
|
|
6794
6933
|
}
|
|
6795
6934
|
|
|
6796
6935
|
declare class MapBackground extends ChartItem<MapBackgroundOptions> {
|
|
@@ -6805,7 +6944,7 @@ interface IBodyTransform {
|
|
|
6805
6944
|
vy: number;
|
|
6806
6945
|
}
|
|
6807
6946
|
/**
|
|
6808
|
-
* 시리즈, annotation, axis grid 및 guide 등이 표시되는
|
|
6947
|
+
* 시리즈, annotation, axis grid 및 guide 등이 표시되는 맵차트 주 영역 모델.<br/>
|
|
6809
6948
|
* {@page options 설정} 모델은 {@page op.BodyOptions}이다.
|
|
6810
6949
|
*/
|
|
6811
6950
|
declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
@@ -7035,7 +7174,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
7035
7174
|
selectionItemAdded(item: ISelectionSource): void;
|
|
7036
7175
|
selectionItemRemoved(item: ISelectionSource): void;
|
|
7037
7176
|
selectionCleared(): void;
|
|
7038
|
-
get type(): "map" | "feature" | "point" | "pin" | "vector" | "bar" | "pie" | "figure" | "bubble" | "route" | "image" | "
|
|
7177
|
+
get type(): "line" | "map" | "feature" | "point" | "pin" | "vector" | "bar" | "pie" | "figure" | "bubble" | "route" | "image" | "heatmap" | "panel" | "waffle" | "gauge" | "clock";
|
|
7039
7178
|
get chartOptions(): ChartOptions;
|
|
7040
7179
|
get legend(): Legend;
|
|
7041
7180
|
get credits(): Credits;
|
|
@@ -7194,7 +7333,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7194
7333
|
* 모델 설정 값들을 변경한다.<br/>
|
|
7195
7334
|
*
|
|
7196
7335
|
* @param source 설정 옵션들이 포함된 json 객체
|
|
7197
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
7336
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 true
|
|
7198
7337
|
* @returns 모델 객체 자신
|
|
7199
7338
|
*/
|
|
7200
7339
|
updateOptions(source?: OP, render?: boolean): this;
|
|
@@ -7203,7 +7342,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7203
7342
|
*
|
|
7204
7343
|
* @param prop 설정 항목 이름
|
|
7205
7344
|
* @param value 설정 값
|
|
7206
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
7345
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 true
|
|
7207
7346
|
* @returns 모델 객체 자신
|
|
7208
7347
|
*/
|
|
7209
7348
|
updateOption(prop: keyof OP, value: any, render?: boolean): this;
|
|
@@ -7211,7 +7350,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7211
7350
|
* boolean 타입의 모델 설정 값을 반대 값으로 변경한다.<br/>
|
|
7212
7351
|
*
|
|
7213
7352
|
* @param prop 설정 항목 이름
|
|
7214
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
7353
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 true
|
|
7215
7354
|
* @returns 모델 객체 자신
|
|
7216
7355
|
*/
|
|
7217
7356
|
toggleOption(prop: keyof OP, render?: boolean): this;
|
|
@@ -7219,21 +7358,21 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7219
7358
|
* 명시적으로 설정된 모델 설정 값을 제거해서 모델의 기본 값이 적용되도록 한다.<br/>
|
|
7220
7359
|
*
|
|
7221
7360
|
* @param prop 설정 항목 이름
|
|
7222
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
7361
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 true
|
|
7223
7362
|
* @returns 모델 객체 자신
|
|
7224
7363
|
*/
|
|
7225
7364
|
removeOption(prop: keyof OP, render?: boolean): this;
|
|
7226
7365
|
/**
|
|
7227
7366
|
* 명시적으로 설정된 모든 모델 설정 값들을 제거한다..<br/>
|
|
7228
7367
|
*
|
|
7229
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
7368
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 true
|
|
7230
7369
|
* @returns 모델 객체 자신
|
|
7231
7370
|
*/
|
|
7232
7371
|
clearOptions(render?: boolean): this;
|
|
7233
7372
|
/**
|
|
7234
7373
|
* 명시적으로 모델에 설정된 모든 style 값들을 제거한다.<br/>
|
|
7235
7374
|
*
|
|
7236
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
7375
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 false
|
|
7237
7376
|
* @returns
|
|
7238
7377
|
*/
|
|
7239
7378
|
clearStyle(render?: boolean): this;
|
|
@@ -7242,7 +7381,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7242
7381
|
*
|
|
7243
7382
|
* @param prop css 스타일 항목 이름.
|
|
7244
7383
|
* @param value 적용할 스타일 값.
|
|
7245
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
7384
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 true
|
|
7246
7385
|
* @returns
|
|
7247
7386
|
*/
|
|
7248
7387
|
setStyle(prop: string, value: any, render?: boolean): this;
|
|
@@ -7250,7 +7389,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7250
7389
|
* 여러 항목의 모델 css style 값들을 json 객체로 지정해서 동시에 변경한다.<br/>
|
|
7251
7390
|
*
|
|
7252
7391
|
* @param styles 스타일 항목들과 값들이 설정된 json 객체
|
|
7253
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
7392
|
+
* @param render true로 지정하면 옵션 변경 시 맵차트를 다시 그린다. 기본갑 true
|
|
7254
7393
|
* @returns
|
|
7255
7394
|
*/
|
|
7256
7395
|
setStyles(styles: any, render?: boolean): this;
|
|
@@ -7268,7 +7407,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
7268
7407
|
protected _doSave(target: object): void;
|
|
7269
7408
|
/** @internal */
|
|
7270
7409
|
protected _doUpdate(source: any): void;
|
|
7271
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
7410
|
+
protected _doPrepareRender(chart: IChart, op: OP): void;
|
|
7272
7411
|
protected _doAfterRender(): void;
|
|
7273
7412
|
}
|
|
7274
7413
|
declare abstract class ChartItemCollection<T extends ChartItem> {
|
|
@@ -7312,7 +7451,7 @@ declare abstract class IconedText<OP extends IconedTextOptions = IconedTextOptio
|
|
|
7312
7451
|
private _root;
|
|
7313
7452
|
abstract getDefaultIconPos(): IconPosition;
|
|
7314
7453
|
getIconPos(): IconPosition;
|
|
7315
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
7454
|
+
protected _doPrepareRender(chart: IChart, op: IconedTextOptions): void;
|
|
7316
7455
|
getUrl(url: string): string;
|
|
7317
7456
|
}
|
|
7318
7457
|
declare class MapWidgetBackground extends ChartItem<MapWidgetBackgroundOptions> {
|
|
@@ -7348,7 +7487,7 @@ declare abstract class MapWidget<OP extends MapWidgetOptions = MapWidgetOptions>
|
|
|
7348
7487
|
_setIndex(value: number): void;
|
|
7349
7488
|
getDefaultDisplay(caption: MapWidgetCaption): MapWidgetCaptionDisplay;
|
|
7350
7489
|
protected _doInit(op: MapWidgetOptions): void;
|
|
7351
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
7490
|
+
protected _doPrepareRender(chart: IChart, op: OP): void;
|
|
7352
7491
|
}
|
|
7353
7492
|
declare abstract class MapSimpleWidget<OP extends MapSimpleWidgetOptions = MapSimpleWidgetOptions> extends MapWidget<OP> {
|
|
7354
7493
|
}
|
|
@@ -7368,6 +7507,9 @@ declare abstract class MapWidgetCollection<T extends MapWidget = MapWidget> exte
|
|
|
7368
7507
|
protected _visibles: T[];
|
|
7369
7508
|
getVisibles(loc: ChartItemLocation): T[];
|
|
7370
7509
|
get(name: string | number, loc: ChartItemLocation): T;
|
|
7510
|
+
find(name: string | number, force: boolean): T;
|
|
7511
|
+
beforeRender(): void;
|
|
7512
|
+
protected _collectVisibles(): void;
|
|
7371
7513
|
prepareRender(): void;
|
|
7372
7514
|
load(src: any): void;
|
|
7373
7515
|
protected abstract _collectionProp(): string;
|
|
@@ -7386,14 +7528,14 @@ declare abstract class ScaleBase<OP extends ScaleOptions = ScaleOptions> extends
|
|
|
7386
7528
|
static defaults: ScaleOptions;
|
|
7387
7529
|
protected _series: ISeries;
|
|
7388
7530
|
get series(): ISeries<DataPoint>;
|
|
7389
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
7531
|
+
protected _doPrepareRender(chart: IChart, op: OP): void;
|
|
7390
7532
|
protected abstract _getScaledSeries(chart: IChart): ISeries;
|
|
7391
7533
|
}
|
|
7392
7534
|
|
|
7393
7535
|
/**
|
|
7394
7536
|
* Annotation 모델들의 기반 클래스.<br/>
|
|
7395
7537
|
* {@page options 옵션} 모델은 {@page op.AnnotationOptions}이고,
|
|
7396
|
-
* {@page config
|
|
7538
|
+
* {@page config 맵차트 설정}에서 {@page config.annotation 'annotation'} 항목으로 설정한다.
|
|
7397
7539
|
* ```js
|
|
7398
7540
|
* const config = {
|
|
7399
7541
|
* annotation: [{
|
|
@@ -7449,7 +7591,7 @@ declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptio
|
|
|
7449
7591
|
refresh(): void;
|
|
7450
7592
|
_load(source: any): OP;
|
|
7451
7593
|
protected _doApply(options: AnnotationOptions): void;
|
|
7452
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
7594
|
+
protected _doPrepareRender(chart: IChart, op: AnnotationOptions): void;
|
|
7453
7595
|
}
|
|
7454
7596
|
/**
|
|
7455
7597
|
* @internal
|
|
@@ -7478,12 +7620,12 @@ declare class AnnotationCollection extends ChartItemCollection<Annotation> {
|
|
|
7478
7620
|
}
|
|
7479
7621
|
|
|
7480
7622
|
/**
|
|
7481
|
-
*
|
|
7623
|
+
* 맵차트 생성 이후 호출되는 콜백의 매개변수로 사용된다.
|
|
7482
7624
|
*/
|
|
7483
7625
|
interface LoadCallbackArgs extends CommonCallbackArgs {
|
|
7484
7626
|
}
|
|
7485
7627
|
/**
|
|
7486
|
-
* RealMap 라이브러리의
|
|
7628
|
+
* RealMap 라이브러리의 맵차트 모델.<br/>
|
|
7487
7629
|
*/
|
|
7488
7630
|
declare class MapChart {
|
|
7489
7631
|
_obj: ChartObject;
|
|
@@ -7511,21 +7653,21 @@ declare class MapChart {
|
|
|
7511
7653
|
*/
|
|
7512
7654
|
get map(): MapModel;
|
|
7513
7655
|
/**
|
|
7514
|
-
*
|
|
7656
|
+
* 맵차트 타이틀 모델.
|
|
7515
7657
|
*/
|
|
7516
7658
|
get title(): Title;
|
|
7517
7659
|
/**
|
|
7518
|
-
*
|
|
7660
|
+
* 맵차트 부제목 모델.
|
|
7519
7661
|
*/
|
|
7520
7662
|
get subtitle(): Subtitle;
|
|
7521
7663
|
/**
|
|
7522
|
-
*
|
|
7664
|
+
* 맵차트에 설정된 첫번째 시리즈.<br/>
|
|
7523
7665
|
* {@link guide.series 시리즈 개요} 및
|
|
7524
7666
|
* {@link config.base.series 시리즈 설정}을 참조한다.
|
|
7525
7667
|
*/
|
|
7526
7668
|
get series(): Series;
|
|
7527
7669
|
/**
|
|
7528
|
-
*
|
|
7670
|
+
* 맵차트에 설정된 첫번째 맵시리즈.<br/>
|
|
7529
7671
|
* {@link guide.series 시리즈 개요} 및
|
|
7530
7672
|
* {@link config.base.series 시리즈 설정}을 참조한다.
|
|
7531
7673
|
*/
|
|
@@ -7567,11 +7709,11 @@ declare class MapChart {
|
|
|
7567
7709
|
*/
|
|
7568
7710
|
get selection(): MapSelection;
|
|
7569
7711
|
/**
|
|
7570
|
-
*
|
|
7712
|
+
* 맵차트 내보내기 관련 설정 모델.
|
|
7571
7713
|
*/
|
|
7572
7714
|
get exporter(): Exporter;
|
|
7573
7715
|
/**
|
|
7574
|
-
*
|
|
7716
|
+
* 맵차트 축의 기준이 되는 맵 모델을 지정한다.<br/>
|
|
7575
7717
|
* 매개변수를 지정하지 않거나 잘못된 값을 넘기면 첫번째 enabled인 맵으로 설정된다.
|
|
7576
7718
|
*/
|
|
7577
7719
|
setBaseMap(indexOrName?: number | string): void;
|
|
@@ -7599,34 +7741,34 @@ declare class MapChart {
|
|
|
7599
7741
|
getAnnotation(name: string): Annotation;
|
|
7600
7742
|
/**
|
|
7601
7743
|
* 기존 모델 설정을 모두 제거하고 초기화 한 후,
|
|
7602
|
-
* config로 전달된 설정에 따라
|
|
7744
|
+
* config로 전달된 설정에 따라 맵차트를 새로 구성한다.<br/>
|
|
7603
7745
|
* 기존에 생성되었던 시리즈나 게이지들과 축들이 모두 제거되고 새로 생성된다.
|
|
7604
7746
|
*
|
|
7605
|
-
* @param config
|
|
7747
|
+
* @param config 맵차트 설정 정보
|
|
7606
7748
|
*/
|
|
7607
7749
|
load(config: ChartConfiguration, loadAnimation?: boolean, callback?: (param: LoadCallbackArgs) => void): MapChart;
|
|
7608
7750
|
/**
|
|
7609
7751
|
* load 메서드의 async 버전. <br/>
|
|
7610
7752
|
*
|
|
7611
7753
|
* 기존 모델 설정을 모두 제거하고 초기화 한 후,
|
|
7612
|
-
* config로 전달된 설정에 따라
|
|
7754
|
+
* config로 전달된 설정에 따라 맵차트를 새로 구성한다.<br/>
|
|
7613
7755
|
* 기존에 생성되었던 시리즈나 게이지들과 축들이 모두 제거되고 새로 생성된다.
|
|
7614
7756
|
*
|
|
7615
7757
|
* 또한 map과 series 옵션에 url 속성이 있는 경우, 해당 url에서 데이터를 가져온 다음, <br/>
|
|
7616
7758
|
* 각 옵션의 map 또는 data 속성을 채운다.
|
|
7617
7759
|
*
|
|
7618
|
-
* @param config
|
|
7760
|
+
* @param config 맵차트 설정 정보
|
|
7619
7761
|
*/
|
|
7620
7762
|
loadAsync(config: ChartConfiguration, loadAnimation?: boolean, callback?: () => void): Promise<MapChart>;
|
|
7621
7763
|
/**
|
|
7622
|
-
* {@link load}와 달리 기존 모델을 유지하면서
|
|
7764
|
+
* {@link load}와 달리 기존 모델을 유지하면서 맵차트 설정 일부를 반영한다.<br/>
|
|
7623
7765
|
*
|
|
7624
7766
|
* @param options 설정 객체
|
|
7625
7767
|
* @param render true로 지정하면 다시 그리도록 요청한다.
|
|
7626
7768
|
*/
|
|
7627
7769
|
updateOptions(options: ChartConfiguration, render?: boolean): void;
|
|
7628
7770
|
/**
|
|
7629
|
-
* 현재 표시 중인
|
|
7771
|
+
* 현재 표시 중인 맵차트를 PNG, JPG 또는 SVG 벡터 이미지로 다운로드한다.
|
|
7630
7772
|
*
|
|
7631
7773
|
* ```js
|
|
7632
7774
|
* chart.export({
|
|
@@ -7639,11 +7781,11 @@ declare class MapChart {
|
|
|
7639
7781
|
*/
|
|
7640
7782
|
export(options: ExportOptions): void;
|
|
7641
7783
|
/**
|
|
7642
|
-
* 다음 rendering frame을 기다리지 않고,
|
|
7643
|
-
*
|
|
7784
|
+
* 다음 rendering frame을 기다리지 않고, 맵차트를 즉시 다시 그린다.<br/>
|
|
7785
|
+
* 맵차트 rendering 작업은 자원 소모가 많고 소용 시간도 적지 않으므로,
|
|
7644
7786
|
* data나 여러 모델을 수정하는 경우 모든 작업이 완료된 후 한 번 호출해야 한다.
|
|
7645
7787
|
* 가능하면 이 함수는 호출하지 않고
|
|
7646
|
-
*
|
|
7788
|
+
* 맵차트 기본 동작(다음 frame에 이전 변경 사항들을 모아서 한 번 rendering)으로 실행되게 해야 한다.
|
|
7647
7789
|
*/
|
|
7648
7790
|
render(now?: boolean): void;
|
|
7649
7791
|
setParam(param: string, value: any, redraw?: boolean): void;
|
|
@@ -7663,7 +7805,7 @@ declare class MapChart {
|
|
|
7663
7805
|
*/
|
|
7664
7806
|
removeSeries(series: string | Series, animate?: boolean): void;
|
|
7665
7807
|
/**
|
|
7666
|
-
*
|
|
7808
|
+
* 맵차트 설정의 map.points로 지정한 위치를 리턴한다.
|
|
7667
7809
|
*
|
|
7668
7810
|
* @param id 포인트 키.
|
|
7669
7811
|
* @returns [lon, lat]
|
|
@@ -7694,7 +7836,7 @@ declare class Globals {
|
|
|
7694
7836
|
*/
|
|
7695
7837
|
static setLicenseKey(key: string): void;
|
|
7696
7838
|
/**
|
|
7697
|
-
* true로 지정하면
|
|
7839
|
+
* true로 지정하면 맵차트 요소별 디버그 경계를 표시한다.<br/>
|
|
7698
7840
|
* 기본은 false 상태다.
|
|
7699
7841
|
*
|
|
7700
7842
|
* ```js
|
|
@@ -7723,7 +7865,7 @@ declare class Globals {
|
|
|
7723
7865
|
*/
|
|
7724
7866
|
static setGlobals(globals: any): void;
|
|
7725
7867
|
/**
|
|
7726
|
-
*
|
|
7868
|
+
* 맵차트 설정 모델을 기반으로 svg를 생성한 후,
|
|
7727
7869
|
* 지정된 div 엘리먼트의 유일한 자식으로 포함시킨다.\
|
|
7728
7870
|
* div 전체 영역의 크기로 표시된다.
|
|
7729
7871
|
*
|
|
@@ -7733,14 +7875,14 @@ declare class Globals {
|
|
|
7733
7875
|
*
|
|
7734
7876
|
* @param doc
|
|
7735
7877
|
* @param container 컨트롤이 생성되는 div 엘리먼트나 id
|
|
7736
|
-
* @param config
|
|
7878
|
+
* @param config 맵차트 모델 설정 JSON
|
|
7737
7879
|
* @param animate 첫 로딩 animation을 실행한다.
|
|
7738
|
-
* @param callback
|
|
7739
|
-
* @returns 생성된
|
|
7880
|
+
* @param callback 맵차트가 모두 로드되고 첫 렌더링이 완료된 후 호출되는 콜백 함수.
|
|
7881
|
+
* @returns 생성된 맵차트 객체
|
|
7740
7882
|
*/
|
|
7741
7883
|
static createChart(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: (param: LoadCallbackArgs) => void): MapChart;
|
|
7742
7884
|
/**
|
|
7743
|
-
* 지도 파일이나 데이터가 URL을 통해 제공되는 경우, 데이터를 모두 로드한 뒤
|
|
7885
|
+
* 지도 파일이나 데이터가 URL을 통해 제공되는 경우, 데이터를 모두 로드한 뒤 맵차트를 생성하도록 비동기 처리할 수 있다.
|
|
7744
7886
|
*
|
|
7745
7887
|
* ```js
|
|
7746
7888
|
* const config = {
|
|
@@ -7756,16 +7898,16 @@ declare class Globals {
|
|
|
7756
7898
|
*
|
|
7757
7899
|
* @param doc
|
|
7758
7900
|
* @param container 컨트롤이 생성되는 div 엘리먼트나 id
|
|
7759
|
-
* @param config
|
|
7901
|
+
* @param config 맵차트 모델 설정 JSON
|
|
7760
7902
|
* @param animate 첫 로딩 animation을 실행한다.
|
|
7761
|
-
* @param callback
|
|
7762
|
-
* @returns 생성된
|
|
7903
|
+
* @param callback 맵차트가 모두 로드되고 첫 렌더링이 완료된 후 호출되는 콜백 함수.
|
|
7904
|
+
* @returns 생성된 맵차트 객체
|
|
7763
7905
|
*/
|
|
7764
7906
|
static createChartAsync(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: (param: LoadCallbackArgs) => void): Promise<MapChart>;
|
|
7765
7907
|
/**
|
|
7766
7908
|
* name에 해당하는 기본 제공 객체를 리턴한다.<br/>
|
|
7767
7909
|
*/
|
|
7768
|
-
static preset(name: string, info?: MapInsetDisplay): MapInset;
|
|
7910
|
+
static preset(name: string, info?: boolean | MapInsetDisplay): MapInset;
|
|
7769
7911
|
}
|
|
7770
7912
|
|
|
7771
7913
|
/**
|
|
@@ -8085,8 +8227,6 @@ declare class PolyLineElement extends PathElement {
|
|
|
8085
8227
|
setLines(pts: (number | MapCoord | IPoint)[], curved: boolean): void;
|
|
8086
8228
|
}
|
|
8087
8229
|
|
|
8088
|
-
type ShapeDrawer = (rd: number, rd2: number) => (string | number)[];
|
|
8089
|
-
|
|
8090
8230
|
declare class HoverAnimation extends RmAnimation {
|
|
8091
8231
|
private _series;
|
|
8092
8232
|
_focused: boolean;
|
|
@@ -8563,7 +8703,6 @@ declare class BubbleSeriesPoint extends MarkerSeriesPoint {
|
|
|
8563
8703
|
labelCount(): number;
|
|
8564
8704
|
protected _readObject(series: ISeries<BubbleSeriesPoint>, v: any): void;
|
|
8565
8705
|
protected _valuesChanged(prev: any): boolean;
|
|
8566
|
-
protected _assignTo(proxy: any): void;
|
|
8567
8706
|
}
|
|
8568
8707
|
/**
|
|
8569
8708
|
* Bubble 시리즈 모델.<br/>
|
|
@@ -8597,7 +8736,7 @@ declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
|
|
|
8597
8736
|
pointLabelCount(): number;
|
|
8598
8737
|
getPointLabels(): DataPointLabel<DataPointLabelOptions>[];
|
|
8599
8738
|
protected _createPoint(source: any): BubbleSeriesPoint;
|
|
8600
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
8739
|
+
protected _doPrepareRender(chart: IChart, op: BubbleSeriesOptions): void;
|
|
8601
8740
|
}
|
|
8602
8741
|
|
|
8603
8742
|
declare class CircleGaugeItem<OP extends ChartItemOptions> extends ChartItem<OP> {
|
|
@@ -9021,7 +9160,7 @@ declare class PieSeries extends SparkSeries<PieSeriesOptions> {
|
|
|
9021
9160
|
protected _createPoint(source: any): PieSeriesPoint;
|
|
9022
9161
|
protected _defLabelOff(): number;
|
|
9023
9162
|
protected _doApply(options: PieSeriesOptions): void;
|
|
9024
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
9163
|
+
protected _doPrepareRender(chart: IChart, op: PieSeriesOptions): void;
|
|
9025
9164
|
private $_parseThresholds;
|
|
9026
9165
|
}
|
|
9027
9166
|
|
|
@@ -9068,7 +9207,7 @@ declare class PinSeries extends MarkerSeries<PinSeriesOptions> {
|
|
|
9068
9207
|
max: number;
|
|
9069
9208
|
};
|
|
9070
9209
|
getRangedColor(p: PinSeriesPoint): string;
|
|
9071
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
9210
|
+
protected _doPrepareRender(chart: IChart, op: PinSeriesOptions): void;
|
|
9072
9211
|
}
|
|
9073
9212
|
|
|
9074
9213
|
/**
|
|
@@ -9171,7 +9310,7 @@ declare class WaffleSeries extends SparkSeries<WaffleSeriesOptions> {
|
|
|
9171
9310
|
hCell: number;
|
|
9172
9311
|
gap: number;
|
|
9173
9312
|
};
|
|
9174
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
9313
|
+
protected _doPrepareRender(chart: IChart, op: WaffleSeriesOptions): void;
|
|
9175
9314
|
private $_caculate;
|
|
9176
9315
|
private $_rows;
|
|
9177
9316
|
private $_cols;
|
|
@@ -9246,7 +9385,7 @@ declare class HtmlAnnotation extends Annotation<HtmlAnnotationOptions> {
|
|
|
9246
9385
|
private $_apply;
|
|
9247
9386
|
protected _isVisible(): boolean;
|
|
9248
9387
|
protected _doSetSimple(op: HtmlAnnotationOptions, src: any): boolean;
|
|
9249
|
-
protected _doPrepareRender(chart: IChart): void;
|
|
9388
|
+
protected _doPrepareRender(chart: IChart, op: HtmlAnnotationOptions): void;
|
|
9250
9389
|
}
|
|
9251
9390
|
|
|
9252
9391
|
declare abstract class SeriesAnimation {
|