realmap 1.0.9 → 1.0.10
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.d.ts +18 -19
- package/chart.js +2 -2
- package/chart.mjs +2 -2
- package/editing.d.ts +2 -0
- package/editing.js +7 -0
- package/editing.mjs +7 -0
- 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 +842 -354
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +6 -6
- package/realmap-style.css +70 -6
- 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/editor.d.ts +0 -6
- package/editor.js +0 -7
- package/editor.mjs +0 -7
package/index.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ interface ISides {
|
|
|
133
133
|
*
|
|
134
134
|
* @see {@link RtListControl.onRowSwipe}
|
|
135
135
|
*/
|
|
136
|
-
declare enum
|
|
136
|
+
declare enum RmDirection {
|
|
137
137
|
/**
|
|
138
138
|
* 위쪽으로 진행.
|
|
139
139
|
*/
|
|
@@ -284,6 +284,10 @@ declare const _ChartItemLocation: {
|
|
|
284
284
|
};
|
|
285
285
|
/** @dummy */
|
|
286
286
|
type ChartItemLocation = typeof _ChartItemLocation[keyof typeof _ChartItemLocation];
|
|
287
|
+
/**
|
|
288
|
+
* 구성 요소 위치.<br/>
|
|
289
|
+
*/
|
|
290
|
+
type Positions = 'top' | 'right' | 'bottom' | 'left';
|
|
287
291
|
interface ConfigObject {
|
|
288
292
|
[key: string]: any;
|
|
289
293
|
}
|
|
@@ -495,14 +499,28 @@ interface MapSource {
|
|
|
495
499
|
*/
|
|
496
500
|
dokdo?: number | MapCoord;
|
|
497
501
|
/**
|
|
498
|
-
* dummy 영역들을 표시할지
|
|
502
|
+
* dummy 영역들을 표시할지 여부.<br/>
|
|
499
503
|
*/
|
|
500
504
|
showDummies?: boolean;
|
|
501
505
|
/**
|
|
502
506
|
* @ignore
|
|
503
|
-
* 로컬 지도가 글로벌 투영좌표계 중앙으로 배치할지
|
|
507
|
+
* 로컬 지도가 글로벌 투영좌표계 중앙으로 배치할지 여부.<br/>
|
|
508
|
+
* 첫번째 기준 map에만 설절할 수 있다.
|
|
504
509
|
*/
|
|
505
510
|
useOffset?: boolean | MapCoord;
|
|
511
|
+
/**
|
|
512
|
+
* 내부 경계(internal boundary)선 정보를 생성할 지 여부.<br/>
|
|
513
|
+
*/
|
|
514
|
+
needInternal?: boolean;
|
|
515
|
+
/**
|
|
516
|
+
* {@page needInternal 내부 경계선}에서 제외할 영역 목록.<br/>
|
|
517
|
+
*/
|
|
518
|
+
excludeInternal?: string[];
|
|
519
|
+
/**
|
|
520
|
+
* 부극 취고위까지 지도에 포함되면 90도까지 그려진 것으로 간주한다.<br/>
|
|
521
|
+
* 명시적 false로 지정하면 계산된 영역까지만 포함한다.
|
|
522
|
+
*/
|
|
523
|
+
alignArctic?: boolean;
|
|
506
524
|
}
|
|
507
525
|
declare abstract class MapSourceItem {
|
|
508
526
|
id: string;
|
|
@@ -512,10 +530,13 @@ declare abstract class MapSourceItem {
|
|
|
512
530
|
declare class AreaItem extends MapSourceItem {
|
|
513
531
|
polygon: MapPolygon;
|
|
514
532
|
polygons: MapPolygon[];
|
|
533
|
+
internal?: MapPolygon[];
|
|
534
|
+
internals?: MapPolygon[][];
|
|
515
535
|
dummy: boolean;
|
|
516
536
|
}
|
|
517
537
|
declare abstract class MapSourceImpl extends RmObject {
|
|
518
538
|
static createStockInset(area: string, display?: MapInsetDisplay): MapInset;
|
|
539
|
+
private _index;
|
|
519
540
|
readonly name: string;
|
|
520
541
|
readonly enabled: boolean;
|
|
521
542
|
readonly idKey: string;
|
|
@@ -524,16 +545,18 @@ declare abstract class MapSourceImpl extends RmObject {
|
|
|
524
545
|
readonly dokdo: number;
|
|
525
546
|
readonly dummies: string[];
|
|
526
547
|
readonly useOffset: boolean | MapCoord;
|
|
548
|
+
readonly internals: boolean;
|
|
549
|
+
readonly alignArctic: boolean;
|
|
527
550
|
items: MapSourceItem[];
|
|
528
551
|
insets: {
|
|
529
552
|
[area: string]: MapInset;
|
|
530
553
|
};
|
|
531
554
|
paddings: IPaddings;
|
|
532
555
|
private _excludes;
|
|
533
|
-
constructor(
|
|
556
|
+
constructor(options: MapSource, index: number);
|
|
534
557
|
included(area: string): boolean;
|
|
535
558
|
private $_load;
|
|
536
|
-
protected abstract _doLoad(source: object): MapSourceItem[];
|
|
559
|
+
protected abstract _doLoad(source: object, options: MapSource): MapSourceItem[];
|
|
537
560
|
}
|
|
538
561
|
|
|
539
562
|
/**
|
|
@@ -561,7 +584,7 @@ interface AnnotationAnimationOptions {
|
|
|
561
584
|
type: string;
|
|
562
585
|
duration?: number;
|
|
563
586
|
}
|
|
564
|
-
type AnnotationType = 'image' | 'shape' | 'text' | 'html';
|
|
587
|
+
type AnnotationType = 'image' | 'shape' | 'text' | 'html' | 'chart';
|
|
565
588
|
/**
|
|
566
589
|
* Annotation 모델.<br/>
|
|
567
590
|
*
|
|
@@ -842,8 +865,26 @@ interface HtmlAnnotationOptions extends AnnotationOptions {
|
|
|
842
865
|
* @default 100
|
|
843
866
|
*/
|
|
844
867
|
width?: PercentSize;
|
|
868
|
+
/**
|
|
869
|
+
* {@page html}로 지정된 html 텍스트에 포함된 param 값을 지정하는 객체나 콜백. #311<br/>
|
|
870
|
+
*/
|
|
871
|
+
params?: {
|
|
872
|
+
[key: string]: any;
|
|
873
|
+
} | ((param: string) => any);
|
|
874
|
+
}
|
|
875
|
+
declare const ChartAnnotationType = "chart";
|
|
876
|
+
/**
|
|
877
|
+
* Chart 어노테이션.<br/>
|
|
878
|
+
* {@page op.AnnotationOptions#type}은 'chart'이다.<br/>
|
|
879
|
+
*
|
|
880
|
+
* @css 'rm-chart-annotation'
|
|
881
|
+
* @config chart.annotation[type=chart]
|
|
882
|
+
*/
|
|
883
|
+
interface ChartAnnotationOptions extends AnnotationOptions {
|
|
884
|
+
type?: typeof ChartAnnotationType;
|
|
885
|
+
config?: any;
|
|
845
886
|
}
|
|
846
|
-
type AnnotationOptionsType = ImageAnnotationOptions | ShapeAnnotationOptions | TextAnnotationOptions | HtmlAnnotationOptions;
|
|
887
|
+
type AnnotationOptionsType = ImageAnnotationOptions | ShapeAnnotationOptions | TextAnnotationOptions | HtmlAnnotationOptions | ChartAnnotationOptions;
|
|
847
888
|
|
|
848
889
|
/**
|
|
849
890
|
* @enum
|
|
@@ -917,6 +958,12 @@ declare const _DragAction: {
|
|
|
917
958
|
readonly ZOOM: "zoom";
|
|
918
959
|
};
|
|
919
960
|
type DragAction = typeof _DragAction[keyof typeof _DragAction];
|
|
961
|
+
interface OnClickArgs extends CommonCallbackArgs {
|
|
962
|
+
x: number;
|
|
963
|
+
y: number;
|
|
964
|
+
coord: MapCoord;
|
|
965
|
+
area?: string;
|
|
966
|
+
}
|
|
920
967
|
/**
|
|
921
968
|
* 차트 전체에 영향을 미치는 옵션들.<br />
|
|
922
969
|
*
|
|
@@ -952,12 +999,29 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
952
999
|
* 스타일 속성은 svg가 아니라 html css 속성들로 지정한다.
|
|
953
1000
|
*/
|
|
954
1001
|
backgroundStyle?: CSSStyles;
|
|
1002
|
+
/**
|
|
1003
|
+
* legend, color scale 등의 위젯들이 표시되는 영역과 body 사이의 간격.<br/>
|
|
1004
|
+
* 숫자 값이나 css margin 지정 방식의 문자열로 지정할 수 있다.
|
|
1005
|
+
*
|
|
1006
|
+
* @default 8
|
|
1007
|
+
*/
|
|
1008
|
+
widgetSectionGap?: number | string;
|
|
1009
|
+
/**
|
|
1010
|
+
* legend, color scale 등의 위젯들이 표시되는 영역 내에서 위젯 사이의 간격.<br/>
|
|
1011
|
+
*
|
|
1012
|
+
* @default 8
|
|
1013
|
+
*/
|
|
1014
|
+
widgetGap?: number;
|
|
955
1015
|
/**
|
|
956
1016
|
* div의 크기가 변경될 때, 차트를 해당 크기에 맞게 조정할지 여부
|
|
957
1017
|
*
|
|
958
1018
|
* @default false
|
|
959
1019
|
*/
|
|
960
1020
|
domResize?: boolean;
|
|
1021
|
+
/**
|
|
1022
|
+
* 마우스 포인터가 클릭됐을 때 호출되는 콜백.<br/>
|
|
1023
|
+
*/
|
|
1024
|
+
onClick?: (args: OnClickArgs) => void;
|
|
961
1025
|
/**
|
|
962
1026
|
* 선택 변경 시 호출되는 콜백.<br/>
|
|
963
1027
|
*/
|
|
@@ -1445,6 +1509,12 @@ interface BodyOptions extends ChartItemOptions {
|
|
|
1445
1509
|
* 0보다 큰 값이면 중점이 아시아쪽으로 이동한다.
|
|
1446
1510
|
*/
|
|
1447
1511
|
scroll?: number;
|
|
1512
|
+
/**
|
|
1513
|
+
* 마우스 드래그로 panX/panY 를 변경할 수 있는 지 여부.<br/>
|
|
1514
|
+
* 명시적 false로 지정하면 드래그로 이동시킬 수 없다.
|
|
1515
|
+
* 초기 {@page zoom}을 설정하고 그 위치를 유지하려 할 때 사용할 수 있다.
|
|
1516
|
+
*/
|
|
1517
|
+
movable?: boolean;
|
|
1448
1518
|
/**
|
|
1449
1519
|
* 지도 중심으로부터 경도상으로 벗어난 지도 단위 크기. 양수이면 왼쪽으로 스크롤 된 상태
|
|
1450
1520
|
*/
|
|
@@ -1529,8 +1599,7 @@ interface ChartTextOptions extends ChartItemOptions {
|
|
|
1529
1599
|
*/
|
|
1530
1600
|
backgroundStyle?: SVGStyleOrClass;
|
|
1531
1601
|
/**
|
|
1532
|
-
* 텍스트가 data point 내부에 표시되는 경우 포인트 색상과 대조되도록
|
|
1533
|
-
* <br>
|
|
1602
|
+
* 텍스트가 data point 내부에 표시되는 경우 포인트 색상과 대조되도록 표시한다.<br/>
|
|
1534
1603
|
* 밝게 표시할 때는 {@link lightStyle}을 적용하고,
|
|
1535
1604
|
* 어둡게 표시할 때는 {@link darkStyle}이 적용된다.
|
|
1536
1605
|
* lightStyle이 지정되지 않으면 'rm-text-light'이,
|
|
@@ -1540,29 +1609,28 @@ interface ChartTextOptions extends ChartItemOptions {
|
|
|
1540
1609
|
autoContrast?: boolean;
|
|
1541
1610
|
outlineThickness?: number;
|
|
1542
1611
|
/**
|
|
1543
|
-
* label 문자열 앞에 추가되는
|
|
1544
|
-
*
|
|
1612
|
+
* label 문자열 앞에 추가되는 문자열.<br/>
|
|
1545
1613
|
*/
|
|
1546
1614
|
prefix?: string;
|
|
1547
1615
|
/**
|
|
1548
|
-
* label 문자열 끝에 추가되는
|
|
1549
|
-
*
|
|
1616
|
+
* label 문자열 끝에 추가되는 문자열.<br/>
|
|
1550
1617
|
*/
|
|
1551
1618
|
suffix?: string;
|
|
1552
1619
|
/**
|
|
1553
1620
|
* 축의 tick 간격이 1000 이상인 큰 수를 표시할 때
|
|
1554
|
-
* 이 속성에 지정한 symbol을 이용해서 축약형으로
|
|
1621
|
+
* 이 속성에 지정한 symbol을 이용해서 축약형으로 표시한다.<br/>
|
|
1555
1622
|
*
|
|
1623
|
+
* @default 'k,M,G,T,P,E'
|
|
1556
1624
|
*/
|
|
1557
1625
|
numberSymbols?: string;
|
|
1558
1626
|
/**
|
|
1559
1627
|
* label이 숫자일 때 표시 형식.
|
|
1560
1628
|
*
|
|
1629
|
+
* @default '#,##0.#'
|
|
1561
1630
|
*/
|
|
1562
1631
|
numberFormat?: string;
|
|
1563
1632
|
/**
|
|
1564
|
-
* rich text format을 지정할 수
|
|
1565
|
-
*
|
|
1633
|
+
* rich text format을 지정할 수 있다.<br/>
|
|
1566
1634
|
*/
|
|
1567
1635
|
text?: string;
|
|
1568
1636
|
lineHeight?: number;
|
|
@@ -1593,6 +1661,129 @@ interface IconedTextOptions extends ChartTextOptions {
|
|
|
1593
1661
|
width?: number;
|
|
1594
1662
|
height?: number;
|
|
1595
1663
|
}
|
|
1664
|
+
/**
|
|
1665
|
+
* 범례나 scale의 타이틀이나 footer의 위치.<br/>
|
|
1666
|
+
*
|
|
1667
|
+
* @enum
|
|
1668
|
+
*/
|
|
1669
|
+
declare const MapWidgetCaptionDisplays: {
|
|
1670
|
+
/**
|
|
1671
|
+
* 범례나 scale 항목들의 배치에 따라 자동 배치한다.<br/>
|
|
1672
|
+
* 항목들이 수직 배치이면 'stack', 수평 배치이면 'inline'이 적용된다.
|
|
1673
|
+
*/
|
|
1674
|
+
readonly AUTO: "auto";
|
|
1675
|
+
/**
|
|
1676
|
+
* 타이틀이나 footer를 항목들의 위/아래에 배치한다.
|
|
1677
|
+
*/
|
|
1678
|
+
readonly STACK: "stack";
|
|
1679
|
+
/**
|
|
1680
|
+
* 타이틀이나 footer를 항목들의 좌/우에 배치한다.
|
|
1681
|
+
*/
|
|
1682
|
+
readonly INLINE: "inline";
|
|
1683
|
+
};
|
|
1684
|
+
/** @dummy */
|
|
1685
|
+
type MapWidgetCaptionDisplay = typeof MapWidgetCaptionDisplays[keyof typeof MapWidgetCaptionDisplays];
|
|
1686
|
+
/**
|
|
1687
|
+
* 범례나 scale의 title 설정 옵션.<br/>
|
|
1688
|
+
*/
|
|
1689
|
+
interface MapWidgetCaptionOptions extends IconedTextOptions {
|
|
1690
|
+
/**
|
|
1691
|
+
* 타이틀 표시 위치.<br/>
|
|
1692
|
+
*/
|
|
1693
|
+
display?: MapWidgetCaptionDisplay;
|
|
1694
|
+
/**
|
|
1695
|
+
* 타이틀과 범례 아이템들 사이의 간격.<br/>
|
|
1696
|
+
* 타당한 값으로 지정하지 않으면 {@page display}가 'linine'이 될 때 10, 아니면 5 픽셀로 적용된다.
|
|
1697
|
+
*/
|
|
1698
|
+
gap?: number;
|
|
1699
|
+
/**
|
|
1700
|
+
* {@page display}가 'stack'가 될 때 수평 배치.<br/>
|
|
1701
|
+
* 지정하지 않거나 잘못 지정하면 'left'로 적용된다.
|
|
1702
|
+
*/
|
|
1703
|
+
align?: Align;
|
|
1704
|
+
/**
|
|
1705
|
+
* {@page display}가 'inline'이 될 때 수직 배치.<br/>
|
|
1706
|
+
* 지정하지 않거나 잘못 지정하면 'middle'로 적용된다.
|
|
1707
|
+
*/
|
|
1708
|
+
verticalAlign?: VerticalAlign;
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* 범례나 scale의 배경 설정 옵션.<br/>
|
|
1712
|
+
*/
|
|
1713
|
+
interface MapWidgetBackgroundOptions extends ChartItemOptions {
|
|
1714
|
+
}
|
|
1715
|
+
interface MapWidgetOptions extends ChartItemOptions {
|
|
1716
|
+
/**
|
|
1717
|
+
* 시리즈에서 참조하는 범례나 스케일 이름.<br/>
|
|
1718
|
+
*/
|
|
1719
|
+
name?: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* 그룹 내에서 배치 순서.<br/>
|
|
1722
|
+
* 값을 지정하지 않거나 잘못 지정하면 마자믹에 배치된다.
|
|
1723
|
+
*/
|
|
1724
|
+
order?: number;
|
|
1725
|
+
/**
|
|
1726
|
+
* 범례나 scale의 타이틀 설정 옵션.<br/>
|
|
1727
|
+
*/
|
|
1728
|
+
title?: MapWidgetCaptionOptions;
|
|
1729
|
+
/**
|
|
1730
|
+
* 범례나 scale의 footer 설정 옵션.<br/>
|
|
1731
|
+
*/
|
|
1732
|
+
footer?: MapWidgetCaptionOptions;
|
|
1733
|
+
/**
|
|
1734
|
+
* 범례나 scale의 배경 설정 옵션.<br/>
|
|
1735
|
+
*/
|
|
1736
|
+
background?: MapWidgetBackgroundOptions;
|
|
1737
|
+
/**
|
|
1738
|
+
* 범례나 scale 표시 위치.<br/>
|
|
1739
|
+
*
|
|
1740
|
+
* @default 'bottom'
|
|
1741
|
+
*/
|
|
1742
|
+
location?: ChartItemLocation;
|
|
1743
|
+
/**
|
|
1744
|
+
* 범례 또는 scale과 (location이 body일 때)body 또는 차트 경계 사이의 수평 간격.<br/>
|
|
1745
|
+
*
|
|
1746
|
+
* @default 0
|
|
1747
|
+
*/
|
|
1748
|
+
offsetX?: number;
|
|
1749
|
+
/**
|
|
1750
|
+
* 범례 또는 scale과 (location이 body일 때)body 또는 차트 경계 사이의 수직 간격.<br/>
|
|
1751
|
+
*
|
|
1752
|
+
* @default 0
|
|
1753
|
+
*/
|
|
1754
|
+
offsetY?: number;
|
|
1755
|
+
/**
|
|
1756
|
+
* 수평 배치.<br/>
|
|
1757
|
+
* 값을 지정하지 않으면, 기본값이 {@link location}이 'body'일 때는 'left',
|
|
1758
|
+
* 'left', 'right'일 때는 'center'이다.
|
|
1759
|
+
*/
|
|
1760
|
+
align?: Align;
|
|
1761
|
+
/**
|
|
1762
|
+
* 수직 배치.<br/>
|
|
1763
|
+
* 값을 지정하지 않으면, 기본값이 {@link location}이 'body'일 때는 'top',
|
|
1764
|
+
* 'top', 'bottom'일 때는 'middle'이다.
|
|
1765
|
+
*/
|
|
1766
|
+
verticalAlign?: VerticalAlign;
|
|
1767
|
+
}
|
|
1768
|
+
interface MapSimpleWidgetOptions extends MapWidgetOptions {
|
|
1769
|
+
/**
|
|
1770
|
+
* 이 위젯이 표시될 위젯 그룹 이름.<br/>
|
|
1771
|
+
* 그룹에 포함되지 않은 위젯은 {@page location} 설정에 따라 위젯 섹션이나 body 영역에 표시된다.
|
|
1772
|
+
*/
|
|
1773
|
+
group?: string;
|
|
1774
|
+
}
|
|
1775
|
+
/**
|
|
1776
|
+
* 범례 및 scale 등의 위젯들을 한 방향으로 배치하는 그룹 설정 옵션.<br/>
|
|
1777
|
+
* 위젯의 order 속성으로 배치 순서를 결정한다.
|
|
1778
|
+
*/
|
|
1779
|
+
interface MapWidgetGroupOptions extends MapWidgetOptions {
|
|
1780
|
+
/**
|
|
1781
|
+
* 포함된 위젯들 배치 방향.<br/>
|
|
1782
|
+
*
|
|
1783
|
+
* @default 'vertical'
|
|
1784
|
+
*/
|
|
1785
|
+
direction?: 'vertical' | 'horizontal';
|
|
1786
|
+
}
|
|
1596
1787
|
/**
|
|
1597
1788
|
* DataPointCallbackArgs
|
|
1598
1789
|
*/
|
|
@@ -1906,6 +2097,7 @@ declare class Sides {
|
|
|
1906
2097
|
static createFrom(value: string): Sides;
|
|
1907
2098
|
constructor(top?: number, bottom?: number, left?: number, right?: number);
|
|
1908
2099
|
clone(): Sides;
|
|
2100
|
+
set(...values: number[]): void;
|
|
1909
2101
|
applyPadding(cs: CSSStyleDeclaration): Sides;
|
|
1910
2102
|
applyMargin(cs: CSSStyleDeclaration): Sides;
|
|
1911
2103
|
shrink(r: IRect): IRect;
|
|
@@ -1997,7 +2189,7 @@ declare class RmTool<T extends RmControl = RmControl> {
|
|
|
1997
2189
|
protected _doLongPressed(dom: Element, x: number, y: number): void;
|
|
1998
2190
|
protected _doKeyPress(ev: KeyboardEvent): void;
|
|
1999
2191
|
protected _doWheel(ev: WheelEvent): boolean;
|
|
2000
|
-
protected _doSwipe(dom: Element, prevTracker: DragTracker, dir:
|
|
2192
|
+
protected _doSwipe(dom: Element, prevTracker: DragTracker, dir: RmDirection, duration: number, distance: number): boolean;
|
|
2001
2193
|
protected _getDragTracker(dom: Element, dx: number, dy: number): DragTracker;
|
|
2002
2194
|
private $_startDrag;
|
|
2003
2195
|
private $_drag;
|
|
@@ -2029,9 +2221,9 @@ declare abstract class DragTracker<T extends RmControl = RmControl> extends RmOb
|
|
|
2029
2221
|
drag(eventTarget: Element, xPrev: number, yPrev: number, x: number, y: number): boolean;
|
|
2030
2222
|
cancel(): void;
|
|
2031
2223
|
drop(eventTarget: HTMLElement, x: number, y: number): void;
|
|
2032
|
-
swipe(dir:
|
|
2224
|
+
swipe(dir: RmDirection, duration: number, distance: number): boolean;
|
|
2033
2225
|
end(x?: number, y?: number): void;
|
|
2034
|
-
protected _doSwipe(dir:
|
|
2226
|
+
protected _doSwipe(dir: RmDirection, duration: number, distance: number): boolean;
|
|
2035
2227
|
protected _showFeedback(x: number, y: number): void;
|
|
2036
2228
|
protected _moveFeedback(x: number, y: number): void;
|
|
2037
2229
|
protected _hideFeedback(): void;
|
|
@@ -2052,6 +2244,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
2052
2244
|
static readonly CLASS_NAME = "rm-control";
|
|
2053
2245
|
static readonly SHADOW_FILTER = "rm-shadow-filter";
|
|
2054
2246
|
private _activeTool;
|
|
2247
|
+
static _animatable: boolean;
|
|
2055
2248
|
private _container;
|
|
2056
2249
|
private _dom;
|
|
2057
2250
|
private _htmlRoot;
|
|
@@ -2090,9 +2283,6 @@ declare abstract class RmControl extends RmObject {
|
|
|
2090
2283
|
activeTool(): RmTool;
|
|
2091
2284
|
setSctiveTool(value: RmTool): void;
|
|
2092
2285
|
clearDefs(): void;
|
|
2093
|
-
private $_clearDefs;
|
|
2094
|
-
clearAssetDefs(): void;
|
|
2095
|
-
clearTemporaryDefs(): void;
|
|
2096
2286
|
appendDom<T extends HTMLElement>(elt: T): T;
|
|
2097
2287
|
addElement<T extends RmElement>(elt: T): T;
|
|
2098
2288
|
removeElement(elt: RmElement): void;
|
|
@@ -2114,6 +2304,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
2114
2304
|
*/
|
|
2115
2305
|
clipBounds(x?: number, y?: number, width?: number, height?: number, rd?: number): ClipRectElement;
|
|
2116
2306
|
clip<T extends ClipElement>(clip: T): T;
|
|
2307
|
+
pointerToPoint(event: PointerEvent): IPoint;
|
|
2117
2308
|
protected _setTesting(): void;
|
|
2118
2309
|
protected _setSize(w: number, h: number): void;
|
|
2119
2310
|
private $_addListener;
|
|
@@ -2621,7 +2812,6 @@ interface DataPointLabelOptions extends IconedTextOptions {
|
|
|
2621
2812
|
textCallback?: (point: any) => string;
|
|
2622
2813
|
/**
|
|
2623
2814
|
* 데이터 포인트별 label 표시 여부를 리턴하는 콜백.
|
|
2624
|
-
*
|
|
2625
2815
|
*/
|
|
2626
2816
|
visibleCallback?: (point: any) => boolean;
|
|
2627
2817
|
/**
|
|
@@ -2806,11 +2996,12 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2806
2996
|
tooltipText?: string | boolean;
|
|
2807
2997
|
tooltipCallback?: (args: any) => string;
|
|
2808
2998
|
/**
|
|
2809
|
-
*
|
|
2999
|
+
* 이 시리즈가 연결된 legend를 index나 이름으로 지정한다.<br/>
|
|
3000
|
+
* -1 등 잘못된 값을 지정하면 legend에 표시되지 않는다.
|
|
2810
3001
|
*
|
|
2811
|
-
* @default
|
|
3002
|
+
* @default 0
|
|
2812
3003
|
*/
|
|
2813
|
-
|
|
3004
|
+
legend?: number | string;
|
|
2814
3005
|
/**
|
|
2815
3006
|
* @ignore 미구현
|
|
2816
3007
|
* 차트 설정 로드 시 실행되는 animation 종류.
|
|
@@ -2891,6 +3082,11 @@ interface SparkSeriesOptions extends ValueSeriesOptions {
|
|
|
2891
3082
|
* 또, {@page legendByCategory}가 true이면 여기에 지정된 색상별로 legend에 표시된다.
|
|
2892
3083
|
*/
|
|
2893
3084
|
categories?: SparkSeriesCategory[];
|
|
3085
|
+
/**
|
|
3086
|
+
* 데이터포인트 값들을 가져올 필드 목록.<br/>
|
|
3087
|
+
* 이 속성이 지정되면 {@page valueField}는 무시된다.
|
|
3088
|
+
*/
|
|
3089
|
+
valueFields?: string[];
|
|
2894
3090
|
/**
|
|
2895
3091
|
* true로 지정되고 {@page categories}가 지정되면
|
|
2896
3092
|
* 차트 legend에 category별로 항목이 표시된다.
|
|
@@ -2970,6 +3166,11 @@ declare const _DataPointValueDomain: {
|
|
|
2970
3166
|
/** @dummy */
|
|
2971
3167
|
type DataPointValueDomain = typeof _DataPointValueDomain[keyof typeof _DataPointValueDomain];
|
|
2972
3168
|
interface OrthogonalSparkSeriesOptions extends SparkSeriesOptions {
|
|
3169
|
+
/**
|
|
3170
|
+
* @ignore 미구현
|
|
3171
|
+
* true면 수평 방향으로 표시한다.
|
|
3172
|
+
*/
|
|
3173
|
+
inverted?: boolean;
|
|
2973
3174
|
/**
|
|
2974
3175
|
* 기준선 설정 옵션.<br/>
|
|
2975
3176
|
*/
|
|
@@ -3033,14 +3234,10 @@ interface BarSeriesOptions extends OrthogonalSparkSeriesOptions {
|
|
|
3033
3234
|
* sub label 설정 모델.
|
|
3034
3235
|
*/
|
|
3035
3236
|
subLabel?: DataPointLabelOptions | boolean;
|
|
3036
|
-
/**
|
|
3037
|
-
* @ignore 미구현
|
|
3038
|
-
* true면 수평 방향으로 표시한다.
|
|
3039
|
-
*/
|
|
3040
|
-
inverted?: boolean;
|
|
3041
3237
|
/**
|
|
3042
3238
|
* 바 너비.<br/>
|
|
3043
|
-
*
|
|
3239
|
+
* 차트에 bar 하나가 차지히는 원래 너비에서 실제 표시되는 바 너비의 상대적 크기로 지정한다.
|
|
3240
|
+
* 1보다 큰 경우 bar들이 겹치게 되는데 {@page overflow}가 true가 아니면 넘치지 않도록 최대한 차트 안쪽으로 밀어서 표시된다.
|
|
3044
3241
|
*
|
|
3045
3242
|
* @default 0.7
|
|
3046
3243
|
*/
|
|
@@ -3054,6 +3251,20 @@ interface BarSeriesOptions extends OrthogonalSparkSeriesOptions {
|
|
|
3054
3251
|
* {@page baseValue} 혹은 y축의 baseValue보다 작은 쪽의 point들에 적용되는 스타일.
|
|
3055
3252
|
*/
|
|
3056
3253
|
belowStyle?: SVGStyleOrClass;
|
|
3254
|
+
/**
|
|
3255
|
+
* true로 지정하면 {@page barWidth}가 1보다 큰 경우 bar가 차트 너비를 넘어 표시된다.<br/>
|
|
3256
|
+
* false면 최대한 차트 영역 내로 밀어서 표시한다.
|
|
3257
|
+
*
|
|
3258
|
+
* @default false
|
|
3259
|
+
*/
|
|
3260
|
+
overflow?: boolean;
|
|
3261
|
+
/**
|
|
3262
|
+
* bar 표시 순서.<br/>
|
|
3263
|
+
* ex) 'reverse'로 지정하면 첫번째 bar가 두번째 bar 위에 표시된다.
|
|
3264
|
+
*
|
|
3265
|
+
* @default 'normal'
|
|
3266
|
+
*/
|
|
3267
|
+
barOrder?: 'normal' | 'reverse';
|
|
3057
3268
|
}
|
|
3058
3269
|
/**
|
|
3059
3270
|
* line 시리즈의 fill 영역 설정.<br/>
|
|
@@ -3082,6 +3293,19 @@ interface LineSeriesOptions extends OrthogonalSparkSeriesOptions {
|
|
|
3082
3293
|
area?: LineSeriesAreaOptions;
|
|
3083
3294
|
curved?: boolean;
|
|
3084
3295
|
}
|
|
3296
|
+
/**
|
|
3297
|
+
* 파이 섹터 무시 경계 값 및 속성 설정.<br/>
|
|
3298
|
+
* 데이터포인트 values의 총 합이 지정된 value보다 작을 때
|
|
3299
|
+
* 파이 섹터들을 별도로 표시하지 않고 지정한 크기와 스타일의 원 또는 섹터 하나로 표시한다.<br/>
|
|
3300
|
+
*/
|
|
3301
|
+
interface PieSeriesThreshold {
|
|
3302
|
+
value?: number;
|
|
3303
|
+
/**
|
|
3304
|
+
* 지정하지 않으면 원래 크기대로 표시한다.
|
|
3305
|
+
*/
|
|
3306
|
+
radius?: number;
|
|
3307
|
+
style?: SVGStyleOrClass;
|
|
3308
|
+
}
|
|
3085
3309
|
declare const PieSeriesType = "pie";
|
|
3086
3310
|
/**
|
|
3087
3311
|
* 데이터포인트의 **'value'** 속성으로 지정된 값들을 파이(pie) 차트로 표시한다.<br/>
|
|
@@ -3099,7 +3323,7 @@ interface PieSeriesOptions extends SparkSeriesOptions {
|
|
|
3099
3323
|
* 파이 반지름.<br/>
|
|
3100
3324
|
* 숫자나 '%'로 끝나는 백분율로 지정할 수 있다.
|
|
3101
3325
|
* 백분율로 지정하면 {@page body} 영역의 높이/너비 중 작은 크기에 대한 상대 크기로 지정된다.
|
|
3102
|
-
* 또, {@page
|
|
3326
|
+
* 또, {@page minSize}와 함께 사용하면 데이터포인트 값에 따라 다른 크기로 표시할 수 있다.
|
|
3103
3327
|
*
|
|
3104
3328
|
* @default 30
|
|
3105
3329
|
*/
|
|
@@ -3112,6 +3336,12 @@ interface PieSeriesOptions extends SparkSeriesOptions {
|
|
|
3112
3336
|
* @default true
|
|
3113
3337
|
*/
|
|
3114
3338
|
colorByValue?: boolean;
|
|
3339
|
+
/**
|
|
3340
|
+
* 파이 섹터 무시 경계 값 및 속성 설정 목록.<br/>
|
|
3341
|
+
* 데이터포인트 values의 총 합이 지정된 값보다 작을 때
|
|
3342
|
+
* 파이 섹터들을 별도로 표시하지 않고 지정한 스타일의 원 또는 섹터 하나로 표시한다.<br/>
|
|
3343
|
+
*/
|
|
3344
|
+
threshold?: PieSeriesThreshold | PieSeriesThreshold[];
|
|
3115
3345
|
}
|
|
3116
3346
|
/**
|
|
3117
3347
|
* @enum
|
|
@@ -3354,6 +3584,17 @@ interface DrilldownOptions extends ChartItemOptions {
|
|
|
3354
3584
|
*/
|
|
3355
3585
|
autoMapChange?: boolean;
|
|
3356
3586
|
}
|
|
3587
|
+
/**
|
|
3588
|
+
* 내부 접경선으로 표시 설정 옵션.<br/>
|
|
3589
|
+
* [topoJSON](https://github.com/topojson/topojson-specification?tab=readme-ov-file) 소스로
|
|
3590
|
+
* 작성된 맵인 경우 내부 접경선을 별도의 스타일로 구분해서 표시할 수 있다.
|
|
3591
|
+
*/
|
|
3592
|
+
interface MapInternalBorderOptions extends ChartItemOptions {
|
|
3593
|
+
/**
|
|
3594
|
+
* @default false
|
|
3595
|
+
*/
|
|
3596
|
+
visible?: boolean;
|
|
3597
|
+
}
|
|
3357
3598
|
declare const MapSeriesType = "map";
|
|
3358
3599
|
/**
|
|
3359
3600
|
* Map area 영역들을 칠하는 시리즈.<br/>
|
|
@@ -3376,7 +3617,7 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3376
3617
|
* 두 값을 배열로 지정하면 첫번째 문자열은 맵소스 "properties"의 속성명,
|
|
3377
3618
|
* 두번째는 데이터포인트의 속성명이다.
|
|
3378
3619
|
* 값을 하나만 지정하면 양쪽 같은 속성명으로 연결한다.<br/>
|
|
3379
|
-
* 이 값이
|
|
3620
|
+
* 이 값이 지정되지 않으면 데이터포인트의 "id" 또는 idField 속성으로 지정한 속성값과 맵소스의 "rm-id" 또는 "id" 속성값으로 연결한다.
|
|
3380
3621
|
*/
|
|
3381
3622
|
mapKeys?: string | [string, string];
|
|
3382
3623
|
middleKeys?: [string, string];
|
|
@@ -3416,6 +3657,10 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3416
3657
|
* @default true
|
|
3417
3658
|
*/
|
|
3418
3659
|
allAreas?: boolean;
|
|
3660
|
+
/**
|
|
3661
|
+
* 내부 접경선 표시 설정 옵션.<br/>
|
|
3662
|
+
*/
|
|
3663
|
+
internalBorder?: MapInternalBorderOptions;
|
|
3419
3664
|
colorRange?: ColorRange;
|
|
3420
3665
|
/**
|
|
3421
3666
|
* 차트에 설정된 color scale 아이디 혹은 인덱스.
|
|
@@ -3434,6 +3679,12 @@ interface MapSeriesOptions extends ValueSeriesOptions {
|
|
|
3434
3679
|
* @default false;
|
|
3435
3680
|
*/
|
|
3436
3681
|
bringToFront?: boolean;
|
|
3682
|
+
/**
|
|
3683
|
+
* 맵시리즈는 기본값으로 legend에 표시하지 않는다.<br/>
|
|
3684
|
+
*
|
|
3685
|
+
* @default -1
|
|
3686
|
+
*/
|
|
3687
|
+
legend?: number | string;
|
|
3437
3688
|
}
|
|
3438
3689
|
interface FeatureSeriesLabelOptions extends DataPointLabelOptions {
|
|
3439
3690
|
hoverColor?: string;
|
|
@@ -3832,16 +4083,6 @@ declare const TableSeriesType = "table";
|
|
|
3832
4083
|
interface TableSeriesOptions extends SeriesOptions {
|
|
3833
4084
|
type?: typeof TableSeriesType;
|
|
3834
4085
|
}
|
|
3835
|
-
declare const ChartSeriesType = "chart";
|
|
3836
|
-
/**
|
|
3837
|
-
* Chart Series<br/>
|
|
3838
|
-
* {@page op.SeriesOptions#type}은 'chart'이다.<br/>
|
|
3839
|
-
*
|
|
3840
|
-
* @config chart.series[type=chart]
|
|
3841
|
-
*/
|
|
3842
|
-
interface ChartSeriesOptions extends SeriesOptions {
|
|
3843
|
-
type?: typeof ChartSeriesType;
|
|
3844
|
-
}
|
|
3845
4086
|
declare const SankeySeriesType = "sankey";
|
|
3846
4087
|
/**
|
|
3847
4088
|
* Sankey Series<br/>
|
|
@@ -4272,7 +4513,7 @@ type SeriesLoadAnimation = typeof _SeriesLoadAnimation[keyof typeof _SeriesLoadA
|
|
|
4272
4513
|
/**
|
|
4273
4514
|
* @enum
|
|
4274
4515
|
*/
|
|
4275
|
-
declare const
|
|
4516
|
+
declare const _LegendItemsAligns: {
|
|
4276
4517
|
/**
|
|
4277
4518
|
* 수평일 때 왼쪽, 수직일 때는 위쪽으로 몰아서 배치한다.
|
|
4278
4519
|
*/
|
|
@@ -4287,7 +4528,7 @@ declare const LegendItemsAligns: {
|
|
|
4287
4528
|
readonly END: "end";
|
|
4288
4529
|
};
|
|
4289
4530
|
/** @dummy */
|
|
4290
|
-
type LegendItemsAlign = typeof
|
|
4531
|
+
type LegendItemsAlign = typeof _LegendItemsAligns[keyof typeof _LegendItemsAligns];
|
|
4291
4532
|
/**
|
|
4292
4533
|
* @enum
|
|
4293
4534
|
*/
|
|
@@ -4316,7 +4557,7 @@ type LegendLayout = typeof _LegendLayout[keyof typeof _LegendLayout];
|
|
|
4316
4557
|
*
|
|
4317
4558
|
* @config chart.legend
|
|
4318
4559
|
*/
|
|
4319
|
-
interface LegendOptions extends
|
|
4560
|
+
interface LegendOptions extends MapSimpleWidgetOptions {
|
|
4320
4561
|
/**
|
|
4321
4562
|
* 명시적으로 true로 설정되거나, 명시적 false가 아니면서 표시 항목 수가 1보다 클 때 표시된다.<br/>
|
|
4322
4563
|
*
|
|
@@ -4327,12 +4568,6 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
4327
4568
|
* true면 나중에 배치되는 시리즈가 먼저 표시된다.<br/>
|
|
4328
4569
|
*/
|
|
4329
4570
|
reversed?: boolean;
|
|
4330
|
-
/**
|
|
4331
|
-
* 표시 위치.<br/>
|
|
4332
|
-
*
|
|
4333
|
-
* @default 'bottom'
|
|
4334
|
-
*/
|
|
4335
|
-
location?: ChartItemLocation;
|
|
4336
4571
|
/**
|
|
4337
4572
|
* item 배치 방향.<br/>
|
|
4338
4573
|
*
|
|
@@ -4343,13 +4578,6 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
4343
4578
|
* legend 정렬 기준.<br/>
|
|
4344
4579
|
*/
|
|
4345
4580
|
alignBase?: AlignBase;
|
|
4346
|
-
/**
|
|
4347
|
-
* {@link location}이 'body'가 아닐 때,
|
|
4348
|
-
* legend view와 나머지 chart 영역 사이의 간격.<br/>
|
|
4349
|
-
*
|
|
4350
|
-
* @default 6
|
|
4351
|
-
*/
|
|
4352
|
-
gap?: number;
|
|
4353
4581
|
/**
|
|
4354
4582
|
* legend 아이템들 사이의 간격.<br/>
|
|
4355
4583
|
*
|
|
@@ -4374,11 +4602,6 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
4374
4602
|
* @default 4
|
|
4375
4603
|
*/
|
|
4376
4604
|
markerGap?: number;
|
|
4377
|
-
/**
|
|
4378
|
-
* 배경 스타일 셋.<br/>
|
|
4379
|
-
* 배경 색상 및 경계선 스타일을 지정할 수 있다.
|
|
4380
|
-
*/
|
|
4381
|
-
backgroundStyle?: SVGStyleOrClass;
|
|
4382
4605
|
/**
|
|
4383
4606
|
* 한 줄 당 표시할 최대 legend 항목 수.<br/>
|
|
4384
4607
|
*/
|
|
@@ -4399,30 +4622,6 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
4399
4622
|
* 최대 높이를 픽셀 단위의 크기 혹은 body 높이에 대한 상대 길이를 '%'로 지정한다.<br/>
|
|
4400
4623
|
*/
|
|
4401
4624
|
maxHeight?: PercentSize;
|
|
4402
|
-
/**
|
|
4403
|
-
* 수평 배치.<br/>
|
|
4404
|
-
* 값을 지정하지 않으면, 기본값이 {@link location}이 'body'일 때는 'left',
|
|
4405
|
-
* 'left', 'right'일 때는 'center'이다.
|
|
4406
|
-
*/
|
|
4407
|
-
align?: Align;
|
|
4408
|
-
/**
|
|
4409
|
-
* 수직 배치.<br/>
|
|
4410
|
-
* 값을 지정하지 않으면, 기본값이 {@link location}이 'body'일 때는 'top',
|
|
4411
|
-
* 'top', 'bottom'일 때는 'middle'이다.
|
|
4412
|
-
*/
|
|
4413
|
-
verticalAlign?: VerticalAlign;
|
|
4414
|
-
/**
|
|
4415
|
-
* 범례와 body 혹은 차트 경계 사이의 수평 간격.<br/>
|
|
4416
|
-
*
|
|
4417
|
-
* @default 0
|
|
4418
|
-
*/
|
|
4419
|
-
offsetX?: number;
|
|
4420
|
-
/**
|
|
4421
|
-
* 범례와 body 혹은 차트 경계 사이의 수직 간격.<br/>
|
|
4422
|
-
*
|
|
4423
|
-
* @default 0
|
|
4424
|
-
*/
|
|
4425
|
-
offsetY?: number;
|
|
4426
4625
|
/**
|
|
4427
4626
|
* 한 라인의 item들이 배치되는 위치.<br/>
|
|
4428
4627
|
*
|
|
@@ -4470,25 +4669,31 @@ declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
|
4470
4669
|
*
|
|
4471
4670
|
* @config chart.legend
|
|
4472
4671
|
*/
|
|
4473
|
-
declare class Legend extends
|
|
4672
|
+
declare class Legend extends MapSimpleWidget<LegendOptions> {
|
|
4474
4673
|
static defaults: LegendOptions;
|
|
4475
4674
|
private _maxWidth;
|
|
4476
4675
|
private _maxHeight;
|
|
4477
4676
|
private _items;
|
|
4478
4677
|
private _maxWidthDim;
|
|
4479
4678
|
private _maxHeightDim;
|
|
4480
|
-
private _location;
|
|
4481
4679
|
items(): LegendItem[];
|
|
4482
4680
|
isEmpty(): boolean;
|
|
4483
|
-
isVisible(): boolean;
|
|
4484
|
-
getLocation(): ChartItemLocation;
|
|
4485
4681
|
isInner(): boolean;
|
|
4486
4682
|
getLayout(): LegendLayout;
|
|
4487
4683
|
getMaxWidth(domain: number): number;
|
|
4488
4684
|
getMaxHeight(domain: number): number;
|
|
4685
|
+
_type(): string;
|
|
4686
|
+
isVertical(): boolean;
|
|
4687
|
+
isVisible(): boolean;
|
|
4688
|
+
protected _doInit(op: LegendOptions): void;
|
|
4489
4689
|
protected _doApply(options: LegendOptions): void;
|
|
4490
4690
|
protected _doPrepareRender(chart: IChart): void;
|
|
4491
4691
|
}
|
|
4692
|
+
declare class LegendCollection extends MapWidgetCollection<Legend> {
|
|
4693
|
+
protected _collectionProp(): string;
|
|
4694
|
+
protected _canEmpty(): boolean;
|
|
4695
|
+
protected _createWidget(chart: IChart): Legend;
|
|
4696
|
+
}
|
|
4492
4697
|
|
|
4493
4698
|
/**
|
|
4494
4699
|
* https://map-projections.net/index.php
|
|
@@ -4503,15 +4708,18 @@ interface MapProjection {
|
|
|
4503
4708
|
x2: number;
|
|
4504
4709
|
y2: number;
|
|
4505
4710
|
};
|
|
4506
|
-
isGlobe
|
|
4507
|
-
|
|
4711
|
+
isGlobe: boolean;
|
|
4712
|
+
lonElliptic: boolean;
|
|
4713
|
+
latElliptic: boolean;
|
|
4714
|
+
getYRange(latFrom: number, latTo: number): any;
|
|
4508
4715
|
project(coord: MapCoord): MapCoord;
|
|
4509
4716
|
backward(coord: MapCoord): MapCoord;
|
|
4510
4717
|
clip(pts: MapCoord[]): MapCoord[];
|
|
4511
4718
|
isVisible(coord: MapCoord): boolean;
|
|
4512
4719
|
getVisible(coord: MapCoord): MapCoord;
|
|
4513
|
-
getClipBounds(): MapCoord[];
|
|
4720
|
+
getClipBounds(lonInterval: number, latInterval: number): MapCoord[];
|
|
4514
4721
|
isClipping(): boolean;
|
|
4722
|
+
getScrolledLon(lon: number): number;
|
|
4515
4723
|
}
|
|
4516
4724
|
declare class MapArea extends RmObject implements ISelectionSource {
|
|
4517
4725
|
source?: AreaItem;
|
|
@@ -4519,6 +4727,7 @@ declare class MapArea extends RmObject implements ISelectionSource {
|
|
|
4519
4727
|
_insetChilds: number[];
|
|
4520
4728
|
private _info;
|
|
4521
4729
|
private _path;
|
|
4730
|
+
private _internal;
|
|
4522
4731
|
h1: number;
|
|
4523
4732
|
h2: number;
|
|
4524
4733
|
v1: number;
|
|
@@ -4542,6 +4751,7 @@ declare class MapArea extends RmObject implements ISelectionSource {
|
|
|
4542
4751
|
id: string;
|
|
4543
4752
|
name: string;
|
|
4544
4753
|
get path(): string;
|
|
4754
|
+
get internal(): string;
|
|
4545
4755
|
get selected(): boolean;
|
|
4546
4756
|
displayText(): string;
|
|
4547
4757
|
/**
|
|
@@ -4568,6 +4778,7 @@ declare class MapArea extends RmObject implements ISelectionSource {
|
|
|
4568
4778
|
y2: number;
|
|
4569
4779
|
};
|
|
4570
4780
|
readPath(prj: MapProjection): string;
|
|
4781
|
+
readInternal(prj: MapProjection, off: MapCoord): string;
|
|
4571
4782
|
getCenter(): MapCoord;
|
|
4572
4783
|
_clone(): MapArea;
|
|
4573
4784
|
}
|
|
@@ -4608,6 +4819,7 @@ declare class MapModel extends RmObject {
|
|
|
4608
4819
|
private _index;
|
|
4609
4820
|
private _name;
|
|
4610
4821
|
private _hiddens;
|
|
4822
|
+
private _world;
|
|
4611
4823
|
constructor(owner: IChart & IMapOwner, source: MapSourceImpl | MapModel, index: number);
|
|
4612
4824
|
get index(): number;
|
|
4613
4825
|
get name(): string;
|
|
@@ -4617,6 +4829,9 @@ declare class MapModel extends RmObject {
|
|
|
4617
4829
|
*/
|
|
4618
4830
|
get hiddenAreas(): string[];
|
|
4619
4831
|
set hiddenAreas(value: string[]);
|
|
4832
|
+
get alignArctic(): any;
|
|
4833
|
+
get hasInternals(): boolean;
|
|
4834
|
+
get isWorld(): boolean;
|
|
4620
4835
|
get(index: number): MapArea;
|
|
4621
4836
|
areaOf(id: any): MapArea;
|
|
4622
4837
|
getAreaMap(prop: string): {
|
|
@@ -4629,14 +4844,12 @@ declare class MapModel extends RmObject {
|
|
|
4629
4844
|
*/
|
|
4630
4845
|
reset(): void;
|
|
4631
4846
|
isVisible(area: string): boolean;
|
|
4632
|
-
isWorldMap(): boolean;
|
|
4633
4847
|
/**
|
|
4634
4848
|
* 투영전에 지도 bounds를 계산한다.
|
|
4635
4849
|
* projection offset을 설정하려면 투영하기 전에 지도 경계값이 필요하다.
|
|
4636
4850
|
* @TODO readPath 중복 로직 제거
|
|
4637
4851
|
*/
|
|
4638
4852
|
private $_preflight;
|
|
4639
|
-
private $_isWorldMap;
|
|
4640
4853
|
private $_resetAreas;
|
|
4641
4854
|
private $_updateMainAreaBounds;
|
|
4642
4855
|
private $_load;
|
|
@@ -4671,7 +4884,7 @@ declare class Tooltip extends ChartItem<TooltipOptions> {
|
|
|
4671
4884
|
setTarget(series: ISeries, point: DataPoint): ITooltipContext;
|
|
4672
4885
|
getTextDomain(): IRichTextDomain;
|
|
4673
4886
|
isFollowPointer(series: ISeries): boolean;
|
|
4674
|
-
protected _doSetSimple(source: any): boolean;
|
|
4887
|
+
protected _doSetSimple(op: TooltipOptions, source: any): boolean;
|
|
4675
4888
|
protected _doApply(options: TooltipOptions): void;
|
|
4676
4889
|
}
|
|
4677
4890
|
|
|
@@ -4687,7 +4900,7 @@ declare class DataPointLabel<OP extends DataPointLabelOptions = DataPointLabelOp
|
|
|
4687
4900
|
getText(value: any): string;
|
|
4688
4901
|
isVisible(): boolean;
|
|
4689
4902
|
getDefaultIconPos(): IconPosition;
|
|
4690
|
-
protected _doSetSimple(src: any): boolean;
|
|
4903
|
+
protected _doSetSimple(op: OP, src: any): boolean;
|
|
4691
4904
|
protected _doPrepareRender(chart: IChart): void;
|
|
4692
4905
|
}
|
|
4693
4906
|
declare class DataPointAnchorPoint<OP extends CalloutAnchorPointOptions = CalloutAnchorPointOptions> extends ChartItem<OP> {
|
|
@@ -4757,8 +4970,10 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4757
4970
|
_colorFielder: (src: any) => string;
|
|
4758
4971
|
_runColor: string;
|
|
4759
4972
|
_calcedColor: string;
|
|
4973
|
+
protected _legend: object;
|
|
4760
4974
|
private _legendMarker;
|
|
4761
4975
|
private _pointLabelCallback;
|
|
4976
|
+
private _pointLabelVisCallback;
|
|
4762
4977
|
private _pointArgs;
|
|
4763
4978
|
private _pointListArgs;
|
|
4764
4979
|
private _argsPoint;
|
|
@@ -4829,7 +5044,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4829
5044
|
getLabeledPoints(): DataPoint[];
|
|
4830
5045
|
getCallout(): DataPointCallout<DataPointCalloutOptions>;
|
|
4831
5046
|
isPointCalloutVisible(): boolean;
|
|
4832
|
-
getLegendSources(list: ILegendSource[]): void;
|
|
5047
|
+
getLegendSources(legend: object, list: ILegendSource[]): void;
|
|
4833
5048
|
getLabelOff(): number;
|
|
4834
5049
|
protected _defLabelOff(): number;
|
|
4835
5050
|
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
@@ -4872,6 +5087,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4872
5087
|
*/
|
|
4873
5088
|
lock(): void;
|
|
4874
5089
|
unlock(): void;
|
|
5090
|
+
_setLegend(legend: object): void;
|
|
4875
5091
|
protected _doApply(options: SeriesOptions): void;
|
|
4876
5092
|
_prepareRender(): void;
|
|
4877
5093
|
protected _doAfterRender(): void;
|
|
@@ -4907,6 +5123,7 @@ declare abstract class ValuePoint extends DataPoint {
|
|
|
4907
5123
|
declare abstract class ValueSeries<OP extends ValueSeriesOptions = ValueSeriesOptions> extends Series<OP> {
|
|
4908
5124
|
static defaults: ValueSeriesOptions;
|
|
4909
5125
|
protected _createFielders(op: ValueSeriesOptions): void;
|
|
5126
|
+
protected _createValueFielder(op: ValueSeriesOptions): (v: any) => any;
|
|
4910
5127
|
}
|
|
4911
5128
|
declare abstract class MarkerSeriesPoint extends ValuePoint {
|
|
4912
5129
|
}
|
|
@@ -4917,10 +5134,13 @@ declare abstract class MarkerSeries<OP extends MarkerSeriesOptions = MarkerSerie
|
|
|
4917
5134
|
}
|
|
4918
5135
|
declare class SparkSeriesPoint extends ValuePoint {
|
|
4919
5136
|
values: number[];
|
|
5137
|
+
_sum: number;
|
|
4920
5138
|
position: PointViewPosition;
|
|
4921
5139
|
getPoints(values: number[], minimum: number, maximum: number): number[];
|
|
4922
5140
|
getBasePoint(minimum: number, maximum: number, base: number): number;
|
|
5141
|
+
getSum(): number;
|
|
4923
5142
|
protected _readObject(series: ISeries, v: any): void;
|
|
5143
|
+
getParam(param: string): any;
|
|
4924
5144
|
}
|
|
4925
5145
|
declare class SparkCategoryImpl implements ILegendSource {
|
|
4926
5146
|
name: string;
|
|
@@ -4933,6 +5153,7 @@ declare class SparkCategoryImpl implements ILegendSource {
|
|
|
4933
5153
|
legendLabel(): string;
|
|
4934
5154
|
}
|
|
4935
5155
|
/**
|
|
5156
|
+
* 복수 개의 관련된 값들을 표시하는 시리즈 기반 클래스.<br/>
|
|
4936
5157
|
*/
|
|
4937
5158
|
declare abstract class SparkSeries<OP extends SparkSeriesOptions = SparkSeriesOptions> extends ValueSeries<OP> {
|
|
4938
5159
|
static defaults: SparkSeriesOptions;
|
|
@@ -4942,7 +5163,8 @@ declare abstract class SparkSeries<OP extends SparkSeriesOptions = SparkSeriesOp
|
|
|
4942
5163
|
max: number;
|
|
4943
5164
|
};
|
|
4944
5165
|
protected _doApply(options: SparkSeriesOptions): void;
|
|
4945
|
-
|
|
5166
|
+
protected _createValueFielder(op: SparkSeriesOptions): (v: any) => any;
|
|
5167
|
+
getLegendSources(legend: object, list: ILegendSource[]): void;
|
|
4946
5168
|
private $_parseCategories;
|
|
4947
5169
|
}
|
|
4948
5170
|
declare abstract class OrthogonalSparkSeriesPoint extends SparkSeriesPoint {
|
|
@@ -4957,6 +5179,7 @@ declare abstract class OrthogonalSparkSeries<OP extends OrthogonalSparkSeriesOpt
|
|
|
4957
5179
|
private _baseLine;
|
|
4958
5180
|
_width: number;
|
|
4959
5181
|
_height: number;
|
|
5182
|
+
private _paddingDim;
|
|
4960
5183
|
_minValue: number;
|
|
4961
5184
|
_maxValue: number;
|
|
4962
5185
|
_pointDomain: boolean;
|
|
@@ -4970,6 +5193,7 @@ declare abstract class OrthogonalSparkSeries<OP extends OrthogonalSparkSeriesOpt
|
|
|
4970
5193
|
max: number;
|
|
4971
5194
|
base: number;
|
|
4972
5195
|
};
|
|
5196
|
+
getPadding(domain: number): number;
|
|
4973
5197
|
protected _doApply(options: OrthogonalSparkSeriesOptions): void;
|
|
4974
5198
|
}
|
|
4975
5199
|
declare abstract class GaugePoint extends ValuePoint {
|
|
@@ -5265,47 +5489,25 @@ declare class AssetCollection {
|
|
|
5265
5489
|
private $_loadItem;
|
|
5266
5490
|
}
|
|
5267
5491
|
|
|
5492
|
+
/**
|
|
5493
|
+
* 차트 제작 주체 등을 표시하는 영역에 대한 모델.<br/>
|
|
5494
|
+
* 기본적으로 차트 오른쪽 아래에 표시되지만, {@link align}, {@link verticalAlign} 등으로 위치를 지정할 수 있다.
|
|
5495
|
+
* {@link url}을 설정하면 마우스 클릭 시 새창을 열고 해당 위치로 이동시킨다.
|
|
5496
|
+
*/
|
|
5497
|
+
declare class Credits extends ChartItem<CreditsOptions> {
|
|
5498
|
+
static defaults: CreditsOptions;
|
|
5499
|
+
protected _doSetSimple(op: CreditsOptions, src: any): boolean;
|
|
5500
|
+
}
|
|
5501
|
+
|
|
5268
5502
|
/**
|
|
5269
5503
|
* 컬러, 버블 스케일 등의 스케일 기반 설정.<br/>
|
|
5270
5504
|
*/
|
|
5271
|
-
interface ScaleOptions extends
|
|
5272
|
-
/**
|
|
5273
|
-
* 시리즈에서 참조하는 스케일 이름.<br/>
|
|
5274
|
-
*/
|
|
5275
|
-
name?: string;
|
|
5505
|
+
interface ScaleOptions extends MapSimpleWidgetOptions {
|
|
5276
5506
|
/**
|
|
5277
5507
|
* {@page minValue}나 {@page maxValue}를 지정하지 않는 경우 범위 기준값을 계산할 시리즈의 이름이나 index.<br />
|
|
5278
5508
|
* 이 속성을 지정하지 않으면 첫 번째 map 시리즈의 범위를 계산한다.
|
|
5279
5509
|
*/
|
|
5280
5510
|
series?: string | number;
|
|
5281
|
-
/**
|
|
5282
|
-
* scale 표시 위치.<br/>
|
|
5283
|
-
*/
|
|
5284
|
-
location?: ChartItemLocation;
|
|
5285
|
-
/**
|
|
5286
|
-
* 수평 배치.<br/>
|
|
5287
|
-
* 값을 지정하지 않으면, 기본값이 {@link location}이 'body'일 때는 'left',
|
|
5288
|
-
* 'left', 'right'일 때는 'center'이다.
|
|
5289
|
-
*/
|
|
5290
|
-
align?: Align;
|
|
5291
|
-
/**
|
|
5292
|
-
* 수직 배치.<br/>
|
|
5293
|
-
* 값을 지정하지 않으면, 기본값이 {@link location}이 'body'일 때는 'top',
|
|
5294
|
-
* 'top', 'bottom'일 때는 'middle'이다.
|
|
5295
|
-
*/
|
|
5296
|
-
verticalAlign?: VerticalAlign;
|
|
5297
|
-
/**
|
|
5298
|
-
* 범례와 body 혹은 차트 경계 사이의 수평 간격.<br/>
|
|
5299
|
-
*
|
|
5300
|
-
* @default 0
|
|
5301
|
-
*/
|
|
5302
|
-
offsetX?: number;
|
|
5303
|
-
/**
|
|
5304
|
-
* 범례와 body 혹은 차트 경계 사이의 수직 간격.<br/>
|
|
5305
|
-
*
|
|
5306
|
-
* @default 0
|
|
5307
|
-
*/
|
|
5308
|
-
offsetY?: number;
|
|
5309
5511
|
}
|
|
5310
5512
|
/**
|
|
5311
5513
|
* @enum
|
|
@@ -5373,33 +5575,59 @@ interface ColorScaleTickLineOptions extends ChartItemOptions {
|
|
|
5373
5575
|
interface ColorScaleTickLabelOptions extends IconedTextOptions {
|
|
5374
5576
|
/**
|
|
5375
5577
|
* 라벨 표시 위치 및 내용.<br/>
|
|
5376
|
-
* - '
|
|
5377
|
-
* - '
|
|
5578
|
+
* - 'between' - step 경게에 맞춰 그 위치의 값을 표시한다.
|
|
5579
|
+
* - 'step' - step의 중간에 맟춰 해당 stop의 범위를 표시한다.
|
|
5378
5580
|
*
|
|
5379
|
-
* @default '
|
|
5581
|
+
* @default 'between'
|
|
5380
5582
|
*/
|
|
5381
|
-
position?: '
|
|
5583
|
+
position?: 'between' | 'step';
|
|
5382
5584
|
/**
|
|
5383
5585
|
* @default 4
|
|
5384
5586
|
*/
|
|
5385
5587
|
offset?: number;
|
|
5386
|
-
|
|
5387
|
-
|
|
5588
|
+
/**
|
|
5589
|
+
* 첫번째 label의 텍스트.<br/>
|
|
5590
|
+
* 빈 문자열이나 null로 지정하면 label이 표시되지 않는다.
|
|
5591
|
+
*/
|
|
5592
|
+
startText?: string;
|
|
5593
|
+
/**
|
|
5594
|
+
* 마지막 label의 텍스트.<br/>
|
|
5595
|
+
* 빈 문자열이나 null로 지정하면 label이 표시되지 않는다.
|
|
5596
|
+
*/
|
|
5597
|
+
endText?: string;
|
|
5388
5598
|
}
|
|
5389
5599
|
/**
|
|
5390
5600
|
* 색상 스텝을 구분하는 color scale 틱 라인 및 라벨 옵션.<br/>
|
|
5391
5601
|
* marker 반대편에 표시된다.
|
|
5392
5602
|
*/
|
|
5393
5603
|
interface ColorScaleTickOptions extends ChartItemOptions {
|
|
5394
|
-
line?: ColorScaleTickLineOptions;
|
|
5395
|
-
label?: ColorScaleTickLabelOptions;
|
|
5396
|
-
}
|
|
5397
|
-
interface ColorScaleStep {
|
|
5398
5604
|
/**
|
|
5399
|
-
*
|
|
5400
|
-
* 숫자나 '%'로 끝나는 백분율로 지정할 수 있다.
|
|
5605
|
+
* tick 선 설정 옵션.<br/>
|
|
5401
5606
|
*/
|
|
5402
|
-
|
|
5607
|
+
line?: ColorScaleTickLineOptions;
|
|
5608
|
+
/**
|
|
5609
|
+
* tick 라벨 설정 옵션.<br/>
|
|
5610
|
+
*/
|
|
5611
|
+
label?: ColorScaleTickLabelOptions;
|
|
5612
|
+
/**
|
|
5613
|
+
* 명시적 false로 지정하면 최소값 tick 선과 라벨을 표시하지 않는다.<br/>
|
|
5614
|
+
*
|
|
5615
|
+
* @default undefined
|
|
5616
|
+
*/
|
|
5617
|
+
minVisible?: boolean;
|
|
5618
|
+
/**
|
|
5619
|
+
* 명시적 false로 지정하면 최대값 tick 선과 라벨을 표시하지 않는다.<br/>
|
|
5620
|
+
*
|
|
5621
|
+
* @default undefined
|
|
5622
|
+
*/
|
|
5623
|
+
maxVisible?: boolean;
|
|
5624
|
+
}
|
|
5625
|
+
interface ColorScaleStep {
|
|
5626
|
+
/**
|
|
5627
|
+
* 첫 step인 경우 설정하지 않으면 {@page steps.minValue}로 지정된다.<br />
|
|
5628
|
+
* 숫자나 '%'로 끝나는 백분율로 지정할 수 있다.
|
|
5629
|
+
*/
|
|
5630
|
+
from?: number | string;
|
|
5403
5631
|
/**
|
|
5404
5632
|
* 마지막 step인 경우 설정하지 않으면 {@page steps.maxValue}로 지정된다.<br />
|
|
5405
5633
|
* 숫자나 '%'로 끝나는 백분율로 지정할 수 있다.
|
|
@@ -5408,7 +5636,7 @@ interface ColorScaleStep {
|
|
|
5408
5636
|
/**
|
|
5409
5637
|
* 구간 label.<br/>
|
|
5410
5638
|
*/
|
|
5411
|
-
label
|
|
5639
|
+
label?: string;
|
|
5412
5640
|
/**
|
|
5413
5641
|
* 구간 색상.<br/>
|
|
5414
5642
|
* {@page fromColor}를 지정하면 이 step에 포함된 영역의 값에 따라 두 색상 사이의 중간 색상으로 표시된다.<br/>
|
|
@@ -5430,6 +5658,28 @@ interface ColorStop {
|
|
|
5430
5658
|
stop: number;
|
|
5431
5659
|
color: string;
|
|
5432
5660
|
}
|
|
5661
|
+
interface ColorScaleNullOptions extends ChartItemOptions {
|
|
5662
|
+
/**
|
|
5663
|
+
* @default false
|
|
5664
|
+
*/
|
|
5665
|
+
visible?: boolean;
|
|
5666
|
+
/**
|
|
5667
|
+
* 기본 step들과 사이의 간격.<br/>
|
|
5668
|
+
*
|
|
5669
|
+
* @default 0
|
|
5670
|
+
*/
|
|
5671
|
+
gap?: number;
|
|
5672
|
+
/**
|
|
5673
|
+
* 지정되지 않은 값 표시 색.<br/>
|
|
5674
|
+
*
|
|
5675
|
+
* @default 'white'
|
|
5676
|
+
*/
|
|
5677
|
+
color?: string;
|
|
5678
|
+
/**
|
|
5679
|
+
* @default 'No Data'
|
|
5680
|
+
*/
|
|
5681
|
+
label?: string;
|
|
5682
|
+
}
|
|
5433
5683
|
/**
|
|
5434
5684
|
* 맵 area 등에 표시되는 색상 범위를 표시한다.<br/>
|
|
5435
5685
|
*
|
|
@@ -5441,15 +5691,31 @@ interface ColorScaleOptions extends ScaleOptions {
|
|
|
5441
5691
|
*/
|
|
5442
5692
|
marker?: ColorScaleMarkerOptions;
|
|
5443
5693
|
/**
|
|
5694
|
+
* Step 상자 옆에 표시되는 label 설정 옵션.<br/>
|
|
5444
5695
|
*/
|
|
5445
5696
|
tick?: ColorScaleTickOptions;
|
|
5446
5697
|
/**
|
|
5698
|
+
* Step 상자와 label 사이의 연결선 설정 옵션.<br/>
|
|
5447
5699
|
*/
|
|
5448
5700
|
stepLine?: ColorScaleStepLineOptions;
|
|
5701
|
+
/**
|
|
5702
|
+
* 지정되지 않은 값들을 표시하는 데 적용되는 색상을 지시하는 별도의 step 설정 옵션.<br/>
|
|
5703
|
+
*/
|
|
5704
|
+
nullStep?: ColorScaleNullOptions;
|
|
5449
5705
|
/**
|
|
5450
5706
|
* true로 지정하면 scale view 대신, color step들을 legend view의 항목들로 표시한다.<br/>
|
|
5451
5707
|
*/
|
|
5452
5708
|
display?: ColorScaleDisplay;
|
|
5709
|
+
/**
|
|
5710
|
+
* Step 상자들과 tick lable들의 위치를 바꿔 표시한다.<br/>
|
|
5711
|
+
* true면 label이 step 상자 왼쪽이나 위쪽에 표시된다.
|
|
5712
|
+
*/
|
|
5713
|
+
reversed?: boolean;
|
|
5714
|
+
/**
|
|
5715
|
+
* step의 방향을 바꿔 표시한다.<br/>
|
|
5716
|
+
* true면 오른쪽에 왼쪽으로, 또는 위쪽에서 아래쪽으로 최소에서 최대값으로 흐르게 표시한다.
|
|
5717
|
+
*/
|
|
5718
|
+
inverted?: boolean;
|
|
5453
5719
|
/**
|
|
5454
5720
|
* 기준 최소값.<br/>
|
|
5455
5721
|
* 이 값을 지정하지 않고 {@page series}가 설정되면 그 시리즈의 최소값을 사용한다.<br/>
|
|
@@ -5527,17 +5793,6 @@ interface ColorScaleOptions extends ScaleOptions {
|
|
|
5527
5793
|
* 숫자로 지정하면 pixel 수, '%'로 지정하면 scale이 표시될 수 있는 최대 크기에 대한 백분율로 설정된다.
|
|
5528
5794
|
*/
|
|
5529
5795
|
barLength?: PercentSize;
|
|
5530
|
-
/**
|
|
5531
|
-
* 배경 스타일 셋.
|
|
5532
|
-
* 배경 색상 및 경계선 스타일을 지정할 수 있다.
|
|
5533
|
-
*/
|
|
5534
|
-
backgroundStyle?: SVGStyleOrClass;
|
|
5535
|
-
/**
|
|
5536
|
-
* 이 scale과 chart body 등과의 간격을 픽셀 단위로 지정한다.<br/>
|
|
5537
|
-
*
|
|
5538
|
-
* @default 8
|
|
5539
|
-
*/
|
|
5540
|
-
gap?: number;
|
|
5541
5796
|
}
|
|
5542
5797
|
/**
|
|
5543
5798
|
* bubble 스텝을 구분하는 bubble scale 틱 라인 옵션.<br/>
|
|
@@ -5574,7 +5829,7 @@ interface BubbleScaleStep {
|
|
|
5574
5829
|
label: string;
|
|
5575
5830
|
}
|
|
5576
5831
|
/**
|
|
5577
|
-
*
|
|
5832
|
+
* 버블,파이 시리즈의 데이터포인트 값에 따라 설정되는
|
|
5578
5833
|
* 원 크기를 몇 단계로 나누어 원 크기와 값 사이의 관계를 개략적으로 표시한다.<br/>
|
|
5579
5834
|
|
|
5580
5835
|
* @config chart.bubbleScale
|
|
@@ -5583,6 +5838,8 @@ interface BubbleScaleOptions extends ScaleOptions {
|
|
|
5583
5838
|
tick?: BubbleScaleTickOptions;
|
|
5584
5839
|
steps?: (BubbleScaleStep | number)[];
|
|
5585
5840
|
stepCount?: number;
|
|
5841
|
+
minRadius?: number;
|
|
5842
|
+
maxRadius?: number;
|
|
5586
5843
|
}
|
|
5587
5844
|
/**
|
|
5588
5845
|
* 맵 scale 옆에 표시되는 거리 표시 설정.<br/>
|
|
@@ -5610,8 +5867,7 @@ interface MapScaleOptions extends ScaleOptions {
|
|
|
5610
5867
|
interface MapAxisGridLineOptions extends ChartItemOptions {
|
|
5611
5868
|
/**
|
|
5612
5869
|
* 경위도 선의 간격을 도(°) 단위로 지정한다.<br/>
|
|
5613
|
-
*
|
|
5614
|
-
* @default 10
|
|
5870
|
+
* 지정하지 않거나 잘못된 값을 않으면 10도로 적용된다.
|
|
5615
5871
|
*/
|
|
5616
5872
|
step?: number;
|
|
5617
5873
|
}
|
|
@@ -5661,13 +5917,56 @@ interface MapAxisTickLineOptions extends ChartItemOptions {
|
|
|
5661
5917
|
*/
|
|
5662
5918
|
visible?: boolean;
|
|
5663
5919
|
}
|
|
5920
|
+
interface MapAxisTickLabelOptions extends ChartTextOptions {
|
|
5921
|
+
/**
|
|
5922
|
+
* 방위 구분자를 '북남동서' 순서대로 지정한다.<br/>
|
|
5923
|
+
*
|
|
5924
|
+
* @default 'NSEW'
|
|
5925
|
+
*/
|
|
5926
|
+
dirSymbols?: string;
|
|
5927
|
+
/**
|
|
5928
|
+
* '°°'로 지정하면 두 번째 자리에 방위에 해당하는 {@page position} 문자 표시.
|
|
5929
|
+
*
|
|
5930
|
+
* @default '°°'
|
|
5931
|
+
*/
|
|
5932
|
+
suffix?: string;
|
|
5933
|
+
}
|
|
5664
5934
|
interface MapAxisTickOptions extends ChartItemOptions {
|
|
5665
5935
|
/**
|
|
5666
5936
|
* @default false
|
|
5667
5937
|
*/
|
|
5668
5938
|
visible?: boolean;
|
|
5939
|
+
/**
|
|
5940
|
+
* @private
|
|
5941
|
+
*
|
|
5942
|
+
* tick 선 설정 옵션.<br/>
|
|
5943
|
+
*/
|
|
5669
5944
|
line?: MapAxisTickLineOptions;
|
|
5670
|
-
|
|
5945
|
+
/**
|
|
5946
|
+
* tick 라벨 설정 옵션.<br/>
|
|
5947
|
+
*/
|
|
5948
|
+
label?: MapAxisTickLabelOptions;
|
|
5949
|
+
/**
|
|
5950
|
+
* @default ['top','right']
|
|
5951
|
+
*/
|
|
5952
|
+
positions?: Positions[];
|
|
5953
|
+
/**
|
|
5954
|
+
* 위경도 그리드 선 배치를 기준으로 tick 라인과 라벨을 표시하는 간격.<br/>
|
|
5955
|
+
* {@page latInterval}, {@page lonInterval}로 위경도 간격을 별도로 지정할 수도 있다.
|
|
5956
|
+
*
|
|
5957
|
+
* @default 1
|
|
5958
|
+
*/
|
|
5959
|
+
interval?: number;
|
|
5960
|
+
/**
|
|
5961
|
+
* 경도 그리드 선 배치를 기준으로 tick 라인과 라벨을 표시하는 간격.<br/>
|
|
5962
|
+
* {@page interval}로 지정한 값보다 우선한다.
|
|
5963
|
+
*/
|
|
5964
|
+
lonInterval?: number;
|
|
5965
|
+
/**
|
|
5966
|
+
* 위도 그리드 선 배치를 기준으로 tick 라인과 라벨을 표시하는 간격.<br/>
|
|
5967
|
+
* {@page interval}로 지정한 값보다 우선한다.
|
|
5968
|
+
*/
|
|
5969
|
+
latInterval?: number;
|
|
5671
5970
|
}
|
|
5672
5971
|
/**
|
|
5673
5972
|
* @enum
|
|
@@ -5869,7 +6168,7 @@ interface MapAxisOptions extends ChartItemOptions {
|
|
|
5869
6168
|
/**
|
|
5870
6169
|
* 위/경도선 좌표 표서 설정.<br/>
|
|
5871
6170
|
*/
|
|
5872
|
-
tick?: MapAxisTickOptions;
|
|
6171
|
+
tick?: MapAxisTickOptions | boolean;
|
|
5873
6172
|
/**
|
|
5874
6173
|
* 마우스 현재 위치를 표시하는 crosshair 설정.<br/>
|
|
5875
6174
|
*/
|
|
@@ -5879,6 +6178,12 @@ interface MapAxisOptions extends ChartItemOptions {
|
|
|
5879
6178
|
* 하나만 지정할 때는 배열로 지정하지 않아도 된다.
|
|
5880
6179
|
*/
|
|
5881
6180
|
guide?: MapAxisGuideOptions | MapAxisGuideOptions[];
|
|
6181
|
+
/**
|
|
6182
|
+
* @default 5
|
|
6183
|
+
*/
|
|
6184
|
+
interval?: number;
|
|
6185
|
+
lonInterval?: number;
|
|
6186
|
+
latInterval?: number;
|
|
5882
6187
|
}
|
|
5883
6188
|
|
|
5884
6189
|
declare class MapScaleLabel extends IconedText<MapScaleLabelOptions> {
|
|
@@ -5895,6 +6200,8 @@ declare class MapScale extends ScaleBase<MapScaleOptions> {
|
|
|
5895
6200
|
private _scale;
|
|
5896
6201
|
protected _doInit(op: MapScaleOptions): void;
|
|
5897
6202
|
get label(): MapScaleLabel;
|
|
6203
|
+
isVertical(): boolean;
|
|
6204
|
+
_type(): string;
|
|
5898
6205
|
protected _getScaledSeries(chart: IChart): ISeries;
|
|
5899
6206
|
protected _doApply(options: MapScaleOptions): void;
|
|
5900
6207
|
protected _doPrepareRender(chart: IChart): void;
|
|
@@ -5980,10 +6287,14 @@ interface ChartConfiguration {
|
|
|
5980
6287
|
* 맵과 시리즈들이 그려지는 영역.<br/>
|
|
5981
6288
|
*/
|
|
5982
6289
|
body?: BodyOptions;
|
|
6290
|
+
/**
|
|
6291
|
+
* 범례(legend)나 스케일(color/bubble scale) 등의 위젯들을 한 방향으로 배치하는 그룹을 하나 이상 설정한다.<br/>
|
|
6292
|
+
*/
|
|
6293
|
+
widgetGroup?: MapWidgetGroupOptions | MapWidgetGroupOptions[];
|
|
5983
6294
|
/**
|
|
5984
6295
|
* 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 {@page guide.legend 범례}.<br/>
|
|
5985
6296
|
*/
|
|
5986
|
-
legend?: LegendOptions | boolean;
|
|
6297
|
+
legend?: LegendOptions | LegendOptions[] | boolean;
|
|
5987
6298
|
/**
|
|
5988
6299
|
* {@page guide.colorscale 색상자}를 하나 이상 설정한다.
|
|
5989
6300
|
*/
|
|
@@ -6070,13 +6381,16 @@ declare class BubbleScale extends ScaleBase<BubbleScaleOptions> {
|
|
|
6070
6381
|
protected _doInit(op: BubbleScaleOptions): void;
|
|
6071
6382
|
get tick(): BubbleScaleTick;
|
|
6072
6383
|
getSteps(wBody: number, hBody: number): IBubbleScaleStep[];
|
|
6384
|
+
_type(): string;
|
|
6385
|
+
isVertical(): boolean;
|
|
6073
6386
|
protected _getScaledSeries(chart: IChart): ISeries;
|
|
6074
6387
|
protected _doApply(options: BubbleScaleOptions): void;
|
|
6075
6388
|
protected _doPrepareRender(chart: IChart): void;
|
|
6076
6389
|
private $_buildSteps;
|
|
6077
6390
|
}
|
|
6078
|
-
declare class BubbleScaleCollection extends
|
|
6079
|
-
protected
|
|
6391
|
+
declare class BubbleScaleCollection extends MapWidgetCollection<BubbleScale> {
|
|
6392
|
+
protected _collectionProp(): string;
|
|
6393
|
+
protected _createWidget(chart: IChart): BubbleScale;
|
|
6080
6394
|
}
|
|
6081
6395
|
|
|
6082
6396
|
interface IColorRanger {
|
|
@@ -6118,7 +6432,13 @@ interface IColorScaleTick {
|
|
|
6118
6432
|
pos: number;
|
|
6119
6433
|
label?: string;
|
|
6120
6434
|
}
|
|
6121
|
-
declare class ColorScaleStepLine extends ChartItem {
|
|
6435
|
+
declare class ColorScaleStepLine extends ChartItem<ColorScaleStepLineOptions> {
|
|
6436
|
+
static defaults: ColorScaleStepLineOptions;
|
|
6437
|
+
}
|
|
6438
|
+
declare class ColorScaleNull extends ChartItem<ColorScaleNullOptions> {
|
|
6439
|
+
static defaults: ColorScaleNullOptions;
|
|
6440
|
+
getLabel(): string;
|
|
6441
|
+
getGap(): number;
|
|
6122
6442
|
}
|
|
6123
6443
|
/**
|
|
6124
6444
|
* 색상 범위를 표시한다.<br/>
|
|
@@ -6129,6 +6449,7 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
6129
6449
|
private _marker;
|
|
6130
6450
|
private _stepLine;
|
|
6131
6451
|
private _tick;
|
|
6452
|
+
private _nullStep;
|
|
6132
6453
|
private _min;
|
|
6133
6454
|
private _max;
|
|
6134
6455
|
private _minColor;
|
|
@@ -6144,17 +6465,21 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
6144
6465
|
get marker(): ColorScaleMarker;
|
|
6145
6466
|
get stepLine(): ColorScaleStepLine;
|
|
6146
6467
|
get tick(): ColorScaleTick;
|
|
6468
|
+
get nullStep(): ColorScaleNull;
|
|
6147
6469
|
get minColor(): Color;
|
|
6148
6470
|
get maxColor(): Color;
|
|
6149
6471
|
getRanger(): IColorRanger;
|
|
6150
6472
|
getLayout(): ColorScaleLayout;
|
|
6151
6473
|
getBarSize(wDomain: number, hDomain: number, vertical: boolean): ISize;
|
|
6152
|
-
getSplitPoints(len: number): number[];
|
|
6474
|
+
getSplitPoints(len: number, nullStep: boolean, nullGap: number): number[];
|
|
6153
6475
|
getPosition(value: number): number;
|
|
6154
6476
|
getTicks(): IColorScaleTick[];
|
|
6155
6477
|
getSteps(): ColorScaleStep[];
|
|
6156
6478
|
getValueSteps(): number[];
|
|
6157
6479
|
getLegendSources(target: ILegendSource[]): void;
|
|
6480
|
+
_type(): string;
|
|
6481
|
+
isVertical(): boolean;
|
|
6482
|
+
getDefaultDisplay(caption: MapWidgetCaption): MapWidgetCaptionDisplay;
|
|
6158
6483
|
protected _doApply(options: ColorScaleOptions): void;
|
|
6159
6484
|
protected _getScaledSeries(chart: IChart): ISeries;
|
|
6160
6485
|
private $_parseColorStops;
|
|
@@ -6165,10 +6490,11 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
6165
6490
|
private $_parseColor;
|
|
6166
6491
|
private $_buildSteps;
|
|
6167
6492
|
}
|
|
6168
|
-
declare class ColorScaleCollection extends
|
|
6493
|
+
declare class ColorScaleCollection extends MapWidgetCollection<ColorScale> {
|
|
6169
6494
|
getVisibles(loc: ChartItemLocation): ColorScale[];
|
|
6170
6495
|
getLegendSources(): ILegendSource[];
|
|
6171
|
-
protected
|
|
6496
|
+
protected _collectionProp(): string;
|
|
6497
|
+
protected _createWidget(chart: IChart): ColorScale;
|
|
6172
6498
|
}
|
|
6173
6499
|
|
|
6174
6500
|
/**
|
|
@@ -6192,7 +6518,7 @@ declare class Exporter extends ChartItem<ExporterOptions> {
|
|
|
6192
6518
|
*/
|
|
6193
6519
|
declare class MapAxisGridLine extends ChartItem<MapAxisGridLineOptions> {
|
|
6194
6520
|
static defaults: MapAxisGridLineOptions;
|
|
6195
|
-
protected _doSetSimple(src: any): boolean;
|
|
6521
|
+
protected _doSetSimple(op: MapAxisGridLineOptions, src: any): boolean;
|
|
6196
6522
|
}
|
|
6197
6523
|
/**
|
|
6198
6524
|
* @config chart.axis.grid
|
|
@@ -6208,9 +6534,8 @@ declare class MapAxisGrid extends ChartItem<MapAxisGridOptions> {
|
|
|
6208
6534
|
get lonLine(): MapAxisGridLine;
|
|
6209
6535
|
get latLine(): MapAxisGridLine;
|
|
6210
6536
|
get fitTo(): MapAxisGridFitTo;
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
getLatStep(map: MapModel): number;
|
|
6537
|
+
getLonStep(): number;
|
|
6538
|
+
getLatStep(): number;
|
|
6214
6539
|
protected _doApply(options: MapAxisGridOptions): void;
|
|
6215
6540
|
protected _doPrepareRender(chart: IChart): void;
|
|
6216
6541
|
private $_defaultStep;
|
|
@@ -6222,21 +6547,36 @@ declare class MapAxisLine extends ChartItem<MapAxisLineOptions> {
|
|
|
6222
6547
|
static defaults: MapAxisLineOptions;
|
|
6223
6548
|
}
|
|
6224
6549
|
/**
|
|
6225
|
-
* @
|
|
6550
|
+
* @private
|
|
6226
6551
|
*/
|
|
6227
6552
|
declare class MapAxisTickLine extends ChartItem<MapAxisTickLineOptions> {
|
|
6228
6553
|
static defaults: MapAxisTickLineOptions;
|
|
6229
6554
|
}
|
|
6230
6555
|
/**
|
|
6231
|
-
* @
|
|
6556
|
+
* @private
|
|
6557
|
+
*/
|
|
6558
|
+
declare class MapAxisTickLabel extends ChartText<MapAxisTickLabelOptions> {
|
|
6559
|
+
static defaults: MapAxisTickLabelOptions;
|
|
6560
|
+
private _symbolPos;
|
|
6561
|
+
private _symbols;
|
|
6562
|
+
getText(lat: boolean, dir: number): string;
|
|
6563
|
+
protected _doApply(op: MapAxisTickLabelOptions): void;
|
|
6564
|
+
}
|
|
6565
|
+
/**
|
|
6566
|
+
* @private
|
|
6232
6567
|
*/
|
|
6233
6568
|
declare class MapAxisTick extends ChartItem<MapAxisTickOptions> {
|
|
6234
6569
|
static defaults: MapAxisTickOptions;
|
|
6235
6570
|
private _line;
|
|
6236
6571
|
private _label;
|
|
6572
|
+
private _positions;
|
|
6237
6573
|
protected _doInit(op: MapAxisTickOptions): void;
|
|
6238
6574
|
get line(): MapAxisTickLine;
|
|
6239
|
-
get label():
|
|
6575
|
+
get label(): MapAxisTickLabel;
|
|
6576
|
+
visibleAt(pos: Positions): boolean;
|
|
6577
|
+
getLonInterval(): number;
|
|
6578
|
+
getLatInterval(): number;
|
|
6579
|
+
protected _doApply(op: MapAxisTickOptions): void;
|
|
6240
6580
|
}
|
|
6241
6581
|
/**
|
|
6242
6582
|
* 가이드 label 설정 모델.<br/>
|
|
@@ -6303,7 +6643,7 @@ declare class MapCrosshair extends ChartItem<MapCrosshairOptions> {
|
|
|
6303
6643
|
get flag(): CrosshairFlag;
|
|
6304
6644
|
getFlag(pos: number): string;
|
|
6305
6645
|
moved(pos: IPoint, flag: string, points: DataPoint[]): void;
|
|
6306
|
-
protected _doSetSimple(source: any): boolean;
|
|
6646
|
+
protected _doSetSimple(op: MapCrosshairOptions, source: any): boolean;
|
|
6307
6647
|
}
|
|
6308
6648
|
declare class MapAxis extends ChartItem<MapAxisOptions> {
|
|
6309
6649
|
static defaults: MapAxisOptions;
|
|
@@ -6318,6 +6658,8 @@ declare class MapAxis extends ChartItem<MapAxisOptions> {
|
|
|
6318
6658
|
private _tick;
|
|
6319
6659
|
private _crosshair;
|
|
6320
6660
|
private _guides;
|
|
6661
|
+
private _lonInterval;
|
|
6662
|
+
private _latInterval;
|
|
6321
6663
|
private _saveGuide;
|
|
6322
6664
|
protected _doInit(op: MapAxisOptions): void;
|
|
6323
6665
|
get line(): MapAxisLine;
|
|
@@ -6331,6 +6673,8 @@ declare class MapAxis extends ChartItem<MapAxisOptions> {
|
|
|
6331
6673
|
get tick(): MapAxisTick;
|
|
6332
6674
|
get crosshair(): MapCrosshair;
|
|
6333
6675
|
get guides(): MapAxisGuide<MapAxisGuideOptions>[];
|
|
6676
|
+
get lonInterval(): number;
|
|
6677
|
+
get latInterval(): number;
|
|
6334
6678
|
protected _doApply(options: MapAxisOptions): void;
|
|
6335
6679
|
private $_loadGuides;
|
|
6336
6680
|
}
|
|
@@ -6363,7 +6707,7 @@ declare class DrilldownPanel extends BodyPanel<DrilldownPanelOptions> {
|
|
|
6363
6707
|
declare class Title<OP extends TitleOptions = TitleOptions> extends ChartItem<OP> {
|
|
6364
6708
|
static defaults: TitleOptions;
|
|
6365
6709
|
isVisible(): boolean;
|
|
6366
|
-
protected _doSetSimple(src: any): boolean;
|
|
6710
|
+
protected _doSetSimple(op: OP, src: any): boolean;
|
|
6367
6711
|
}
|
|
6368
6712
|
/**
|
|
6369
6713
|
* 차트 부제목(subtitle) 설정 모델.<br/>
|
|
@@ -6387,6 +6731,9 @@ declare class MapSeriesPoint extends ValuePoint {
|
|
|
6387
6731
|
declare class MapSeriesDrilldown extends ChartItem<DrilldownOptions> {
|
|
6388
6732
|
static defaults: DrilldownOptions;
|
|
6389
6733
|
}
|
|
6734
|
+
declare class MapSeriesInternalBorder extends ChartItem<MapInternalBorderOptions> {
|
|
6735
|
+
static defaults: MapInternalBorderOptions;
|
|
6736
|
+
}
|
|
6390
6737
|
/**
|
|
6391
6738
|
* Map 시리즈 모델.<br/>
|
|
6392
6739
|
* {@page op.SeriesOptions#type}은 {@page config.series.map 'map'}이고,
|
|
@@ -6400,6 +6747,7 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6400
6747
|
private _detail;
|
|
6401
6748
|
private _detailed;
|
|
6402
6749
|
private _drilldown;
|
|
6750
|
+
private _internalBorder;
|
|
6403
6751
|
private _areaPts;
|
|
6404
6752
|
private _minValue;
|
|
6405
6753
|
private _maxValue;
|
|
@@ -6410,6 +6758,7 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6410
6758
|
get parent(): MapSeries;
|
|
6411
6759
|
get detail(): MapSeries;
|
|
6412
6760
|
get drilldown(): MapSeriesDrilldown;
|
|
6761
|
+
get internalBorder(): MapSeriesInternalBorder;
|
|
6413
6762
|
get color(): Color;
|
|
6414
6763
|
getHistory(): MapSeries[];
|
|
6415
6764
|
get(second: boolean, index: number): MapArea;
|
|
@@ -6433,7 +6782,7 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6433
6782
|
canRemoveAnimation(): boolean;
|
|
6434
6783
|
getRangedColor(p: MapSeriesPoint): string;
|
|
6435
6784
|
followTooltipPointer(): boolean;
|
|
6436
|
-
getLegendSources(list: ILegendSource[]): void;
|
|
6785
|
+
getLegendSources(legend: object, list: ILegendSource[]): void;
|
|
6437
6786
|
protected _createPoint(source: any): MapSeriesPoint;
|
|
6438
6787
|
protected _getPointArgs(args: DataPointArgs, p: MapSeriesPoint): DataPointArgs;
|
|
6439
6788
|
_prepareRender(): void;
|
|
@@ -6474,18 +6823,15 @@ declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
|
6474
6823
|
private _zoomAni;
|
|
6475
6824
|
private _panX;
|
|
6476
6825
|
private _panY;
|
|
6477
|
-
private _wRate;
|
|
6478
|
-
private _hRate;
|
|
6479
6826
|
private _scale;
|
|
6480
6827
|
private _vRect;
|
|
6481
6828
|
private _wMap;
|
|
6482
|
-
private _reCalculateFlag;
|
|
6483
|
-
private _dragDistance;
|
|
6484
6829
|
constructor(chart: IChart);
|
|
6485
6830
|
protected _doInit(op: BodyOptions): void;
|
|
6486
6831
|
anchorByName(name: string): ChartItem;
|
|
6487
6832
|
get projection(): MapProjection;
|
|
6488
6833
|
get mapBackground(): MapBackground;
|
|
6834
|
+
get isFlatWorld(): boolean;
|
|
6489
6835
|
/**
|
|
6490
6836
|
* rotation x of globe.
|
|
6491
6837
|
*/
|
|
@@ -6501,6 +6847,10 @@ declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
|
6501
6847
|
*/
|
|
6502
6848
|
get scroll(): number;
|
|
6503
6849
|
set scroll(value: number);
|
|
6850
|
+
/**
|
|
6851
|
+
* movable
|
|
6852
|
+
*/
|
|
6853
|
+
get movable(): boolean;
|
|
6504
6854
|
/**
|
|
6505
6855
|
* pan x
|
|
6506
6856
|
*/
|
|
@@ -6529,9 +6879,10 @@ declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
|
6529
6879
|
* map
|
|
6530
6880
|
*/
|
|
6531
6881
|
get map(): MapModel;
|
|
6532
|
-
set dragDistance(value: number);
|
|
6533
6882
|
get calcedMapWidth(): number;
|
|
6534
6883
|
isDrilldowned(): boolean;
|
|
6884
|
+
private $_calcPan;
|
|
6885
|
+
prepare(map: MapModel): void;
|
|
6535
6886
|
prepareLayout(width: number, height: number): {
|
|
6536
6887
|
scale: number;
|
|
6537
6888
|
wMap: number;
|
|
@@ -6540,23 +6891,19 @@ declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
|
6540
6891
|
ty: number;
|
|
6541
6892
|
};
|
|
6542
6893
|
/**
|
|
6543
|
-
*
|
|
6544
|
-
*
|
|
6545
|
-
* EqualEarth와 같이 위도가 x 좌표 계산에 영향을 주는 경우, 지도 너비 계산이 어려워진다.
|
|
6546
|
-
* 좌표 투영에 오프셋(scroll)이 적용된 경우, 오프셋에 따라 x2 - x1의 결과가 계속 달라진다.
|
|
6547
|
-
* wMap의 값이 계속 달라진다면, scale값도 영향을 받아서 값이 매번 달라진다.
|
|
6548
|
-
* 그러므로, 스크롤이 0일 때를 기준으로 x2 - x1값을 구해서 wMap의 값으로 사용해야 한다.
|
|
6894
|
+
* @private
|
|
6549
6895
|
*
|
|
6550
|
-
*
|
|
6896
|
+
* x1 ~ x2 대신 h1 ~ h2 로 계산한다.
|
|
6897
|
+
* 현재 globe가 아닌 세계 지도에만 적용하고 있다.
|
|
6898
|
+
* TODO: $_prepareLayout_world, $_prepareLayout 합칠 것!
|
|
6551
6899
|
*/
|
|
6552
|
-
$
|
|
6553
|
-
|
|
6554
|
-
x2: number;
|
|
6555
|
-
w: number;
|
|
6556
|
-
};
|
|
6900
|
+
private $_prepareLayout_world;
|
|
6901
|
+
private $_prepareLayout;
|
|
6557
6902
|
getPoint(id: string): MapCoord;
|
|
6558
|
-
|
|
6559
|
-
|
|
6903
|
+
/**
|
|
6904
|
+
* coord는 projection 하지 않은 값.
|
|
6905
|
+
*/
|
|
6906
|
+
toVisible(coord: MapCoord, second: boolean): MapCoord;
|
|
6560
6907
|
isScrollable(): boolean;
|
|
6561
6908
|
setZoom(value: number, duration?: number | AnimationOptions | (() => void)): void;
|
|
6562
6909
|
incZoom(delta: number): void;
|
|
@@ -6605,17 +6952,11 @@ interface IMapChartEvents {
|
|
|
6605
6952
|
onRequestRender(chart: ChartObject, now: boolean): void;
|
|
6606
6953
|
onRequestShowSeries(chart: ChartObject, series: Series, visible: boolean): void;
|
|
6607
6954
|
}
|
|
6608
|
-
/**
|
|
6609
|
-
* 차트 제작 주체 등을 표시하는 영역에 대한 모델.<br/>
|
|
6610
|
-
* 기본적으로 차트 오른쪽 아래에 표시되지만, {@link align}, {@link verticalAlign} 등으로 위치를 지정할 수 있다.
|
|
6611
|
-
* {@link url}을 설정하면 마우스 클릭 시 새창을 열고 해당 위치로 이동시킨다.
|
|
6612
|
-
*/
|
|
6613
|
-
declare class Credits extends ChartItem<CreditsOptions> {
|
|
6614
|
-
static defaults: CreditsOptions;
|
|
6615
|
-
getAlign(loc: ChartItemLocation): void;
|
|
6616
|
-
}
|
|
6617
6955
|
declare class ChartOptions extends ChartItem<ChartOptionsOptions> {
|
|
6618
6956
|
static defaults: ChartOptionsOptions;
|
|
6957
|
+
protected _widgetGaps: Sides;
|
|
6958
|
+
getWidgetSectionGap(loc: ChartItemLocation): any;
|
|
6959
|
+
protected _doApply(options: ChartOptionsOptions): void;
|
|
6619
6960
|
}
|
|
6620
6961
|
/**
|
|
6621
6962
|
* @ignore
|
|
@@ -6637,7 +6978,6 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6637
6978
|
private _body;
|
|
6638
6979
|
_title: Title;
|
|
6639
6980
|
_subtitle: Subtitle;
|
|
6640
|
-
_legend: Legend;
|
|
6641
6981
|
_zoomPanel: ZoomPanel;
|
|
6642
6982
|
_drilldownPanel: DrilldownPanel;
|
|
6643
6983
|
_credits: Credits;
|
|
@@ -6646,12 +6986,15 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6646
6986
|
private _baseMap;
|
|
6647
6987
|
private _series;
|
|
6648
6988
|
_annotations: AnnotationCollection;
|
|
6989
|
+
_widgetGroups: MapWidgetGroupCollection;
|
|
6990
|
+
_legends: LegendCollection;
|
|
6649
6991
|
_colorScales: ColorScaleCollection;
|
|
6650
6992
|
_bubbleScales: BubbleScaleCollection;
|
|
6651
6993
|
_mapScale: MapScale;
|
|
6652
6994
|
private _selection;
|
|
6653
6995
|
_exporter: Exporter;
|
|
6654
6996
|
_loading: boolean;
|
|
6997
|
+
_widgetGroupDirty: boolean;
|
|
6655
6998
|
private _point_shaes;
|
|
6656
6999
|
private _params;
|
|
6657
7000
|
_seriesIndex: number;
|
|
@@ -6692,7 +7035,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6692
7035
|
selectionItemAdded(item: ISelectionSource): void;
|
|
6693
7036
|
selectionItemRemoved(item: ISelectionSource): void;
|
|
6694
7037
|
selectionCleared(): void;
|
|
6695
|
-
get type(): "map" | "
|
|
7038
|
+
get type(): "map" | "feature" | "point" | "pin" | "vector" | "bar" | "pie" | "figure" | "bubble" | "route" | "image" | "line" | "heatmap" | "panel" | "waffle" | "gauge" | "clock";
|
|
6696
7039
|
get chartOptions(): ChartOptions;
|
|
6697
7040
|
get legend(): Legend;
|
|
6698
7041
|
get credits(): Credits;
|
|
@@ -6713,6 +7056,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6713
7056
|
get colorScale(): ColorScale;
|
|
6714
7057
|
get bubbleScale(): BubbleScale;
|
|
6715
7058
|
get mapScale(): MapScale;
|
|
7059
|
+
get widgetGroup(): MapWidgetGroup;
|
|
6716
7060
|
get isDirty(): boolean;
|
|
6717
7061
|
get isDrilldowned(): boolean;
|
|
6718
7062
|
getAnnotations(): Annotation[];
|
|
@@ -6726,6 +7070,9 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6726
7070
|
seriesAt(index: number): Series;
|
|
6727
7071
|
seriesByPoint(point: DataPoint): Series;
|
|
6728
7072
|
annotationByName(name: string): Annotation;
|
|
7073
|
+
_collectWidgets(): {
|
|
7074
|
+
[dir: string]: MapWidget<MapWidgetOptions>[];
|
|
7075
|
+
};
|
|
6729
7076
|
loadBase(source: any, model: string, type: string): any;
|
|
6730
7077
|
private _setProperties;
|
|
6731
7078
|
_load(config: ChartConfiguration): this;
|
|
@@ -6737,7 +7084,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6737
7084
|
*/
|
|
6738
7085
|
update(options: ChartConfiguration, render: boolean): void;
|
|
6739
7086
|
export(options: ExportOptions): void;
|
|
6740
|
-
_getLegendSources(): ILegendSource[];
|
|
7087
|
+
_getLegendSources(legend: object): ILegendSource[];
|
|
6741
7088
|
getParam(target: any, param: string): any;
|
|
6742
7089
|
setParam(param: string, value: any, redraw?: boolean): ChartObject;
|
|
6743
7090
|
addSeries(source: any, animate: boolean): Series;
|
|
@@ -6750,6 +7097,10 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6750
7097
|
getBubbleScale(scale: string | number): BubbleScale;
|
|
6751
7098
|
drilldown(series: MapSeries, area: string): Promise<void>;
|
|
6752
7099
|
drillup(series?: MapSeries): Promise<void>;
|
|
7100
|
+
canClick(): boolean;
|
|
7101
|
+
click(info: any): void;
|
|
7102
|
+
pointToMap(x: number, y: number): MapCoord;
|
|
7103
|
+
private $_buildWidgetGroups;
|
|
6753
7104
|
_visibleChanged(item: ChartItem): void;
|
|
6754
7105
|
_hoverAreaChanged(series: Series, newArea: MapArea, oldArea: MapArea): void;
|
|
6755
7106
|
_areaClicked(series: Series, area: MapArea): void;
|
|
@@ -6759,7 +7110,6 @@ interface IChart {
|
|
|
6759
7110
|
wrapper: any;
|
|
6760
7111
|
options: ChartConfiguration;
|
|
6761
7112
|
type?: string;
|
|
6762
|
-
chartOptions: ChartOptionsOptions;
|
|
6763
7113
|
_loading: boolean;
|
|
6764
7114
|
map: MapModel;
|
|
6765
7115
|
axis: MapAxis;
|
|
@@ -6799,7 +7149,7 @@ interface IChart {
|
|
|
6799
7149
|
getProjection(second: boolean): MapProjection;
|
|
6800
7150
|
_visibleChanged(item: ChartItem): void;
|
|
6801
7151
|
_optionChanged(item: ChartItem, tag?: any): void;
|
|
6802
|
-
_getLegendSources(): ILegendSource[];
|
|
7152
|
+
_getLegendSources(legend: object): ILegendSource[];
|
|
6803
7153
|
_hoverAreaChanged(series: Series, newArea: MapArea, oldArea: MapArea): void;
|
|
6804
7154
|
_areaClicked(series: Series, newArea: MapArea): void;
|
|
6805
7155
|
getParam(target: any, param: string): any;
|
|
@@ -6840,16 +7190,75 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
6840
7190
|
_load(source: any): OP;
|
|
6841
7191
|
loadOptions(source: any): OP;
|
|
6842
7192
|
saveOptions(): any;
|
|
7193
|
+
/**
|
|
7194
|
+
* 모델 설정 값들을 변경한다.<br/>
|
|
7195
|
+
*
|
|
7196
|
+
* @param source 설정 옵션들이 포함된 json 객체
|
|
7197
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본갑 true
|
|
7198
|
+
* @returns 모델 객체 자신
|
|
7199
|
+
*/
|
|
6843
7200
|
updateOptions(source?: OP, render?: boolean): this;
|
|
7201
|
+
/**
|
|
7202
|
+
* 모델 설정 값을 변경한다.<br/>
|
|
7203
|
+
*
|
|
7204
|
+
* @param prop 설정 항목 이름
|
|
7205
|
+
* @param value 설정 값
|
|
7206
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본갑 true
|
|
7207
|
+
* @returns 모델 객체 자신
|
|
7208
|
+
*/
|
|
6844
7209
|
updateOption(prop: keyof OP, value: any, render?: boolean): this;
|
|
7210
|
+
/**
|
|
7211
|
+
* boolean 타입의 모델 설정 값을 반대 값으로 변경한다.<br/>
|
|
7212
|
+
*
|
|
7213
|
+
* @param prop 설정 항목 이름
|
|
7214
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본갑 true
|
|
7215
|
+
* @returns 모델 객체 자신
|
|
7216
|
+
*/
|
|
6845
7217
|
toggleOption(prop: keyof OP, render?: boolean): this;
|
|
7218
|
+
/**
|
|
7219
|
+
* 명시적으로 설정된 모델 설정 값을 제거해서 모델의 기본 값이 적용되도록 한다.<br/>
|
|
7220
|
+
*
|
|
7221
|
+
* @param prop 설정 항목 이름
|
|
7222
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본갑 true
|
|
7223
|
+
* @returns 모델 객체 자신
|
|
7224
|
+
*/
|
|
6846
7225
|
removeOption(prop: keyof OP, render?: boolean): this;
|
|
7226
|
+
/**
|
|
7227
|
+
* 명시적으로 설정된 모든 모델 설정 값들을 제거한다..<br/>
|
|
7228
|
+
*
|
|
7229
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본갑 true
|
|
7230
|
+
* @returns 모델 객체 자신
|
|
7231
|
+
*/
|
|
6847
7232
|
clearOptions(render?: boolean): this;
|
|
7233
|
+
/**
|
|
7234
|
+
* 명시적으로 모델에 설정된 모든 style 값들을 제거한다.<br/>
|
|
7235
|
+
*
|
|
7236
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본갑 false
|
|
7237
|
+
* @returns
|
|
7238
|
+
*/
|
|
7239
|
+
clearStyle(render?: boolean): this;
|
|
7240
|
+
/**
|
|
7241
|
+
* 모델 css style 값을 변경한다.<br/>
|
|
7242
|
+
*
|
|
7243
|
+
* @param prop css 스타일 항목 이름.
|
|
7244
|
+
* @param value 적용할 스타일 값.
|
|
7245
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본갑 true
|
|
7246
|
+
* @returns
|
|
7247
|
+
*/
|
|
7248
|
+
setStyle(prop: string, value: any, render?: boolean): this;
|
|
7249
|
+
/**
|
|
7250
|
+
* 여러 항목의 모델 css style 값들을 json 객체로 지정해서 동시에 변경한다.<br/>
|
|
7251
|
+
*
|
|
7252
|
+
* @param styles 스타일 항목들과 값들이 설정된 json 객체
|
|
7253
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본갑 true
|
|
7254
|
+
* @returns
|
|
7255
|
+
*/
|
|
7256
|
+
setStyles(styles: any, render?: boolean): this;
|
|
6848
7257
|
_prepareRender(): void;
|
|
6849
7258
|
_afterRender(): void;
|
|
6850
7259
|
_optionChanged(tag?: any): void;
|
|
6851
7260
|
protected _doLoad(options: ChartItemOptions, source: any): void;
|
|
6852
|
-
protected _doSetSimple(src: any): boolean;
|
|
7261
|
+
protected _doSetSimple(op: OP, src: any): boolean;
|
|
6853
7262
|
/** @internal */
|
|
6854
7263
|
protected _doLoadProp(prop: string, value: any): boolean;
|
|
6855
7264
|
private $_applyOptions;
|
|
@@ -6891,7 +7300,7 @@ declare class ChartText<OP extends ChartTextOptions = ChartTextOptions> extends
|
|
|
6891
7300
|
setText(value: string): void;
|
|
6892
7301
|
buildSvg(view: TextElement, outline: TextElement, maxWidth: number, maxHeight: number, target: any, domain: IRichTextDomain): void;
|
|
6893
7302
|
prepareRich(text: string): void;
|
|
6894
|
-
protected _doSetSimple(src: any): boolean;
|
|
7303
|
+
protected _doSetSimple(op: OP, src: any): boolean;
|
|
6895
7304
|
protected _doApply(options: ChartTextOptions): void;
|
|
6896
7305
|
private $_getNumberText;
|
|
6897
7306
|
protected _getText(text: any, value: any, useSymbols: boolean, forceSymbols: boolean): string;
|
|
@@ -6906,30 +7315,80 @@ declare abstract class IconedText<OP extends IconedTextOptions = IconedTextOptio
|
|
|
6906
7315
|
protected _doPrepareRender(chart: IChart): void;
|
|
6907
7316
|
getUrl(url: string): string;
|
|
6908
7317
|
}
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
declare
|
|
6913
|
-
static defaults:
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
protected
|
|
6917
|
-
|
|
7318
|
+
declare class MapWidgetBackground extends ChartItem<MapWidgetBackgroundOptions> {
|
|
7319
|
+
static defaults: MapWidgetBackgroundOptions;
|
|
7320
|
+
}
|
|
7321
|
+
declare class MapWidgetCaption extends IconedText<MapWidgetCaptionOptions> {
|
|
7322
|
+
static defaults: MapWidgetCaptionOptions;
|
|
7323
|
+
getDisplay(widget: MapWidget): MapWidgetCaptionDisplay;
|
|
7324
|
+
getGap(inline: boolean): number;
|
|
7325
|
+
protected _isVisible(): boolean;
|
|
7326
|
+
protected _doSetSimple(op: MapWidgetCaptionOptions, src: any): boolean;
|
|
7327
|
+
getDefaultIconPos(): IconPosition;
|
|
7328
|
+
}
|
|
7329
|
+
declare abstract class MapWidget<OP extends MapWidgetOptions = MapWidgetOptions> extends ChartItem<OP> {
|
|
7330
|
+
static defaults: MapWidgetOptions;
|
|
7331
|
+
private _group;
|
|
7332
|
+
private _index;
|
|
7333
|
+
private _background;
|
|
7334
|
+
private _title;
|
|
7335
|
+
private _footer;
|
|
7336
|
+
private _location;
|
|
7337
|
+
get index(): number;
|
|
7338
|
+
get background(): MapWidgetBackground;
|
|
7339
|
+
get title(): MapWidgetCaption;
|
|
7340
|
+
get footer(): MapWidgetCaption;
|
|
7341
|
+
abstract _type(): string;
|
|
7342
|
+
abstract isVertical(): boolean;
|
|
7343
|
+
isVisible(): boolean;
|
|
7344
|
+
getOrder(): number;
|
|
7345
|
+
_setGroup(g: MapWidgetGroup): void;
|
|
7346
|
+
getGroup(): MapWidgetGroup;
|
|
6918
7347
|
getLocation(): ChartItemLocation;
|
|
6919
|
-
|
|
7348
|
+
_setIndex(value: number): void;
|
|
7349
|
+
getDefaultDisplay(caption: MapWidgetCaption): MapWidgetCaptionDisplay;
|
|
7350
|
+
protected _doInit(op: MapWidgetOptions): void;
|
|
6920
7351
|
protected _doPrepareRender(chart: IChart): void;
|
|
6921
|
-
protected abstract _getScaledSeries(chart: IChart): ISeries;
|
|
6922
7352
|
}
|
|
6923
|
-
declare abstract class
|
|
7353
|
+
declare abstract class MapSimpleWidget<OP extends MapSimpleWidgetOptions = MapSimpleWidgetOptions> extends MapWidget<OP> {
|
|
7354
|
+
}
|
|
7355
|
+
declare class MapWidgetGroup extends MapWidget<MapWidgetGroupOptions> {
|
|
7356
|
+
static defaults: MapWidgetGroupOptions;
|
|
7357
|
+
private _widgets;
|
|
7358
|
+
_clean(): void;
|
|
7359
|
+
_add(w: MapSimpleWidget): void;
|
|
7360
|
+
_sort(): void;
|
|
7361
|
+
getWidget(index: number): MapSimpleWidget<MapSimpleWidgetOptions>;
|
|
7362
|
+
_internalWidgets(): MapSimpleWidget<MapSimpleWidgetOptions>[];
|
|
7363
|
+
_type(): string;
|
|
7364
|
+
isVertical(): boolean;
|
|
7365
|
+
}
|
|
7366
|
+
declare abstract class MapWidgetCollection<T extends MapWidget = MapWidget> extends ChartItemCollection<T> {
|
|
6924
7367
|
private _map;
|
|
6925
7368
|
protected _visibles: T[];
|
|
6926
7369
|
getVisibles(loc: ChartItemLocation): T[];
|
|
6927
|
-
get(name: string | number): T;
|
|
7370
|
+
get(name: string | number, loc: ChartItemLocation): T;
|
|
6928
7371
|
prepareRender(): void;
|
|
6929
7372
|
load(src: any): void;
|
|
6930
|
-
protected abstract
|
|
7373
|
+
protected abstract _collectionProp(): string;
|
|
7374
|
+
protected abstract _createWidget(chart: IChart): T;
|
|
7375
|
+
protected _canEmpty(): boolean;
|
|
6931
7376
|
private $_loadItem;
|
|
6932
7377
|
}
|
|
7378
|
+
declare class MapWidgetGroupCollection extends MapWidgetCollection<MapWidgetGroup> {
|
|
7379
|
+
protected _collectionProp(): string;
|
|
7380
|
+
protected _createWidget(chart: IChart): MapWidgetGroup;
|
|
7381
|
+
}
|
|
7382
|
+
/**
|
|
7383
|
+
* color, bubble 스케일 base.<br/>
|
|
7384
|
+
*/
|
|
7385
|
+
declare abstract class ScaleBase<OP extends ScaleOptions = ScaleOptions> extends MapSimpleWidget<OP> {
|
|
7386
|
+
static defaults: ScaleOptions;
|
|
7387
|
+
protected _series: ISeries;
|
|
7388
|
+
get series(): ISeries<DataPoint>;
|
|
7389
|
+
protected _doPrepareRender(chart: IChart): void;
|
|
7390
|
+
protected abstract _getScaledSeries(chart: IChart): ISeries;
|
|
7391
|
+
}
|
|
6933
7392
|
|
|
6934
7393
|
/**
|
|
6935
7394
|
* Annotation 모델들의 기반 클래스.<br/>
|
|
@@ -7072,7 +7531,7 @@ declare class MapChart {
|
|
|
7072
7531
|
*/
|
|
7073
7532
|
get firstMapSeries(): MapSeries;
|
|
7074
7533
|
/**
|
|
7075
|
-
*
|
|
7534
|
+
* 첫번째 legend.
|
|
7076
7535
|
*/
|
|
7077
7536
|
get legend(): Legend;
|
|
7078
7537
|
/**
|
|
@@ -7080,13 +7539,17 @@ declare class MapChart {
|
|
|
7080
7539
|
*/
|
|
7081
7540
|
get credits(): Credits;
|
|
7082
7541
|
/**
|
|
7083
|
-
*
|
|
7542
|
+
* 첫번째 color scale.
|
|
7084
7543
|
*/
|
|
7085
7544
|
get colorScale(): ColorScale;
|
|
7086
7545
|
/**
|
|
7087
|
-
*
|
|
7546
|
+
* 첫번째 bubble scale.
|
|
7088
7547
|
*/
|
|
7089
7548
|
get bubbleScale(): BubbleScale;
|
|
7549
|
+
/**
|
|
7550
|
+
* 첫번째 widget group.
|
|
7551
|
+
*/
|
|
7552
|
+
get widgetGroup(): MapWidgetGroup;
|
|
7090
7553
|
/**
|
|
7091
7554
|
* zoom panel.
|
|
7092
7555
|
*/
|
|
@@ -7208,6 +7671,7 @@ declare class MapChart {
|
|
|
7208
7671
|
getPoint(id: string): MapCoord;
|
|
7209
7672
|
seriesAt(index: number): Series;
|
|
7210
7673
|
seriesByName(name: string): Series;
|
|
7674
|
+
pointToMap(x: number, y: number): MapCoord;
|
|
7211
7675
|
drilldown(series?: number | string | MapSeries, area?: string): Promise<void>;
|
|
7212
7676
|
drillup(series?: number | string | MapSeries): Promise<void>;
|
|
7213
7677
|
}
|
|
@@ -7254,6 +7718,10 @@ declare class Globals {
|
|
|
7254
7718
|
* @returns km 단위의 거리
|
|
7255
7719
|
*/
|
|
7256
7720
|
static getDistance(p1: [number, number], p2: [number, number]): number;
|
|
7721
|
+
/**
|
|
7722
|
+
* @internal
|
|
7723
|
+
*/
|
|
7724
|
+
static setGlobals(globals: any): void;
|
|
7257
7725
|
/**
|
|
7258
7726
|
* 차트 설정 모델을 기반으로 svg를 생성한 후,
|
|
7259
7727
|
* 지정된 div 엘리먼트의 유일한 자식으로 포함시킨다.\
|
|
@@ -7300,29 +7768,6 @@ declare class Globals {
|
|
|
7300
7768
|
static preset(name: string, info?: MapInsetDisplay): MapInset;
|
|
7301
7769
|
}
|
|
7302
7770
|
|
|
7303
|
-
/**
|
|
7304
|
-
* Globe 돌리기.
|
|
7305
|
-
*/
|
|
7306
|
-
declare class GlobeSpinner extends DragTracker<ChartControl> {
|
|
7307
|
-
protected _doDrag(eventTarget: Element, xPrev: number, yPrev: number, x: number, y: number): boolean;
|
|
7308
|
-
}
|
|
7309
|
-
|
|
7310
|
-
/**
|
|
7311
|
-
* Map 이동 시키기.
|
|
7312
|
-
*/
|
|
7313
|
-
declare class MapScroller extends DragTracker<ChartControl> {
|
|
7314
|
-
private _oldX;
|
|
7315
|
-
private _oldY;
|
|
7316
|
-
private _xStart;
|
|
7317
|
-
private _yStart;
|
|
7318
|
-
private _prj;
|
|
7319
|
-
constructor(control: ChartControl);
|
|
7320
|
-
protected _doStart(eventTarget: Element, xStart: number, yStart: number, x: number, y: number): boolean;
|
|
7321
|
-
protected _doEnded(x?: number, y?: number): void;
|
|
7322
|
-
protected _doDrag(eventTarget: Element, xPrev: number, yPrev: number, x: number, y: number): boolean;
|
|
7323
|
-
private $_mapView;
|
|
7324
|
-
}
|
|
7325
|
-
|
|
7326
7771
|
/**
|
|
7327
7772
|
* Default map chart tool.
|
|
7328
7773
|
*
|
|
@@ -7337,7 +7782,7 @@ declare class MapTool extends RmTool<ChartControl> {
|
|
|
7337
7782
|
protected _doWheel(ev: WheelEvent): boolean;
|
|
7338
7783
|
protected _isPinchTarget(dom: Element): boolean;
|
|
7339
7784
|
protected _doPinch(dist: number): void;
|
|
7340
|
-
protected _getDragTracker(dom: Element, dx: number, dy: number):
|
|
7785
|
+
protected _getDragTracker(dom: Element, dx: number, dy: number): DragTracker;
|
|
7341
7786
|
private $_chart;
|
|
7342
7787
|
private $_chartView;
|
|
7343
7788
|
private $_drildown;
|
|
@@ -7372,9 +7817,47 @@ declare class RectElement extends RmElement {
|
|
|
7372
7817
|
protected _setBackgroundBorderRadius(value: number): void;
|
|
7373
7818
|
}
|
|
7374
7819
|
|
|
7820
|
+
declare class ImageElement extends RmElement {
|
|
7821
|
+
private _dirty;
|
|
7822
|
+
private _bounds;
|
|
7823
|
+
/**
|
|
7824
|
+
* @IE11 not support SVGImageElement onload
|
|
7825
|
+
* 사이즈를 알기위해서 이벤트만 사용한다.
|
|
7826
|
+
*/
|
|
7827
|
+
private _proxy;
|
|
7828
|
+
/**
|
|
7829
|
+
* @IE11 image proxy onload event
|
|
7830
|
+
*/
|
|
7831
|
+
onloadProxy: () => void;
|
|
7832
|
+
constructor(doc: Document, full: boolean, styleName?: string);
|
|
7833
|
+
/** image url */
|
|
7834
|
+
get url(): string;
|
|
7835
|
+
set url(value: string);
|
|
7836
|
+
setImage(url: string, width: number, height: number): boolean;
|
|
7837
|
+
bbox(): IRect;
|
|
7838
|
+
}
|
|
7839
|
+
|
|
7840
|
+
/**
|
|
7841
|
+
* ChartText를 표시하는 텍스트 view.
|
|
7842
|
+
*/
|
|
7843
|
+
declare class LabelElement extends GroupElement {
|
|
7844
|
+
private _back;
|
|
7845
|
+
_outline: TextElement;
|
|
7846
|
+
_text: TextElement;
|
|
7847
|
+
_icon: ImageElement;
|
|
7848
|
+
private _model;
|
|
7849
|
+
private _box;
|
|
7850
|
+
constructor(doc: Document, styleName: string);
|
|
7851
|
+
setText(s: string): LabelElement;
|
|
7852
|
+
setModel(doc: Document, model: IconedText, icon: string, contrastTarget: Element): LabelElement;
|
|
7853
|
+
setContrast(target: Element): LabelElement;
|
|
7854
|
+
layout(): LabelElement;
|
|
7855
|
+
bbox(): IRect;
|
|
7856
|
+
}
|
|
7857
|
+
|
|
7375
7858
|
declare abstract class ChartElement<T extends ChartItem = ChartItem> extends RmElement {
|
|
7376
7859
|
model: T;
|
|
7377
|
-
protected
|
|
7860
|
+
protected _op: ChartItemOptions;
|
|
7378
7861
|
mw: number;
|
|
7379
7862
|
mh: number;
|
|
7380
7863
|
_debugRect: RectElement;
|
|
@@ -7419,42 +7902,25 @@ declare abstract class SectionView extends GroupElement {
|
|
|
7419
7902
|
protected abstract _doLayout(param?: any): void;
|
|
7420
7903
|
protected abstract _doLocateInner(width: number, height: number, param?: any): void;
|
|
7421
7904
|
}
|
|
7422
|
-
|
|
7423
|
-
/**
|
|
7424
|
-
* @internal
|
|
7425
|
-
*/
|
|
7426
|
-
declare class LegendItemView extends ChartElement<LegendItem> {
|
|
7427
|
-
_back: RectElement;
|
|
7428
|
-
_marker: RmElement;
|
|
7429
|
-
_label: TextElement;
|
|
7430
|
-
_gap: number;
|
|
7431
|
-
_rMarker: IRect;
|
|
7432
|
-
_col: number;
|
|
7905
|
+
declare class MapWidgetTitleView extends LabelElement {
|
|
7433
7906
|
constructor(doc: Document);
|
|
7434
|
-
setMarker(elt: RmElement): RmElement;
|
|
7435
|
-
protected _doMeasure(doc: Document, model: LegendItem, hintWidth: number, hintHeight: number): ISize;
|
|
7436
|
-
protected _doLayout(wMarker: number): void;
|
|
7437
7907
|
}
|
|
7438
|
-
|
|
7439
|
-
* @internal
|
|
7440
|
-
*/
|
|
7441
|
-
declare class LegendView extends BoundableElement<Legend> {
|
|
7442
|
-
static readonly LEGEND_CLASS = "rm-legend";
|
|
7443
|
-
private _itemViews;
|
|
7444
|
-
private _vertical;
|
|
7445
|
-
private _rowViews;
|
|
7446
|
-
private _sizes;
|
|
7447
|
-
private _wMarkers;
|
|
7448
|
-
_gap: number;
|
|
7449
|
-
_ipr: number;
|
|
7908
|
+
declare class MapWidgetFooterView extends LabelElement {
|
|
7450
7909
|
constructor(doc: Document);
|
|
7451
|
-
|
|
7452
|
-
|
|
7910
|
+
}
|
|
7911
|
+
declare abstract class MapWidgetView<T extends MapWidget = MapWidget> extends BoundableElement<T> {
|
|
7912
|
+
protected _titleView: MapWidgetTitleView;
|
|
7913
|
+
protected _footerView: MapWidgetFooterView;
|
|
7914
|
+
protected _inTitle: boolean;
|
|
7915
|
+
protected _inFooter: boolean;
|
|
7916
|
+
protected _rTitle: IRect;
|
|
7917
|
+
protected _rFooter: IRect;
|
|
7918
|
+
protected _gapFooter: number;
|
|
7919
|
+
constructor(doc: Document, styleName: string, backStyle: string);
|
|
7453
7920
|
protected _setBackgroundStyle(back: RectElement): void;
|
|
7454
|
-
|
|
7455
|
-
protected
|
|
7456
|
-
|
|
7457
|
-
private $_measure;
|
|
7921
|
+
private $_layoutCaption;
|
|
7922
|
+
protected _checkTitle(doc: Document): boolean;
|
|
7923
|
+
protected _checkFooter(doc: Document): boolean;
|
|
7458
7924
|
}
|
|
7459
7925
|
|
|
7460
7926
|
interface IAnnotationAnchorOwner {
|
|
@@ -7468,7 +7934,7 @@ interface IAnnotationAnchorOwner {
|
|
|
7468
7934
|
declare abstract class AnnotationView<T extends Annotation = Annotation> extends BoundableElement<T> {
|
|
7469
7935
|
static readonly CLASS_NAME: string;
|
|
7470
7936
|
static register(...clses: [typeof Annotation<AnnotationOptions>, typeof AnnotationView<Annotation>][]): void;
|
|
7471
|
-
protected
|
|
7937
|
+
protected _op: AnnotationOptions;
|
|
7472
7938
|
constructor(doc: Document, styleName: string);
|
|
7473
7939
|
update(owner: IAnnotationAnchorOwner, hintWidth: number, hintHeight: number): void;
|
|
7474
7940
|
_layoutView(owner: IAnnotationAnchorOwner, x: number, y: number, w: number, h: number): void;
|
|
@@ -7482,31 +7948,44 @@ declare abstract class AnnotationView<T extends Annotation = Annotation> extends
|
|
|
7482
7948
|
/**
|
|
7483
7949
|
* @internal
|
|
7484
7950
|
*/
|
|
7485
|
-
declare class ColorScaleView extends
|
|
7951
|
+
declare class ColorScaleView extends MapWidgetView<ColorScale> {
|
|
7486
7952
|
static readonly SCALE_CLASS = "rm-color-scale";
|
|
7487
7953
|
static readonly SCALE_FILL = "rm-color-scale-fill";
|
|
7488
|
-
private
|
|
7489
|
-
private
|
|
7490
|
-
private
|
|
7491
|
-
private
|
|
7492
|
-
private
|
|
7954
|
+
private static readonly HORZ_FILL;
|
|
7955
|
+
private static readonly HORZ_FILL_I;
|
|
7956
|
+
private static readonly VERT_FILL;
|
|
7957
|
+
private static readonly VERT_FILL_I;
|
|
7958
|
+
private _scaleLayer;
|
|
7959
|
+
private _boxLayer;
|
|
7960
|
+
private _boxes;
|
|
7493
7961
|
private _splitLayer;
|
|
7494
7962
|
private _splits;
|
|
7495
7963
|
private _marker;
|
|
7496
7964
|
private _markerLabel;
|
|
7497
7965
|
private _tickLineLayer;
|
|
7498
7966
|
private _tickLabelLayer;
|
|
7967
|
+
private _nullLayer;
|
|
7499
7968
|
private _tickLines;
|
|
7500
7969
|
private _tickLabels;
|
|
7501
|
-
private
|
|
7970
|
+
private _nullBar;
|
|
7971
|
+
private _nullLabel;
|
|
7972
|
+
private _vertical;
|
|
7973
|
+
private _reversed;
|
|
7974
|
+
private _inverted;
|
|
7975
|
+
private _fills;
|
|
7976
|
+
private _nullSize;
|
|
7502
7977
|
private _markerSize;
|
|
7503
|
-
private _labelSize;
|
|
7504
7978
|
private _tickLen;
|
|
7505
7979
|
private _tickLabelSize;
|
|
7980
|
+
private _rScale;
|
|
7981
|
+
private _wBar;
|
|
7982
|
+
private _hBar;
|
|
7506
7983
|
private _value;
|
|
7984
|
+
private _stepCount;
|
|
7985
|
+
private _wSave;
|
|
7986
|
+
private _hSave;
|
|
7507
7987
|
constructor(doc: Document);
|
|
7508
7988
|
setValue(v: number): void;
|
|
7509
|
-
protected _setBackgroundStyle(back: RectElement): void;
|
|
7510
7989
|
protected _doMeasure(doc: Document, model: ColorScale, hintWidth: number, hintHeight: number): ISize;
|
|
7511
7990
|
protected _doLayout(): void;
|
|
7512
7991
|
private $_getFillId;
|
|
@@ -7517,15 +7996,19 @@ declare class ColorScaleView extends ChartElement<ColorScale> {
|
|
|
7517
7996
|
private $_prepareBars;
|
|
7518
7997
|
private $_prepareSplits;
|
|
7519
7998
|
private $_prepareTickLines;
|
|
7999
|
+
private $_prepareTickLabels;
|
|
7520
8000
|
private $_prepareMarker;
|
|
8001
|
+
private $_prepareNull;
|
|
7521
8002
|
private $_layoutSplits;
|
|
7522
8003
|
private $_layoutTickLines;
|
|
7523
8004
|
private $_resetMarker;
|
|
8005
|
+
private $_layoutBar;
|
|
7524
8006
|
}
|
|
7525
8007
|
|
|
7526
8008
|
type Visitor<T extends RmElement> = (element: T, index?: number, count?: number) => void;
|
|
7527
8009
|
/** @internal */
|
|
7528
8010
|
declare class ElementPool<T extends RmElement> extends RmObject {
|
|
8011
|
+
private _reversed;
|
|
7529
8012
|
removeDelay: number;
|
|
7530
8013
|
private _owner;
|
|
7531
8014
|
private _creator;
|
|
@@ -7536,12 +8019,18 @@ declare class ElementPool<T extends RmElement> extends RmObject {
|
|
|
7536
8019
|
new (doc: Document, styleName?: string): T;
|
|
7537
8020
|
}, styleName?: string, removeDelay?: number);
|
|
7538
8021
|
protected _doDestory(): void;
|
|
8022
|
+
/**
|
|
8023
|
+
* reversed.
|
|
8024
|
+
*/
|
|
8025
|
+
get reversed(): boolean;
|
|
8026
|
+
set reversed(value: boolean);
|
|
7539
8027
|
get isEmpty(): boolean;
|
|
7540
8028
|
get count(): number;
|
|
7541
8029
|
get first(): T;
|
|
7542
8030
|
get last(): T;
|
|
7543
8031
|
get(index: number): T;
|
|
7544
8032
|
getAll(): T[];
|
|
8033
|
+
getRange(start: number, end: number): T[];
|
|
7545
8034
|
elementOf(dom: Element): T;
|
|
7546
8035
|
prepare(count: number, visitor?: Visitor<T>, initor?: Visitor<T>): ElementPool<T>;
|
|
7547
8036
|
borrow(): T;
|
|
@@ -7598,44 +8087,6 @@ declare class PolyLineElement extends PathElement {
|
|
|
7598
8087
|
|
|
7599
8088
|
type ShapeDrawer = (rd: number, rd2: number) => (string | number)[];
|
|
7600
8089
|
|
|
7601
|
-
declare class ImageElement extends RmElement {
|
|
7602
|
-
private _dirty;
|
|
7603
|
-
private _bounds;
|
|
7604
|
-
/**
|
|
7605
|
-
* @IE11 not support SVGImageElement onload
|
|
7606
|
-
* 사이즈를 알기위해서 이벤트만 사용한다.
|
|
7607
|
-
*/
|
|
7608
|
-
private _proxy;
|
|
7609
|
-
/**
|
|
7610
|
-
* @IE11 image proxy onload event
|
|
7611
|
-
*/
|
|
7612
|
-
onloadProxy: () => void;
|
|
7613
|
-
constructor(doc: Document, full: boolean, styleName?: string);
|
|
7614
|
-
/** image url */
|
|
7615
|
-
get url(): string;
|
|
7616
|
-
set url(value: string);
|
|
7617
|
-
setImage(url: string, width: number, height: number): boolean;
|
|
7618
|
-
bbox(): IRect;
|
|
7619
|
-
}
|
|
7620
|
-
|
|
7621
|
-
/**
|
|
7622
|
-
* ChartText를 표시하는 텍스트 view.
|
|
7623
|
-
*/
|
|
7624
|
-
declare class LabelElement extends GroupElement {
|
|
7625
|
-
private _back;
|
|
7626
|
-
_outline: TextElement;
|
|
7627
|
-
_text: TextElement;
|
|
7628
|
-
_icon: ImageElement;
|
|
7629
|
-
private _model;
|
|
7630
|
-
private _box;
|
|
7631
|
-
constructor(doc: Document, styleName: string);
|
|
7632
|
-
setText(s: string): LabelElement;
|
|
7633
|
-
setModel(doc: Document, model: IconedText, icon: string, contrastTarget: Element): LabelElement;
|
|
7634
|
-
setContrast(target: Element): LabelElement;
|
|
7635
|
-
layout(): LabelElement;
|
|
7636
|
-
bbox(): IRect;
|
|
7637
|
-
}
|
|
7638
|
-
|
|
7639
8090
|
declare class HoverAnimation extends RmAnimation {
|
|
7640
8091
|
private _series;
|
|
7641
8092
|
_focused: boolean;
|
|
@@ -7726,6 +8177,9 @@ declare class PointContainer extends LayerElement {
|
|
|
7726
8177
|
}
|
|
7727
8178
|
type PointPositioner = (x: number, y: number, wPoint: number, hPoint: number) => IPoint;
|
|
7728
8179
|
type LabelPositioner = (x: number, y: number, rLabel: IRect, wPoint: number, hPoint: number, off: number) => IPoint;
|
|
8180
|
+
interface ISeriesViewOwner {
|
|
8181
|
+
getSiblingOf(sv: SeriesView): SeriesView;
|
|
8182
|
+
}
|
|
7729
8183
|
/**
|
|
7730
8184
|
* @internal
|
|
7731
8185
|
*
|
|
@@ -7748,6 +8202,8 @@ declare abstract class SeriesView<T extends Series = Series> extends ChartElemen
|
|
|
7748
8202
|
[pos: string]: LabelPositioner;
|
|
7749
8203
|
};
|
|
7750
8204
|
_second: boolean;
|
|
8205
|
+
_h1: number;
|
|
8206
|
+
_h2: number;
|
|
7751
8207
|
_pointLayer: LayerElement;
|
|
7752
8208
|
_pointContainer: PointContainer;
|
|
7753
8209
|
_calloutContainer: PointCalloutContainer;
|
|
@@ -7765,6 +8221,7 @@ declare abstract class SeriesView<T extends Series = Series> extends ChartElemen
|
|
|
7765
8221
|
protected _scaler: (coord: MapCoord) => MapCoord;
|
|
7766
8222
|
_aniOpacity: number;
|
|
7767
8223
|
constructor(doc: Document, className: string, needLabels?: boolean);
|
|
8224
|
+
get owner(): ISeriesViewOwner;
|
|
7768
8225
|
protected _setCalcedColor(model: T, dom: Element): void;
|
|
7769
8226
|
protected _setModelColor(color: string): void;
|
|
7770
8227
|
prepare(doc: Document, model: T): void;
|
|
@@ -7853,6 +8310,9 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
|
|
|
7853
8310
|
private _frontAxisGuideContainer;
|
|
7854
8311
|
private _secondFrontAxisGuideContainer;
|
|
7855
8312
|
private _crosshairView;
|
|
8313
|
+
private _seconded;
|
|
8314
|
+
private _h1;
|
|
8315
|
+
private _h2;
|
|
7856
8316
|
private _clip;
|
|
7857
8317
|
private _clipMap;
|
|
7858
8318
|
private _requestShow;
|
|
@@ -7864,7 +8324,6 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
|
|
|
7864
8324
|
get transformInfo(): IBodyTransform;
|
|
7865
8325
|
get isProjectionChanged(): boolean;
|
|
7866
8326
|
getSeries(series: Series): SeriesView<Series<SeriesOptions>>;
|
|
7867
|
-
canScroll(): boolean;
|
|
7868
8327
|
prepare(doc: Document, model: Body): void;
|
|
7869
8328
|
protected _doMeasure(doc: Document, model: Body, hintWidth: number, hintHeight: number): ISize;
|
|
7870
8329
|
protected _doLayout(param: any): void;
|
|
@@ -7877,7 +8336,7 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
|
|
|
7877
8336
|
showSeries(series: Series): void;
|
|
7878
8337
|
hideSeries(series: Series): void;
|
|
7879
8338
|
/**
|
|
7880
|
-
* 클릭된 픽셀 좌표(x, y)를 경위도 좌표로
|
|
8339
|
+
* 클릭된 픽셀 좌표(x, y)를 경위도 좌표로 변환한다.<br/>
|
|
7881
8340
|
* 픽셀 좌표는 BodyView의 Dom 노드의 오프셋 좌표여야 한다.
|
|
7882
8341
|
*
|
|
7883
8342
|
* ```ts
|
|
@@ -7892,8 +8351,9 @@ declare class BodyView extends ChartElement<Body> implements IAnnotationAnchorOw
|
|
|
7892
8351
|
* @param point 픽셀 좌표
|
|
7893
8352
|
* @returns 경위도 좌표
|
|
7894
8353
|
*/
|
|
7895
|
-
|
|
7896
|
-
|
|
8354
|
+
mouseToMap(point: IPoint): MapCoord;
|
|
8355
|
+
pointToMap(x: number, y: number): MapCoord;
|
|
8356
|
+
private $_prepareSeries;
|
|
7897
8357
|
private $_prepareLayoutSeries;
|
|
7898
8358
|
private $_prepareAnnotations;
|
|
7899
8359
|
private $_layoutAnnotations;
|
|
@@ -7980,10 +8440,8 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
7980
8440
|
private _annotationContainer;
|
|
7981
8441
|
private _bodyView;
|
|
7982
8442
|
private _titleSectionView;
|
|
7983
|
-
private
|
|
7984
|
-
private
|
|
7985
|
-
private _bubbleScaleMap;
|
|
7986
|
-
private _legendSectionView;
|
|
8443
|
+
private _widgetLayer;
|
|
8444
|
+
private _widgetMap;
|
|
7987
8445
|
private _frontAnnotationContainer;
|
|
7988
8446
|
private _annotationViews;
|
|
7989
8447
|
private _annotationMap;
|
|
@@ -7997,9 +8455,9 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
7997
8455
|
getAnnotationAnchor(model: any): RmElement;
|
|
7998
8456
|
titleView(): TitleView;
|
|
7999
8457
|
subtitleView(): TitleView;
|
|
8000
|
-
legendView(): LegendView;
|
|
8001
8458
|
bodyView(): BodyView;
|
|
8002
8459
|
drilldownPanelView(): DrilldownPanelView;
|
|
8460
|
+
getWidgetViews(loc: ChartItemLocation, widgets: MapWidget[]): MapWidgetView<MapWidget<MapWidgetOptions>>[];
|
|
8003
8461
|
measure(doc: Document, m: ChartObject, hintWidth: number, hintHeight: number): void;
|
|
8004
8462
|
layout(): void;
|
|
8005
8463
|
showTooltip(series: Series, pv: IPointView, map: BodyView, p: IPoint): void;
|
|
@@ -8010,8 +8468,10 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
8010
8468
|
legendByDom(dom: Element): LegendItem;
|
|
8011
8469
|
seriesByDom(dom: Element): SeriesView;
|
|
8012
8470
|
creditByDom(dom: Element): CreditsView;
|
|
8471
|
+
getWidgetView(widget: MapWidget): MapWidgetView<MapWidget<MapWidgetOptions>>;
|
|
8013
8472
|
getScaleView(scale: ColorScale): ColorScaleView;
|
|
8014
8473
|
pointerMoved(x: number, y: number, target: EventTarget): void;
|
|
8474
|
+
click(ev: PointerEvent, elt: Element, sv: SeriesView): void;
|
|
8015
8475
|
getButton(dom: Element): ButtonElement;
|
|
8016
8476
|
buttonClicked(button: ButtonElement): void;
|
|
8017
8477
|
updateAnnotation(anno: Annotation): void;
|
|
@@ -8042,6 +8502,7 @@ declare class ChartControl extends RmControl implements IMapChartEvents {
|
|
|
8042
8502
|
onRequestRender(chart: ChartObject, now: boolean): void;
|
|
8043
8503
|
onRequestShowSeries(chart: ChartObject, series: Series, visible: boolean): void;
|
|
8044
8504
|
onExportRequest(chart: ChartObject, options: ExportOptions): void;
|
|
8505
|
+
onPointToMap(chart: ChartObject, x: number, y: number): MapCoord;
|
|
8045
8506
|
/**
|
|
8046
8507
|
* chart model.
|
|
8047
8508
|
*/
|
|
@@ -8065,6 +8526,18 @@ declare class ChartControl extends RmControl implements IMapChartEvents {
|
|
|
8065
8526
|
private $_renderLoadingView;
|
|
8066
8527
|
}
|
|
8067
8528
|
|
|
8529
|
+
declare class ExternalModuleManager {
|
|
8530
|
+
private static instance;
|
|
8531
|
+
static ModuleNames: {
|
|
8532
|
+
realchart: string;
|
|
8533
|
+
};
|
|
8534
|
+
private _moduleMap;
|
|
8535
|
+
private constructor();
|
|
8536
|
+
static getInstance(): ExternalModuleManager;
|
|
8537
|
+
registerModule(id: keyof typeof ExternalModuleManager.ModuleNames, externalModule: any): void;
|
|
8538
|
+
findModule(id: keyof typeof ExternalModuleManager.ModuleNames): any | null;
|
|
8539
|
+
}
|
|
8540
|
+
|
|
8068
8541
|
declare class BarSeriesPoint extends OrthogonalSparkSeriesPoint {
|
|
8069
8542
|
}
|
|
8070
8543
|
/**
|
|
@@ -8078,6 +8551,7 @@ declare class BarSeries extends OrthogonalSparkSeries<BarSeriesOptions> {
|
|
|
8078
8551
|
private _subLabel;
|
|
8079
8552
|
protected _doInit(op: BarSeriesOptions): void;
|
|
8080
8553
|
get subLabel(): DataPointLabel<DataPointLabelOptions>;
|
|
8554
|
+
get reversed(): boolean;
|
|
8081
8555
|
pointLabelCount(): number;
|
|
8082
8556
|
protected _createPoint(source: any): BarSeriesPoint;
|
|
8083
8557
|
protected _defLabelOff(): number;
|
|
@@ -8523,6 +8997,12 @@ declare class PanelSeries extends ValueSeries<PanelSeriesOptions> {
|
|
|
8523
8997
|
|
|
8524
8998
|
declare class PieSeriesPoint extends SparkSeriesPoint {
|
|
8525
8999
|
}
|
|
9000
|
+
declare class PieSeriesThresholdImpl implements PieSeriesThreshold {
|
|
9001
|
+
value: number;
|
|
9002
|
+
radius: number;
|
|
9003
|
+
style: SVGStyleOrClass;
|
|
9004
|
+
constructor(value: number, radius: number, style: SVGStyleOrClass);
|
|
9005
|
+
}
|
|
8526
9006
|
/**
|
|
8527
9007
|
* Pie 시리즈 모델.<br/>
|
|
8528
9008
|
* {@page op.SeriesOptions#type}은 {@page config.series.pie 'pie'}이고,
|
|
@@ -8534,11 +9014,15 @@ declare class PieSeries extends SparkSeries<PieSeriesOptions> {
|
|
|
8534
9014
|
_startRad: number;
|
|
8535
9015
|
_totalRad: number;
|
|
8536
9016
|
private _radiusDim;
|
|
9017
|
+
private _thresholds;
|
|
8537
9018
|
getRadius(domain: number): number;
|
|
9019
|
+
hasThreshold(): PieSeriesThresholdImpl[];
|
|
9020
|
+
getThreshold(value: number): PieSeriesThresholdImpl;
|
|
8538
9021
|
protected _createPoint(source: any): PieSeriesPoint;
|
|
8539
9022
|
protected _defLabelOff(): number;
|
|
8540
9023
|
protected _doApply(options: PieSeriesOptions): void;
|
|
8541
9024
|
protected _doPrepareRender(chart: IChart): void;
|
|
9025
|
+
private $_parseThresholds;
|
|
8542
9026
|
}
|
|
8543
9027
|
|
|
8544
9028
|
/**
|
|
@@ -8647,7 +9131,6 @@ declare class RouteSeries extends Series<RouteSeriesOptions> {
|
|
|
8647
9131
|
|
|
8648
9132
|
type WaffleGrid = any[][];
|
|
8649
9133
|
declare class WaffleSeriesPoint extends SparkSeriesPoint {
|
|
8650
|
-
_sum: number;
|
|
8651
9134
|
}
|
|
8652
9135
|
/**
|
|
8653
9136
|
* Waffle 시리즈 모델.<br/>
|
|
@@ -8708,7 +9191,7 @@ declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
|
|
|
8708
9191
|
private _timeFormat;
|
|
8709
9192
|
_domain: IRichTextDomain;
|
|
8710
9193
|
protected _isVisible(): boolean;
|
|
8711
|
-
protected _doSetSimple(src: any): boolean;
|
|
9194
|
+
protected _doSetSimple(op: TextAnnotationOptions, src: any): boolean;
|
|
8712
9195
|
protected _doApply(options: TextAnnotationOptions): void;
|
|
8713
9196
|
}
|
|
8714
9197
|
|
|
@@ -8721,7 +9204,7 @@ declare class ImageAnnotation extends Annotation<ImageAnnotationOptions> {
|
|
|
8721
9204
|
static type: string;
|
|
8722
9205
|
static defaults: ImageAnnotationOptions;
|
|
8723
9206
|
protected _isVisible(): boolean;
|
|
8724
|
-
protected _doSetSimple(src: any): boolean;
|
|
9207
|
+
protected _doSetSimple(op: ImageAnnotationOptions, src: any): boolean;
|
|
8725
9208
|
}
|
|
8726
9209
|
|
|
8727
9210
|
/**
|
|
@@ -8740,7 +9223,7 @@ declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|
|
|
8740
9223
|
yRange: number[];
|
|
8741
9224
|
};
|
|
8742
9225
|
getShape(): Shape;
|
|
8743
|
-
protected _doSetSimple(src: any): boolean;
|
|
9226
|
+
protected _doSetSimple(op: ShapeAnnotationOptions, src: any): boolean;
|
|
8744
9227
|
}
|
|
8745
9228
|
|
|
8746
9229
|
/**
|
|
@@ -8753,6 +9236,8 @@ declare class HtmlAnnotation extends Annotation<HtmlAnnotationOptions> {
|
|
|
8753
9236
|
static readonly type = "html";
|
|
8754
9237
|
static defaults: HtmlAnnotationOptions;
|
|
8755
9238
|
private _params;
|
|
9239
|
+
private _paramCallback;
|
|
9240
|
+
private _userParams;
|
|
8756
9241
|
setParams(params: object): void;
|
|
8757
9242
|
applyParams(target: string): string;
|
|
8758
9243
|
/**
|
|
@@ -8760,7 +9245,8 @@ declare class HtmlAnnotation extends Annotation<HtmlAnnotationOptions> {
|
|
|
8760
9245
|
*/
|
|
8761
9246
|
private $_apply;
|
|
8762
9247
|
protected _isVisible(): boolean;
|
|
8763
|
-
protected _doSetSimple(src: any): boolean;
|
|
9248
|
+
protected _doSetSimple(op: HtmlAnnotationOptions, src: any): boolean;
|
|
9249
|
+
protected _doPrepareRender(chart: IChart): void;
|
|
8764
9250
|
}
|
|
8765
9251
|
|
|
8766
9252
|
declare abstract class SeriesAnimation {
|
|
@@ -8957,6 +9443,7 @@ declare class Utils {
|
|
|
8957
9443
|
* @param path 'aaa.bbb.2.ccc' 형식으로 지정한다. 2는 배열 항목 index.
|
|
8958
9444
|
*/
|
|
8959
9445
|
static valueAt(data: any, path?: string): any;
|
|
9446
|
+
static normalizeToSteps(arr: number[], n: number): number[];
|
|
8960
9447
|
}
|
|
8961
9448
|
|
|
8962
9449
|
interface IDomContaner {
|
|
@@ -9042,10 +9529,11 @@ declare class Dom {
|
|
|
9042
9529
|
declare const getVersion: typeof Globals.getVersion;
|
|
9043
9530
|
declare const setDebugging: typeof Globals.setDebugging;
|
|
9044
9531
|
declare const setLogging: typeof Globals.setLogging;
|
|
9532
|
+
declare const setGlobals: typeof Globals.setGlobals;
|
|
9045
9533
|
declare const getDistance: typeof Globals.getDistance;
|
|
9046
9534
|
declare const createChart: typeof Globals.createChart;
|
|
9047
9535
|
declare const createChartAsync: typeof Globals.createChartAsync;
|
|
9048
9536
|
declare const preset: typeof Globals.preset;
|
|
9049
9537
|
declare const setLicenseKey: typeof Globals.setLicenseKey;
|
|
9050
9538
|
|
|
9051
|
-
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BandSeriesOptions, BandSeriesType, BarSeries, BarSeriesOptions, Body, BodyView, BubbleSeries, BubbleSeriesOptions, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptionsOptions,
|
|
9539
|
+
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, Credits, CreditsOptions, DataPoint, DataPointArgs as DataPointCallbackArgs, DataPointLabel, DataPointLabelOptions, Dom, DragTracker, ElementPool, ExportOptions, Exporter, ExporterOptions, ExternalModuleManager, FeatureSeriesLabelOptions, FeatureSeriesOptions, FeatureSeriesType, FigureSeries, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, HtmlAnnotation, IChart, ILegendSource, IPercentSize, IPointView, IRect, ISeries, ISize, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageSeries, LayerElement, Legend, LegendOptions, LineElement, LineSeries, LineSeriesOptions, LinearGradientOptions, LoadCallbackArgs, MapArea, MapAxis, MapAxisBandGuide, MapAxisGuide, MapAxisLineGuide, MapAxisRangeGuide, MapChart, MapCoord, MapCrosshair, MapInset, MapInsetDisplay, MapProjection, MapSeries, MapSeriesLabelOptions, MapSeriesOptions, MapSeriesType, MapTool, MapBackgroundOptions as MapViewBackgroundOptions, BodyOptions as MapViewOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPoint, MarkerSeriesPointView, MarkerSeriesView, ORG_ANGLE, OrthogonalSparkSeries, PI_2, PanelSeries, PathElement, PatternOptions, PercentSize, PieSeries, PieSeriesOptions, PinSeries, PointElement, PointLabelView, PointSeries, PointViewPool, PointViewPosition, PolyLineElement, ProjectionType, RAD_DEG, RadialGradientOptions, RectElement, RmElement, RouteSeries, RouteSeriesOptions, RouteSeriesType, 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, TiledWebSeriesOptions, TiledWebSeriesType, Title, TitleOptions, TooltipOptions, TrackSeriesOptions, TrackSeriesOutlineOptions, TrackSeriesType, Utils, ValuePoint, ValueSeries, VectorSeriesOptions, VectorSeriesType, WaffleSeries, _isIE, absv, assignObj, calcPercent, copyObj, cos, createChart, createChartAsync, createRect, extend, fixnum, getDistance, getVersion, incv, isArray, isEmptyRect, isObject, isString, maxv, minv, parsePercentSize, pickNum, pickProp, pickProp3, pixel, preset, rectToSize, setDebugging, setGlobals, setLicenseKey, setLogging, sin };
|