realmap 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/band.d.ts +28 -0
- package/band.js +7 -0
- package/band.mjs +7 -0
- package/chart.d.ts +28 -0
- package/chart.js +7 -0
- package/chart.mjs +7 -0
- package/editor.d.ts +6 -0
- package/editor.js +7 -0
- package/editor.mjs +7 -0
- package/{realmap-export.d.ts → export.d.ts} +3 -1
- package/{realmap-export.js → export.js} +2 -2
- package/export.mjs +7 -0
- package/feature.js +1 -1
- package/feature.mjs +1 -1
- package/heatmap.js +2 -2
- package/heatmap.mjs +2 -2
- package/index.d.ts +430 -57
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +43 -7
- package/realmap-export-style.css +1 -1
- package/realmap-style.css +11 -0
- package/sankey.d.ts +28 -0
- package/sankey.js +7 -0
- package/sankey.mjs +7 -0
- package/table.d.ts +28 -0
- package/table.js +7 -0
- package/table.mjs +7 -0
- package/tiledweb.js +1 -1
- package/tiledweb.mjs +1 -1
- package/track.d.ts +39 -0
- package/track.js +7 -0
- package/track.mjs +7 -0
- package/vector.js +2 -2
- package/vector.mjs +2 -2
package/index.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ declare function calcPercent(size: IPercentSize, domain: number, def?: number):
|
|
|
20
20
|
*/
|
|
21
21
|
interface SVGStyles {
|
|
22
22
|
transform?: string;
|
|
23
|
+
transformBox?: string;
|
|
24
|
+
transformOrigin?: string;
|
|
23
25
|
/**
|
|
24
26
|
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill fill} 스타일 속성.<br/>
|
|
25
27
|
*/
|
|
@@ -92,6 +94,31 @@ type SVGStyleOrClass = SVGStyles | string;
|
|
|
92
94
|
*/
|
|
93
95
|
interface CSSStyles extends Partial<CSSStyleDeclaration> {
|
|
94
96
|
}
|
|
97
|
+
/** @internal */
|
|
98
|
+
interface CSSStyles2 extends CSSStyles {
|
|
99
|
+
display?: string;
|
|
100
|
+
position?: string;
|
|
101
|
+
alignItems?: string;
|
|
102
|
+
justifyContent?: string;
|
|
103
|
+
flexDirection?: string;
|
|
104
|
+
flexWrap?: string;
|
|
105
|
+
gap?: string;
|
|
106
|
+
flex?: string;
|
|
107
|
+
width?: string;
|
|
108
|
+
height?: string;
|
|
109
|
+
minHeight?: string;
|
|
110
|
+
minWidth?: string;
|
|
111
|
+
maxWidth?: string;
|
|
112
|
+
left?: string;
|
|
113
|
+
top?: string;
|
|
114
|
+
overflow?: string;
|
|
115
|
+
marginRight?: string;
|
|
116
|
+
whiteSpace?: string;
|
|
117
|
+
margin?: string;
|
|
118
|
+
marginLeft?: string;
|
|
119
|
+
pointerEvents?: string;
|
|
120
|
+
transform?: string;
|
|
121
|
+
}
|
|
95
122
|
interface ISides {
|
|
96
123
|
left: number;
|
|
97
124
|
right: number;
|
|
@@ -629,7 +656,7 @@ interface IconedTextOptions extends ChartTextOptions {
|
|
|
629
656
|
/**
|
|
630
657
|
* DataPointCallbackArgs
|
|
631
658
|
*/
|
|
632
|
-
interface
|
|
659
|
+
interface DataPointArgs {
|
|
633
660
|
series: object;
|
|
634
661
|
count: number;
|
|
635
662
|
vcount: number;
|
|
@@ -650,6 +677,17 @@ interface DataPointCallbackArgs {
|
|
|
650
677
|
labelIndex: number;
|
|
651
678
|
source: any;
|
|
652
679
|
}
|
|
680
|
+
interface DataPointListkArgs {
|
|
681
|
+
/**
|
|
682
|
+
* 데이터포인트 개수.
|
|
683
|
+
*/
|
|
684
|
+
count: number;
|
|
685
|
+
/**
|
|
686
|
+
* 해당 위치의 데이터포인트 정보를 리턴한다.<br/
|
|
687
|
+
* 리턴되는 객체는 재사용되므로 보관할 수 없다.
|
|
688
|
+
*/
|
|
689
|
+
get(index: number): DataPointArgs;
|
|
690
|
+
}
|
|
653
691
|
interface AnimationOptions {
|
|
654
692
|
duration: number;
|
|
655
693
|
end: () => void;
|
|
@@ -759,6 +797,8 @@ interface ChartExporter {
|
|
|
759
797
|
exportToPrint: (dom: HTMLElement, options: ExportOptions) => void;
|
|
760
798
|
isContextMenuVisible: () => boolean;
|
|
761
799
|
toggleContextMenu: () => void;
|
|
800
|
+
contains: (dom: Element) => boolean;
|
|
801
|
+
hideContextMenu: () => void;
|
|
762
802
|
}
|
|
763
803
|
|
|
764
804
|
interface IPoint {
|
|
@@ -813,7 +853,7 @@ interface AnnotationAnimationOptions {
|
|
|
813
853
|
type: string;
|
|
814
854
|
duration?: number;
|
|
815
855
|
}
|
|
816
|
-
type AnnotationType = 'image' | 'shape' | 'text';
|
|
856
|
+
type AnnotationType = 'image' | 'shape' | 'text' | 'html';
|
|
817
857
|
/**
|
|
818
858
|
* Annotation 모델.<br/>
|
|
819
859
|
*
|
|
@@ -822,7 +862,8 @@ type AnnotationType = 'image' | 'shape' | 'text';
|
|
|
822
862
|
interface AnnotationOptions extends ChartItemOptions {
|
|
823
863
|
type?: AnnotationType;
|
|
824
864
|
/**
|
|
825
|
-
* true로 지정하면 시리즈들 위에
|
|
865
|
+
* true로 지정하면 시리즈들 위에 표시된다.<br/>
|
|
866
|
+
* 명시적으로 false로 지정해야 시리즈들 아래 표시된다.
|
|
826
867
|
*
|
|
827
868
|
* @default false
|
|
828
869
|
*/
|
|
@@ -1047,7 +1088,54 @@ interface TextAnnotationOptions extends AnnotationOptions {
|
|
|
1047
1088
|
*/
|
|
1048
1089
|
textOrientation?: TextOrientation;
|
|
1049
1090
|
}
|
|
1050
|
-
|
|
1091
|
+
declare const HtmlAnnotationType = "html";
|
|
1092
|
+
/**
|
|
1093
|
+
* HTML 어노테이션.<br/>
|
|
1094
|
+
* {@page op.AnnotationOptions#type}은 'html'이다.<br/>
|
|
1095
|
+
*
|
|
1096
|
+
* // TODO #fiddle annotation/html-annotation Html Annotation
|
|
1097
|
+
* @css 'rm-html-annotation'
|
|
1098
|
+
* @config chart.annotation[type=html]
|
|
1099
|
+
*/
|
|
1100
|
+
interface HtmlAnnotationOptions extends AnnotationOptions {
|
|
1101
|
+
type?: typeof HtmlAnnotationType;
|
|
1102
|
+
/**
|
|
1103
|
+
* true로 설정되고 {@link text}가 설정된 경우에만 표시된다.
|
|
1104
|
+
*
|
|
1105
|
+
* @default true
|
|
1106
|
+
*/
|
|
1107
|
+
visible?: boolean;
|
|
1108
|
+
/**
|
|
1109
|
+
* 이 속성으로 지정한 html 내용을 표시한다.<br/>
|
|
1110
|
+
* '.'나 '#'으로 시작되는 html selector로 지정하면 해당하는 dom의 {@page https://developer.mozilla.org/ko/docs/Web/API/Element/innerHTML innerHTML}을 가져와 표시한다.<br/>
|
|
1111
|
+
* 예를 들어 id가 'abc'인 dom인 경우 '#abc'로 지정한다.
|
|
1112
|
+
* 즉, document.{@page https://developer.mozilla.org/ko/docs/Web/API/Document/querySelector querySelector}(htmlFrom)로 리턴되는 dom의 내용을 표시한다.<br/>
|
|
1113
|
+
* 생성되는 dom의 스타일은 {@page htmlStyle}로 지정한다.
|
|
1114
|
+
*/
|
|
1115
|
+
html?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* 이 속성으로 지정한 selector에 해당하는 dom의 {@page https://developer.mozilla.org/ko/docs/Web/API/Element/innerHTML innerHTML}을 가져와 표시한다.<br/>
|
|
1118
|
+
* 예를 들어 id가 'abc'인 dom인 경우 '#abc'로 지정한다.
|
|
1119
|
+
* 즉, document.{@page https://developer.mozilla.org/ko/docs/Web/API/Document/querySelector querySelector}(htmlFrom)로 리턴되는 dom의 내용을 표시한다.<br/>
|
|
1120
|
+
* 이 속성이 {@page html}보다 우선한다. 다만, 존재하지 않은 dom을 지정한 경우 {@page html}에 지정한 내용을 대신 표시한다.
|
|
1121
|
+
* 생성되는 dom의 스타일은 {@page htmlStyle}로 지정한다.
|
|
1122
|
+
*/
|
|
1123
|
+
htmlFrom?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* {@page html}로 생성되는 최상위 dom에 적용되는 스타일셋.<br/>
|
|
1126
|
+
*/
|
|
1127
|
+
htmlStyle?: CSSStyleDeclaration;
|
|
1128
|
+
/**
|
|
1129
|
+
* @append
|
|
1130
|
+
* 너비를 반드시 지정해야 한다.<br/>
|
|
1131
|
+
* 지정하지 않으면 100 픽셀 너비로 표시한다.
|
|
1132
|
+
* {@page height 높이}를 지정하지 않으면 생성된 dom의 높이에 맞춰진다.
|
|
1133
|
+
*
|
|
1134
|
+
* @default 100
|
|
1135
|
+
*/
|
|
1136
|
+
width?: PercentSize;
|
|
1137
|
+
}
|
|
1138
|
+
type AnnotationOptionsType = ImageAnnotationOptions | ShapeAnnotationOptions | TextAnnotationOptions | HtmlAnnotationOptions;
|
|
1051
1139
|
|
|
1052
1140
|
/** @internal */
|
|
1053
1141
|
declare class Color {
|
|
@@ -1351,6 +1439,8 @@ declare abstract class RmControl extends RmObject {
|
|
|
1351
1439
|
private _invalidateLock;
|
|
1352
1440
|
private _lockDirty;
|
|
1353
1441
|
private _cssVars;
|
|
1442
|
+
private _resizeObserver;
|
|
1443
|
+
private _domResize;
|
|
1354
1444
|
loaded: boolean;
|
|
1355
1445
|
_padding: ISides;
|
|
1356
1446
|
_scrolling: boolean;
|
|
@@ -1381,6 +1471,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
1381
1471
|
releaseLock(validate?: boolean): void;
|
|
1382
1472
|
lock(func: (control: RmControl) => void): void;
|
|
1383
1473
|
silentLock(func: (control: RmControl) => void): void;
|
|
1474
|
+
setDomResize(value: boolean): void;
|
|
1384
1475
|
getBounds(): DOMRect;
|
|
1385
1476
|
setAnimation(to?: number): void;
|
|
1386
1477
|
fling(distance: number, duration: number): void;
|
|
@@ -1395,7 +1486,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
1395
1486
|
protected _setTesting(): void;
|
|
1396
1487
|
protected _setSize(w: number, h: number): void;
|
|
1397
1488
|
private $_addListener;
|
|
1398
|
-
protected
|
|
1489
|
+
protected _registerEventHandlers(dom: HTMLElement): void;
|
|
1399
1490
|
protected _unresigterEventHandlers(dom: HTMLElement): void;
|
|
1400
1491
|
protected abstract _creatDefaultTool(): RmTool;
|
|
1401
1492
|
protected _prepareRenderers(dom: HTMLElement): void;
|
|
@@ -1423,7 +1514,8 @@ declare abstract class RmControl extends RmObject {
|
|
|
1423
1514
|
protected _doKeyPress(event: KeyboardEvent): void;
|
|
1424
1515
|
protected _doWheel(event: WheelEvent): void;
|
|
1425
1516
|
protected _windowResizeHandler: (event: Event) => void;
|
|
1426
|
-
protected
|
|
1517
|
+
protected _domResizeHandler: (event: Event) => void;
|
|
1518
|
+
protected _domResized(): void;
|
|
1427
1519
|
private _clickHandler;
|
|
1428
1520
|
private _dblClickHandler;
|
|
1429
1521
|
private _touchStartHandler;
|
|
@@ -1507,7 +1599,7 @@ declare class RmElement extends RmObject {
|
|
|
1507
1599
|
getStyle(prop: string): string;
|
|
1508
1600
|
hasStyle(className: string): boolean;
|
|
1509
1601
|
containsDom(dom: Element): boolean;
|
|
1510
|
-
addDom(dom: SVGElement): SVGElement;
|
|
1602
|
+
addDom(dom: SVGElement | HTMLElement): HTMLElement | SVGElement;
|
|
1511
1603
|
add<T extends RmElement>(child: T): T;
|
|
1512
1604
|
addAll(...children: RmElement[]): void;
|
|
1513
1605
|
insertChild<T extends RmElement>(child: T, before: RmElement): T;
|
|
@@ -1534,9 +1626,11 @@ declare class RmElement extends RmObject {
|
|
|
1534
1626
|
scale(value: number, yValue?: number): this;
|
|
1535
1627
|
trans(x: number, y: number): RmElement;
|
|
1536
1628
|
transp(p: IPoint): RmElement;
|
|
1629
|
+
transc(p: MapCoord): RmElement;
|
|
1537
1630
|
transEx(x: number, y: number, duration?: number, invalidate?: boolean): RmElement;
|
|
1538
1631
|
transX(x: number): RmElement;
|
|
1539
1632
|
transY(y: number): RmElement;
|
|
1633
|
+
transform(s: string): void;
|
|
1540
1634
|
resize(width: number, height: number, attr?: boolean): boolean;
|
|
1541
1635
|
appendDom(dom: Node): Node;
|
|
1542
1636
|
insertDom(dom: Node, before: Node): Node;
|
|
@@ -1561,7 +1655,7 @@ declare class RmElement extends RmObject {
|
|
|
1561
1655
|
internalResetStyleOrClass(style: SVGStyleOrClass): void;
|
|
1562
1656
|
protected _setBackgroundBorderRadius(value: number): void;
|
|
1563
1657
|
setBackStyles(styles: any): boolean;
|
|
1564
|
-
setStyle(prop: string, value:
|
|
1658
|
+
setStyle(prop: string, value: any): boolean;
|
|
1565
1659
|
internalSetStyle(prop: string, value: string): void;
|
|
1566
1660
|
internalSetImportantStyle(prop: string, value: string): void;
|
|
1567
1661
|
setBackStyle(prop: string, value: string): boolean;
|
|
@@ -1807,9 +1901,9 @@ declare const _Shapes: {
|
|
|
1807
1901
|
/** @dummy */
|
|
1808
1902
|
type Shape = typeof _Shapes[keyof typeof _Shapes];
|
|
1809
1903
|
|
|
1810
|
-
type PointHoverCallback = (args:
|
|
1811
|
-
type PointClickCallback = (args:
|
|
1812
|
-
type PointStyleCallback = (args:
|
|
1904
|
+
type PointHoverCallback = (args: DataPointArgs) => void;
|
|
1905
|
+
type PointClickCallback = (args: DataPointArgs) => boolean;
|
|
1906
|
+
type PointStyleCallback = (args: DataPointArgs) => SVGStyleOrClass;
|
|
1813
1907
|
/**
|
|
1814
1908
|
* @enum
|
|
1815
1909
|
*/
|
|
@@ -2004,6 +2098,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2004
2098
|
* 데이터포인트 목록을 생성하는 데 참조되는 데이터셋.<br/>
|
|
2005
2099
|
* {@page g.createChartAsync createChartAsync}를 호출해서 비동기로
|
|
2006
2100
|
* 맵차트를 생성할 때는 {@page dataUrl}로 원격 데이터 소스를 지정할 수 있다.
|
|
2101
|
+
* [주의] 처음 load 후 data의 내용을 변경해도 차트에 반영되지 않는다.
|
|
2007
2102
|
*/
|
|
2008
2103
|
data?: any;
|
|
2009
2104
|
/**
|
|
@@ -2015,6 +2110,12 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2015
2110
|
* 콘솔에 경고 메시지가 표시된다.
|
|
2016
2111
|
*/
|
|
2017
2112
|
dataUrl?: string;
|
|
2113
|
+
/**
|
|
2114
|
+
* {@page data}나 {@page dataUrl}로 지정된 데이터소스에서 시리즈 데이터로 가져올 배열의 위치를 지정한다.<br/>
|
|
2115
|
+
* "aaa.bbb" 형식으로 지정한다. 배열 항목은 숫자로 지정한다. "aaa.2.bbb".
|
|
2116
|
+
* 지정하지 않으면 최상위 JSON 객체를 그대로 사용한다.
|
|
2117
|
+
*/
|
|
2118
|
+
dataPath?: string;
|
|
2018
2119
|
/**
|
|
2019
2120
|
* {@page data}가 array로 제공되어 datapoint로 생성될 때,
|
|
2020
2121
|
* array의 각 항목에 해당하는 이름으로 datapoint source의 값을 사용한다.
|
|
@@ -2102,8 +2203,12 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2102
2203
|
* 데이터포인트들이 새로 로드된 후 호출된다.
|
|
2103
2204
|
*/
|
|
2104
2205
|
onPointsLoaded?: (series: object, firstTime: boolean) => void;
|
|
2105
|
-
onPointAdded?: (
|
|
2106
|
-
onPointRemoved?: (
|
|
2206
|
+
onPointAdded?: (args: DataPointArgs) => void;
|
|
2207
|
+
onPointRemoved?: (args: DataPointArgs) => void;
|
|
2208
|
+
onPointUpdated?: (args: DataPointArgs) => void;
|
|
2209
|
+
onPointListAdded?: (args: DataPointListkArgs) => void;
|
|
2210
|
+
onPointListRemoved?: (args: DataPointListkArgs) => void;
|
|
2211
|
+
onPointListUpdated?: (args: DataPointListkArgs) => void;
|
|
2107
2212
|
/**
|
|
2108
2213
|
* 데이터 point가 클릭될 때 호출되는 이벤트 콜백.<br/>
|
|
2109
2214
|
* 명시적 true를 리턴하면 기본 동작이 진행되지 않는다.
|
|
@@ -2192,6 +2297,8 @@ interface GaugeOptions extends ValueSeriesOptions {
|
|
|
2192
2297
|
/**
|
|
2193
2298
|
* {@page width}, {@page height}를 동시에 지정한다.<br/>
|
|
2194
2299
|
* 이 속성보다 {@page width}, {@page height}가 우선한다.
|
|
2300
|
+
*
|
|
2301
|
+
* @default 60
|
|
2195
2302
|
*/
|
|
2196
2303
|
size?: number;
|
|
2197
2304
|
/**
|
|
@@ -2494,11 +2601,13 @@ interface BubbleSeriesOptions extends MarkerSeriesOptions {
|
|
|
2494
2601
|
/**
|
|
2495
2602
|
* 데이터포인트 값들로 부터 계산된 최소값 보다
|
|
2496
2603
|
* 이 속성에 지정한 값이 작으면 그 값을 기준 최소값으로 한다.<br/>
|
|
2604
|
+
* 실시간 동적으로 데이터포인트를 추가하는 경우 이 속성과 {@page maxValue}를 명시적으로 지정해야 한다.
|
|
2497
2605
|
*/
|
|
2498
2606
|
minValue?: number;
|
|
2499
2607
|
/**
|
|
2500
2608
|
* 데이터포인트 값들로 부터 계산된 최대값 보다
|
|
2501
2609
|
* 이 속성에 지정한 값이 크면 그 값을 기준 최대값으로 한다.<br/>
|
|
2610
|
+
* 실시간 동적으로 데이터포인트를 추가하는 경우 이 속성과 {@page minValue}를 명시적으로 지정해야 한다.
|
|
2502
2611
|
*/
|
|
2503
2612
|
maxValue?: number;
|
|
2504
2613
|
/**
|
|
@@ -2841,6 +2950,10 @@ interface PinSeriesOptions extends MarkerSeriesOptions {
|
|
|
2841
2950
|
* @default top
|
|
2842
2951
|
*/
|
|
2843
2952
|
position?: PointViewPosition;
|
|
2953
|
+
/**
|
|
2954
|
+
* 차트에 설정된 color scale 아이디 혹은 인덱스.
|
|
2955
|
+
*/
|
|
2956
|
+
colorScale?: string | number;
|
|
2844
2957
|
}
|
|
2845
2958
|
declare const FigureSeriesType = "figure";
|
|
2846
2959
|
/**
|
|
@@ -3038,6 +3151,76 @@ declare const TiledWebSeriesType = "tiledweb";
|
|
|
3038
3151
|
interface TiledWebSeriesOptions extends SeriesOptions {
|
|
3039
3152
|
type?: typeof TiledWebSeriesType;
|
|
3040
3153
|
}
|
|
3154
|
+
/**
|
|
3155
|
+
* track 시리즈 outline 설정 옵션.<br/>
|
|
3156
|
+
*/
|
|
3157
|
+
interface TrackSeriesOutlineOptions extends ChartItemOptions {
|
|
3158
|
+
}
|
|
3159
|
+
declare const TrackSeriesType = "track";
|
|
3160
|
+
/**
|
|
3161
|
+
* 출발 지점에서 도착 지점까지 복수 지점으로 이어지는 경로를 표시하는 시리즈.<br/>
|
|
3162
|
+
* {@page op.SeriesOptions#type}은 'track'이다.<br/>
|
|
3163
|
+
*
|
|
3164
|
+
* @config chart.series[type=track]
|
|
3165
|
+
*/
|
|
3166
|
+
interface TrackSeriesOptions extends SeriesOptions {
|
|
3167
|
+
type?: typeof TrackSeriesType;
|
|
3168
|
+
/**
|
|
3169
|
+
* 각 지점을 표시하는 모양.<br/>
|
|
3170
|
+
* 명시적으로 지정하지 않으면 기본 제공되는 shape 목록 중 하나로 자동 설정된다.<br/>
|
|
3171
|
+
*/
|
|
3172
|
+
shape?: Shape;
|
|
3173
|
+
/**
|
|
3174
|
+
* 지점 표시 {@page shape 도형}의 반지름.<br/>
|
|
3175
|
+
*
|
|
3176
|
+
* @default 3 픽셀
|
|
3177
|
+
*/
|
|
3178
|
+
radius?: number;
|
|
3179
|
+
/**
|
|
3180
|
+
* track 시리즈 outline 설정 옵션.<br/>
|
|
3181
|
+
*/
|
|
3182
|
+
outline?: TrackSeriesOutlineOptions | boolean;
|
|
3183
|
+
}
|
|
3184
|
+
declare const BandSeriesType = "band";
|
|
3185
|
+
/**
|
|
3186
|
+
* Band Series<br/>
|
|
3187
|
+
* {@page op.SeriesOptions#type}은 'band'이다.<br/>
|
|
3188
|
+
*
|
|
3189
|
+
* @config chart.series[type=band]
|
|
3190
|
+
*/
|
|
3191
|
+
interface BandSeriesOptions extends SeriesOptions {
|
|
3192
|
+
type?: typeof BandSeriesType;
|
|
3193
|
+
}
|
|
3194
|
+
declare const TableSeriesType = "table";
|
|
3195
|
+
/**
|
|
3196
|
+
* Table Series<br/>
|
|
3197
|
+
* {@page op.SeriesOptions#type}은 'table'이다.<br/>
|
|
3198
|
+
*
|
|
3199
|
+
* @config chart.series[type=table]
|
|
3200
|
+
*/
|
|
3201
|
+
interface TableSeriesOptions extends SeriesOptions {
|
|
3202
|
+
type?: typeof TableSeriesType;
|
|
3203
|
+
}
|
|
3204
|
+
declare const ChartSeriesType = "chart";
|
|
3205
|
+
/**
|
|
3206
|
+
* Chart Series<br/>
|
|
3207
|
+
* {@page op.SeriesOptions#type}은 'chart'이다.<br/>
|
|
3208
|
+
*
|
|
3209
|
+
* @config chart.series[type=chart]
|
|
3210
|
+
*/
|
|
3211
|
+
interface ChartSeriesOptions extends SeriesOptions {
|
|
3212
|
+
type?: typeof ChartSeriesType;
|
|
3213
|
+
}
|
|
3214
|
+
declare const SankeySeriesType = "sankey";
|
|
3215
|
+
/**
|
|
3216
|
+
* Sankey Series<br/>
|
|
3217
|
+
* {@page op.SeriesOptions#type}은 'sankey'이다.<br/>
|
|
3218
|
+
*
|
|
3219
|
+
* @config chart.series[type=sankey]
|
|
3220
|
+
*/
|
|
3221
|
+
interface SankeySeriesOptions extends SeriesOptions {
|
|
3222
|
+
type?: typeof SankeySeriesType;
|
|
3223
|
+
}
|
|
3041
3224
|
/**
|
|
3042
3225
|
* Circle 게이지 내부 원 설정 모델.<br/>
|
|
3043
3226
|
*/
|
|
@@ -3435,7 +3618,7 @@ interface ClockGaugeOptions extends GaugeOptions {
|
|
|
3435
3618
|
*/
|
|
3436
3619
|
active?: boolean;
|
|
3437
3620
|
}
|
|
3438
|
-
type SeriesOptionsType = MapSeriesOptions | FeatureSeriesOptions | PointSeriesOptions | PinSeriesOptions | FigureSeriesOptions | VectorSeriesOptions | RouteSeriesOptions | ImageSeriesOptions | BarSeriesOptions | PieSeriesOptions | WaffleSeriesOptions | LineSeriesOptions | BubbleSeriesOptions | HeatmapSeriesOptions | PanelSeriesOptions | TiledWebSeriesOptions | CircleGaugeOptions | ClockGaugeOptions;
|
|
3621
|
+
type SeriesOptionsType = MapSeriesOptions | FeatureSeriesOptions | PointSeriesOptions | PinSeriesOptions | FigureSeriesOptions | VectorSeriesOptions | RouteSeriesOptions | ImageSeriesOptions | BarSeriesOptions | PieSeriesOptions | WaffleSeriesOptions | LineSeriesOptions | BubbleSeriesOptions | HeatmapSeriesOptions | PanelSeriesOptions | TiledWebSeriesOptions | TrackSeriesOptions | SankeySeriesOptions | CircleGaugeOptions | ClockGaugeOptions;
|
|
3439
3622
|
|
|
3440
3623
|
/**
|
|
3441
3624
|
* 시리즈 load animation 타입.
|
|
@@ -3938,6 +4121,12 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
3938
4121
|
* 스타일 속성은 svg가 아니라 html css 속성들로 지정한다.
|
|
3939
4122
|
*/
|
|
3940
4123
|
backgroundStyle?: CSSStyles;
|
|
4124
|
+
/**
|
|
4125
|
+
* div의 크기가 변경될 때, 차트를 해당 크기에 맞게 조정할지 여부
|
|
4126
|
+
*
|
|
4127
|
+
* @default false
|
|
4128
|
+
*/
|
|
4129
|
+
domResize?: boolean;
|
|
3941
4130
|
/**
|
|
3942
4131
|
* 선택 변경 시 호출되는 콜백.<br/>
|
|
3943
4132
|
*/
|
|
@@ -4518,6 +4707,7 @@ interface ISeries<T extends DataPoint = DataPoint> {
|
|
|
4518
4707
|
_latFielder?: (src: any) => number;
|
|
4519
4708
|
_valuesFielder?: (src: any) => any[];
|
|
4520
4709
|
_colorFielder: (src: any) => string;
|
|
4710
|
+
getColorScale(): string | number;
|
|
4521
4711
|
initPoints(source: any[]): T[];
|
|
4522
4712
|
followTooltipPointer(): boolean;
|
|
4523
4713
|
getValueRange?(): {
|
|
@@ -4537,6 +4727,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4537
4727
|
static defaults: SeriesOptions;
|
|
4538
4728
|
static getPointTooltipParam(series: Series, point: DataPoint, param: string): any;
|
|
4539
4729
|
private _data;
|
|
4730
|
+
private _dataPath;
|
|
4540
4731
|
private _name;
|
|
4541
4732
|
index: number;
|
|
4542
4733
|
seriesIndex: number;
|
|
@@ -4547,6 +4738,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4547
4738
|
private _callout;
|
|
4548
4739
|
_optionsDirty: boolean;
|
|
4549
4740
|
_dataSourceDirty: boolean;
|
|
4741
|
+
_dataDirty: boolean;
|
|
4550
4742
|
_zindexDirty: boolean;
|
|
4551
4743
|
_maxZindex: number;
|
|
4552
4744
|
_runPoints: DataPoint[];
|
|
@@ -4561,7 +4753,8 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4561
4753
|
_calcedColor: string;
|
|
4562
4754
|
private _legendMarker;
|
|
4563
4755
|
private _pointLabelCallback;
|
|
4564
|
-
|
|
4756
|
+
private _pointArgs;
|
|
4757
|
+
private _pointListArgs;
|
|
4565
4758
|
private _argsPoint;
|
|
4566
4759
|
private _loaded;
|
|
4567
4760
|
ani: RmAnimation;
|
|
@@ -4599,17 +4792,28 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4599
4792
|
* @config
|
|
4600
4793
|
*/
|
|
4601
4794
|
get data(): any;
|
|
4602
|
-
|
|
4795
|
+
private $_setData;
|
|
4603
4796
|
get pointCount(): number;
|
|
4604
4797
|
followTooltipPointer(): boolean;
|
|
4798
|
+
isEmpty(visibleOnly: boolean): boolean;
|
|
4605
4799
|
isDataSeries(): boolean;
|
|
4606
4800
|
getDetailed(): Series;
|
|
4801
|
+
getValueRange(): {
|
|
4802
|
+
min: number;
|
|
4803
|
+
max: number;
|
|
4804
|
+
};
|
|
4607
4805
|
needMapScale(): boolean;
|
|
4608
4806
|
contains(p: DataPoint): boolean;
|
|
4609
4807
|
initPoints(source: any[]): DataPoint[];
|
|
4610
4808
|
getPoint(index: number): DataPoint;
|
|
4809
|
+
find(condition: {
|
|
4810
|
+
[key: string]: any;
|
|
4811
|
+
}): DataPoint;
|
|
4812
|
+
findAll(condition: {
|
|
4813
|
+
[key: string]: any;
|
|
4814
|
+
}): DataPoint[];
|
|
4611
4815
|
getPointText(p: DataPoint, index: number, label: any): string;
|
|
4612
|
-
|
|
4816
|
+
getPointArgs(p: DataPoint): DataPointArgs;
|
|
4613
4817
|
getPointStyle(p: DataPoint): any;
|
|
4614
4818
|
getPointLabelStyle(p: DataPoint): any;
|
|
4615
4819
|
getRangedColor(p: DataPoint): string;
|
|
@@ -4626,12 +4830,22 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4626
4830
|
coordOfArea(id: string): MapCoord;
|
|
4627
4831
|
getCoord(p: DataPoint): MapCoord;
|
|
4628
4832
|
pointById(id: string): DataPoint;
|
|
4629
|
-
|
|
4833
|
+
canAddAnimation(): boolean;
|
|
4834
|
+
canRemoveAnimation(): boolean;
|
|
4835
|
+
_dataLoaded: boolean;
|
|
4836
|
+
private $_dataPointsChanged;
|
|
4837
|
+
loadData(data: any, animate?: boolean): void;
|
|
4630
4838
|
addPoint(source: any, index?: number, duration?: number): DataPoint;
|
|
4631
|
-
|
|
4839
|
+
addPointList(source: any[], index?: number, duration?: number): DataPoint[];
|
|
4840
|
+
removePoint(p: DataPoint | number | string, duration?: number): void;
|
|
4841
|
+
private $_points;
|
|
4842
|
+
private $_remove;
|
|
4843
|
+
removePointList(points: (DataPoint | number | string)[], duration?: number): DataPoint[];
|
|
4844
|
+
clearPoints(duration?: number): void;
|
|
4632
4845
|
removeFirst(duration?: number): void;
|
|
4633
4846
|
removeLast(duration?: number): void;
|
|
4634
|
-
updatePoint(p: DataPoint | string | number, props: any): boolean;
|
|
4847
|
+
updatePoint(p: DataPoint | string | number, props: any, duration?: number): boolean;
|
|
4848
|
+
updatePointList(points: (DataPoint | string | number)[], props: any[], duration?: number): void;
|
|
4635
4849
|
getPointLabels(): DataPointLabel[];
|
|
4636
4850
|
getColorScale(): string | number;
|
|
4637
4851
|
setOptionsDirty(value: boolean): Series;
|
|
@@ -4667,9 +4881,10 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4667
4881
|
protected _doLoadData(src: any): any[];
|
|
4668
4882
|
private $_loadPoints;
|
|
4669
4883
|
protected _doLoadPoints(src: any): void;
|
|
4670
|
-
|
|
4671
|
-
protected
|
|
4672
|
-
protected
|
|
4884
|
+
private $_createPointArgs;
|
|
4885
|
+
protected _getPointArgs(args: DataPointArgs, p: DataPoint): DataPointArgs;
|
|
4886
|
+
protected _getPointListArgs(points: DataPoint[]): DataPointListkArgs;
|
|
4887
|
+
protected _preparePointArgs(args: DataPointArgs): void;
|
|
4673
4888
|
protected _calcMinMax(pts: DataPoint[]): {
|
|
4674
4889
|
min: number;
|
|
4675
4890
|
max: number;
|
|
@@ -4759,7 +4974,7 @@ declare abstract class Gauge<OP extends GaugeOptions = GaugeOptions> extends Val
|
|
|
4759
4974
|
static defaults: GaugeOptions;
|
|
4760
4975
|
_width: number;
|
|
4761
4976
|
_height: number;
|
|
4762
|
-
protected _doApply(
|
|
4977
|
+
protected _doApply(op: GaugeOptions): void;
|
|
4763
4978
|
}
|
|
4764
4979
|
declare abstract class ValueGauge<OP extends ValueGaugeOptions = ValueGaugeOptions> extends Gauge<OP> {
|
|
4765
4980
|
static defaults: ValueGaugeOptions;
|
|
@@ -4768,7 +4983,7 @@ declare abstract class ValueGauge<OP extends ValueGaugeOptions = ValueGaugeOptio
|
|
|
4768
4983
|
private _min;
|
|
4769
4984
|
private _max;
|
|
4770
4985
|
getValueRate(value: number): number;
|
|
4771
|
-
protected _doApply(
|
|
4986
|
+
protected _doApply(op: ValueGaugeOptions): void;
|
|
4772
4987
|
protected _doPrepareRender(chart: IChart): void;
|
|
4773
4988
|
}
|
|
4774
4989
|
|
|
@@ -4834,11 +5049,11 @@ declare class DataPoint implements ISelectionSource {
|
|
|
4834
5049
|
_runColor: string;
|
|
4835
5050
|
_zindex: number;
|
|
4836
5051
|
private _selected;
|
|
4837
|
-
_deleting: boolean;
|
|
4838
5052
|
_prev: any;
|
|
4839
5053
|
_vr: number;
|
|
4840
5054
|
constructor(source?: any);
|
|
4841
5055
|
setSelected(selected: boolean): void;
|
|
5056
|
+
isSelected(): boolean;
|
|
4842
5057
|
get lon(): number;
|
|
4843
5058
|
get lat(): number;
|
|
4844
5059
|
ariaHint(): string;
|
|
@@ -4851,11 +5066,19 @@ declare class DataPoint implements ISelectionSource {
|
|
|
4851
5066
|
protected _doInitValues(): void;
|
|
4852
5067
|
getValue(): number;
|
|
4853
5068
|
getLabel(index: number): any;
|
|
5069
|
+
vrate(): number;
|
|
5070
|
+
_setVrate(vr: number): void;
|
|
5071
|
+
_aniRate(): number;
|
|
4854
5072
|
updateValues(series: ISeries, values: any): any;
|
|
4855
5073
|
protected _valuesChanged(prev: any): boolean;
|
|
4856
5074
|
getBaseValue(): number;
|
|
4857
5075
|
getParam(param: string): any;
|
|
4858
5076
|
getCallout(coord: MapCoord): MapCoord[];
|
|
5077
|
+
_setState(state: string): void;
|
|
5078
|
+
_isAdding(): boolean;
|
|
5079
|
+
_isUpdating(): boolean;
|
|
5080
|
+
_isDeleting(): boolean;
|
|
5081
|
+
_isStatic(): boolean;
|
|
4859
5082
|
protected _assignTo(proxy: any): any;
|
|
4860
5083
|
protected _readArray(series: ISeries, v: any[]): void;
|
|
4861
5084
|
protected _readObject(series: ISeries, v: any): void;
|
|
@@ -4877,10 +5100,19 @@ declare class DataPointCollection {
|
|
|
4877
5100
|
load(source: any): void;
|
|
4878
5101
|
clear(): void;
|
|
4879
5102
|
insert(index: number, p: DataPoint): void;
|
|
5103
|
+
insertAll(index: number, points: DataPoint[]): void;
|
|
4880
5104
|
add(p: DataPoint): void;
|
|
5105
|
+
addAll(points: DataPoint[]): void;
|
|
4881
5106
|
remove(p: DataPoint): boolean;
|
|
5107
|
+
removeAll(points: DataPoint[]): number;
|
|
4882
5108
|
sort(callback: (p1: DataPoint, p2: DataPoint) => number): void;
|
|
4883
5109
|
forEach(callback: (p: DataPoint, i?: number) => any): void;
|
|
5110
|
+
find(condition: {
|
|
5111
|
+
[key: string]: any;
|
|
5112
|
+
}): DataPoint;
|
|
5113
|
+
findAll(condition: {
|
|
5114
|
+
[key: string]: any;
|
|
5115
|
+
}): DataPoint[];
|
|
4884
5116
|
}
|
|
4885
5117
|
|
|
4886
5118
|
type AssetTypes = 'colors' | 'images' | 'lineargradient' | 'radialgradient';
|
|
@@ -5036,10 +5268,10 @@ interface ScaleOptions extends ChartItemOptions {
|
|
|
5036
5268
|
*/
|
|
5037
5269
|
name?: string;
|
|
5038
5270
|
/**
|
|
5039
|
-
* {@page minValue}나 {@page maxValue}를 지정하지 않는 경우 범위 기준값을 계산할 시리즈의
|
|
5271
|
+
* {@page minValue}나 {@page maxValue}를 지정하지 않는 경우 범위 기준값을 계산할 시리즈의 이름이나 index.<br />
|
|
5040
5272
|
* 이 속성을 지정하지 않으면 첫 번째 map 시리즈의 범위를 계산한다.
|
|
5041
5273
|
*/
|
|
5042
|
-
series?: string;
|
|
5274
|
+
series?: string | number;
|
|
5043
5275
|
/**
|
|
5044
5276
|
* scale 표시 위치.<br/>
|
|
5045
5277
|
*/
|
|
@@ -5264,8 +5496,6 @@ interface ColorScaleOptions extends ScaleOptions {
|
|
|
5264
5496
|
* {@page colors}를 지정하면 이 속성은 무시된다.
|
|
5265
5497
|
* 또, {@page steps}가 지정되면 각 step에 지정된 색 범위가 우선 적용된다.
|
|
5266
5498
|
* 지정하지 않으면 'black'로 적용된다.
|
|
5267
|
-
*
|
|
5268
|
-
* @default '#000'
|
|
5269
5499
|
*/
|
|
5270
5500
|
maxColor?: string;
|
|
5271
5501
|
/**
|
|
@@ -5659,7 +5889,7 @@ declare class MapScale extends ScaleBase<MapScaleOptions> {
|
|
|
5659
5889
|
private _scale;
|
|
5660
5890
|
protected _doInit(op: MapScaleOptions): void;
|
|
5661
5891
|
get label(): MapScaleLabel;
|
|
5662
|
-
protected
|
|
5892
|
+
protected _getScaledSeries(chart: IChart): ISeries;
|
|
5663
5893
|
protected _doApply(options: MapScaleOptions): void;
|
|
5664
5894
|
protected _doPrepareRender(chart: IChart): void;
|
|
5665
5895
|
private $_calcScale;
|
|
@@ -5834,7 +6064,7 @@ declare class BubbleScale extends ScaleBase<BubbleScaleOptions> {
|
|
|
5834
6064
|
protected _doInit(op: BubbleScaleOptions): void;
|
|
5835
6065
|
get tick(): BubbleScaleTick;
|
|
5836
6066
|
getSteps(wBody: number, hBody: number): IBubbleScaleStep[];
|
|
5837
|
-
protected
|
|
6067
|
+
protected _getScaledSeries(chart: IChart): ISeries;
|
|
5838
6068
|
protected _doApply(options: BubbleScaleOptions): void;
|
|
5839
6069
|
protected _doPrepareRender(chart: IChart): void;
|
|
5840
6070
|
private $_buildSteps;
|
|
@@ -5897,6 +6127,7 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
5897
6127
|
private _max;
|
|
5898
6128
|
private _minColor;
|
|
5899
6129
|
private _maxColor;
|
|
6130
|
+
private _endColor;
|
|
5900
6131
|
private _colors;
|
|
5901
6132
|
private _barLengthDim;
|
|
5902
6133
|
private _logger;
|
|
@@ -5919,8 +6150,10 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
5919
6150
|
getValueSteps(): number[];
|
|
5920
6151
|
getLegendSources(target: ILegendSource[]): void;
|
|
5921
6152
|
protected _doApply(options: ColorScaleOptions): void;
|
|
6153
|
+
protected _getScaledSeries(chart: IChart): ISeries;
|
|
5922
6154
|
private $_parseColorStops;
|
|
5923
6155
|
protected _doPrepareRender(chart: IChart): void;
|
|
6156
|
+
_buildSteps(): void;
|
|
5924
6157
|
private $_parseValue;
|
|
5925
6158
|
private $_normalizeMin;
|
|
5926
6159
|
private $_parseColor;
|
|
@@ -5943,6 +6176,8 @@ declare class Exporter extends ChartItem<ExporterOptions> {
|
|
|
5943
6176
|
compose(exporter: ChartExporter): void;
|
|
5944
6177
|
isContextMenuVisible(): boolean;
|
|
5945
6178
|
toggleContextMenu(): void;
|
|
6179
|
+
contains(dom: Element): boolean;
|
|
6180
|
+
hideContextMenu(): void;
|
|
5946
6181
|
exportToImage(dom: HTMLElement, options: ExportOptions, exporting: ExporterOptions): void;
|
|
5947
6182
|
}
|
|
5948
6183
|
|
|
@@ -6141,6 +6376,7 @@ declare class MapSeriesPoint extends ValuePoint {
|
|
|
6141
6376
|
protected _readObject(series: MapSeries, v: any): void;
|
|
6142
6377
|
getLabel(index: number): string;
|
|
6143
6378
|
getParam(param: string): any;
|
|
6379
|
+
_valuesChanged(prev: any): boolean;
|
|
6144
6380
|
}
|
|
6145
6381
|
declare class MapSeriesDrilldown extends ChartItem<DrilldownOptions> {
|
|
6146
6382
|
static defaults: DrilldownOptions;
|
|
@@ -6162,13 +6398,13 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6162
6398
|
private _minValue;
|
|
6163
6399
|
private _maxValue;
|
|
6164
6400
|
private _colorObj;
|
|
6401
|
+
private _colorRanger;
|
|
6165
6402
|
private _useMapData;
|
|
6166
6403
|
get areaCount(): number;
|
|
6167
6404
|
get parent(): MapSeries;
|
|
6168
6405
|
get detail(): MapSeries;
|
|
6169
6406
|
get drilldown(): MapSeriesDrilldown;
|
|
6170
6407
|
get color(): Color;
|
|
6171
|
-
private _colorRanger;
|
|
6172
6408
|
getHistory(): MapSeries[];
|
|
6173
6409
|
get(second: boolean, index: number): MapArea;
|
|
6174
6410
|
pointOf(area: MapArea): MapSeriesPoint;
|
|
@@ -6187,11 +6423,13 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6187
6423
|
protected _doLoad(options: ChartItemOptions, source: any): void;
|
|
6188
6424
|
protected _doApply(options: MapSeriesOptions): void;
|
|
6189
6425
|
needMapScale(): boolean;
|
|
6426
|
+
canAddAnimation(): boolean;
|
|
6427
|
+
canRemoveAnimation(): boolean;
|
|
6190
6428
|
getRangedColor(p: MapSeriesPoint): string;
|
|
6191
6429
|
followTooltipPointer(): boolean;
|
|
6192
6430
|
getLegendSources(list: ILegendSource[]): void;
|
|
6193
6431
|
protected _createPoint(source: any): MapSeriesPoint;
|
|
6194
|
-
protected
|
|
6432
|
+
protected _getPointArgs(args: DataPointArgs, p: MapSeriesPoint): DataPointArgs;
|
|
6195
6433
|
_prepareRender(): void;
|
|
6196
6434
|
protected _doPrepareRender(chart: IChart): void;
|
|
6197
6435
|
protected _doLoadPoints(src: any): void;
|
|
@@ -6354,6 +6592,7 @@ declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
|
6354
6592
|
}
|
|
6355
6593
|
interface IMapChartEvents {
|
|
6356
6594
|
onModelChanged(chart: ChartObject, item: ChartItem, tag: any): void;
|
|
6595
|
+
onDataChanged(chart: ChartObject, series: Series): void;
|
|
6357
6596
|
onMapChanged(chart: ChartObject, map: MapModel): void;
|
|
6358
6597
|
onProjectionChanged(chart: ChartObject, projection: MapProjection): void;
|
|
6359
6598
|
onZoomChanged(chart: ChartObject, oldZoom: number): void;
|
|
@@ -6424,6 +6663,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6424
6663
|
get isGlobe(): boolean;
|
|
6425
6664
|
get selection(): MapSelection;
|
|
6426
6665
|
getFirstSeries(type: string): Series;
|
|
6666
|
+
findSeries(finder: (series: ISeries) => boolean): Series;
|
|
6427
6667
|
_getSeriesType(type: string): any;
|
|
6428
6668
|
_getAnnotationType(type: string): any;
|
|
6429
6669
|
_modelChanged(): void;
|
|
@@ -6473,6 +6713,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6473
6713
|
mapByName(name: string): MapModel;
|
|
6474
6714
|
mapAt(index: number): MapModel;
|
|
6475
6715
|
getMap(nameOrIndex: string | number): MapModel;
|
|
6716
|
+
getSeries(series: string | number): Series<SeriesOptions>;
|
|
6476
6717
|
seriesByName(series: string): Series;
|
|
6477
6718
|
seriesByType(type: string): Series;
|
|
6478
6719
|
seriesAt(index: number): Series;
|
|
@@ -6495,7 +6736,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6495
6736
|
addSeries(source: any, animate: boolean): Series;
|
|
6496
6737
|
removeSeries(series: string | Series, animate: boolean): Series<SeriesOptions>;
|
|
6497
6738
|
/** @internal */
|
|
6498
|
-
_dataChanged(): void;
|
|
6739
|
+
_dataChanged(series: Series): void;
|
|
6499
6740
|
/** @internal */
|
|
6500
6741
|
_isDataChanged(): boolean;
|
|
6501
6742
|
getColorScale(scale: string | number): ColorScale;
|
|
@@ -6529,6 +6770,7 @@ interface IChart {
|
|
|
6529
6770
|
mapByName(name: string): MapModel;
|
|
6530
6771
|
getMap(nameOrIndex: string | number): MapModel;
|
|
6531
6772
|
getFirstSeries(type: string): Series;
|
|
6773
|
+
findSeries(finder: (series: ISeries) => boolean): Series;
|
|
6532
6774
|
animatable(): boolean;
|
|
6533
6775
|
loadAnimatable(): boolean;
|
|
6534
6776
|
loadBase(source: any, model: string, type: string): any;
|
|
@@ -6536,6 +6778,8 @@ interface IChart {
|
|
|
6536
6778
|
projectionChanged(): void;
|
|
6537
6779
|
zoomChanged(oldZoom: number): void;
|
|
6538
6780
|
seriesByName(series: string): Series;
|
|
6781
|
+
seriesAt(index: number): Series;
|
|
6782
|
+
getSeries(series: string | number): Series;
|
|
6539
6783
|
isVisible(coord: MapCoord): boolean;
|
|
6540
6784
|
getColorScale(scale: string | number): ColorScale;
|
|
6541
6785
|
requestShowSeries(series: Series, visible: boolean): void;
|
|
@@ -6552,7 +6796,7 @@ interface IChart {
|
|
|
6552
6796
|
_areaClicked(series: Series, newArea: MapArea): void;
|
|
6553
6797
|
getParam(target: any, param: string): any;
|
|
6554
6798
|
setParam(param: string, value: any, redraw?: boolean): void;
|
|
6555
|
-
_dataChanged(): void;
|
|
6799
|
+
_dataChanged(series: Series): void;
|
|
6556
6800
|
_isDataChanged(): boolean;
|
|
6557
6801
|
lockOptionsDirty(): void;
|
|
6558
6802
|
freeOptionsDirty(): void;
|
|
@@ -6666,7 +6910,7 @@ declare abstract class ScaleBase<OP extends ScaleOptions = ScaleOptions> extends
|
|
|
6666
6910
|
getLocation(): ChartItemLocation;
|
|
6667
6911
|
isReversed(): boolean;
|
|
6668
6912
|
protected _doPrepareRender(chart: IChart): void;
|
|
6669
|
-
protected
|
|
6913
|
+
protected abstract _getScaledSeries(chart: IChart): ISeries;
|
|
6670
6914
|
}
|
|
6671
6915
|
declare abstract class ScaleCollection<T extends ScaleBase = ScaleBase> extends ChartItemCollection<T> {
|
|
6672
6916
|
private _map;
|
|
@@ -6766,13 +7010,22 @@ declare class AnnotationCollection extends ChartItemCollection<Annotation> {
|
|
|
6766
7010
|
private $_loadItem;
|
|
6767
7011
|
}
|
|
6768
7012
|
|
|
7013
|
+
/**
|
|
7014
|
+
* 차트 생성 이후 호출되는 콜백의 매개변수로 사용된다.
|
|
7015
|
+
*/
|
|
7016
|
+
interface LoadCallbackArgs {
|
|
7017
|
+
/**
|
|
7018
|
+
* Realmap의 공개 {@page api.Chart} 모델
|
|
7019
|
+
*/
|
|
7020
|
+
chart: MapChart;
|
|
7021
|
+
}
|
|
6769
7022
|
/**
|
|
6770
7023
|
* RealMap 라이브러리의 차트 모델.<br/>
|
|
6771
7024
|
*/
|
|
6772
7025
|
declare class MapChart {
|
|
6773
7026
|
_obj: ChartObject;
|
|
6774
7027
|
private _modelCallback;
|
|
6775
|
-
_loadCallback: () => void;
|
|
7028
|
+
_loadCallback: (param: LoadCallbackArgs) => void;
|
|
6776
7029
|
private _loaded;
|
|
6777
7030
|
constructor(config?: ChartConfiguration, callback?: (model: ChartObject, oldModel: ChartObject) => void);
|
|
6778
7031
|
/**
|
|
@@ -6884,7 +7137,7 @@ declare class MapChart {
|
|
|
6884
7137
|
*
|
|
6885
7138
|
* @param config 차트 설정 정보
|
|
6886
7139
|
*/
|
|
6887
|
-
load(config: ChartConfiguration, loadAnimation?: boolean, callback?: () => void): MapChart;
|
|
7140
|
+
load(config: ChartConfiguration, loadAnimation?: boolean, callback?: (param: LoadCallbackArgs) => void): MapChart;
|
|
6888
7141
|
/**
|
|
6889
7142
|
* load 메서드의 async 버전. <br/>
|
|
6890
7143
|
*
|
|
@@ -7009,7 +7262,7 @@ declare class Globals {
|
|
|
7009
7262
|
* @param callback 차트가 모두 로드되고 첫 렌더링이 완료된 후 호출되는 콜백 함수.
|
|
7010
7263
|
* @returns 생성된 차트 객체
|
|
7011
7264
|
*/
|
|
7012
|
-
static createChart(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: () => void): MapChart;
|
|
7265
|
+
static createChart(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: (param: LoadCallbackArgs) => void): MapChart;
|
|
7013
7266
|
/**
|
|
7014
7267
|
* 지도 파일이나 데이터가 URL을 통해 제공되는 경우, 데이터를 모두 로드한 뒤 차트를 생성하도록 비동기 처리할 수 있다.
|
|
7015
7268
|
*
|
|
@@ -7032,7 +7285,7 @@ declare class Globals {
|
|
|
7032
7285
|
* @param callback 차트가 모두 로드되고 첫 렌더링이 완료된 후 호출되는 콜백 함수.
|
|
7033
7286
|
* @returns 생성된 차트 객체
|
|
7034
7287
|
*/
|
|
7035
|
-
static createChartAsync(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: () => void): Promise<MapChart>;
|
|
7288
|
+
static createChartAsync(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: (param: LoadCallbackArgs) => void): Promise<MapChart>;
|
|
7036
7289
|
/**
|
|
7037
7290
|
* name에 해당하는 기본 제공 객체를 리턴한다.<br/>
|
|
7038
7291
|
*/
|
|
@@ -7158,12 +7411,6 @@ declare abstract class SectionView extends GroupElement {
|
|
|
7158
7411
|
protected abstract _doLayout(param?: any): void;
|
|
7159
7412
|
protected abstract _doLocateInner(width: number, height: number, param?: any): void;
|
|
7160
7413
|
}
|
|
7161
|
-
declare abstract class ContentView<T extends ChartItem> extends ChartElement<T> {
|
|
7162
|
-
protected _inverted: boolean;
|
|
7163
|
-
protected _animatable: boolean;
|
|
7164
|
-
protected _loadAnimatable: boolean;
|
|
7165
|
-
_setChartOptions(inverted: boolean, animatable: boolean, loadAnimatable: boolean): void;
|
|
7166
|
-
}
|
|
7167
7414
|
|
|
7168
7415
|
/**
|
|
7169
7416
|
* @internal
|
|
@@ -7276,7 +7523,6 @@ declare class ElementPool<T extends RmElement> extends RmObject {
|
|
|
7276
7523
|
private _creator;
|
|
7277
7524
|
private _pool;
|
|
7278
7525
|
private _views;
|
|
7279
|
-
private _removes;
|
|
7280
7526
|
private _styleName;
|
|
7281
7527
|
constructor(owner: RmElement, creator: {
|
|
7282
7528
|
new (doc: Document, styleName?: string): T;
|
|
@@ -7337,6 +7583,10 @@ declare class LineElement extends PathElement {
|
|
|
7337
7583
|
setHLine(y: number, x1: number, x2: number): void;
|
|
7338
7584
|
setHLineC(y: number, x1: number, x2: number): void;
|
|
7339
7585
|
}
|
|
7586
|
+
declare class PolyLineElement extends PathElement {
|
|
7587
|
+
constructor(doc: Document, styleName?: string, lines?: (number | IPoint)[], curved?: boolean);
|
|
7588
|
+
setLines(pts: (number | MapCoord | IPoint)[], curved: boolean): void;
|
|
7589
|
+
}
|
|
7340
7590
|
|
|
7341
7591
|
type ShapeDrawer = (rd: number, rd2: number) => (string | number)[];
|
|
7342
7592
|
|
|
@@ -7397,7 +7647,7 @@ interface IPointView {
|
|
|
7397
7647
|
declare class PointViewPool<T extends RmElement & IPointView> extends ElementPool<T> {
|
|
7398
7648
|
constructor(owner: RmElement, creator: {
|
|
7399
7649
|
new (doc: Document, group?: boolean): T;
|
|
7400
|
-
});
|
|
7650
|
+
}, className?: string);
|
|
7401
7651
|
_getElementId(view: T): number;
|
|
7402
7652
|
}
|
|
7403
7653
|
declare class PointLabelView extends LabelElement {
|
|
@@ -7452,6 +7702,7 @@ declare class PointCalloutContainer extends LayerElement {
|
|
|
7452
7702
|
setMask(cv: PointCalloutView, pts: number[]): CalloutMaskView;
|
|
7453
7703
|
}
|
|
7454
7704
|
declare abstract class PointElement<T extends DataPoint = DataPoint> extends PathElementEx implements IPointView {
|
|
7705
|
+
_static: boolean;
|
|
7455
7706
|
point: T;
|
|
7456
7707
|
constructor(doc: Document, group?: boolean);
|
|
7457
7708
|
tooltipColor(): string;
|
|
@@ -7459,6 +7710,9 @@ declare abstract class PointElement<T extends DataPoint = DataPoint> extends Pat
|
|
|
7459
7710
|
x: number;
|
|
7460
7711
|
y: number;
|
|
7461
7712
|
}[], start: number, end: number, sb: PathBuilder): void;
|
|
7713
|
+
protected _checkStatic(): boolean;
|
|
7714
|
+
protected _clearScale(view: RmElement): void;
|
|
7715
|
+
protected _aniScale(view: RmElement, seriesVr: number): void;
|
|
7462
7716
|
}
|
|
7463
7717
|
declare class PointContainer extends LayerElement {
|
|
7464
7718
|
}
|
|
@@ -7469,7 +7723,7 @@ type LabelPositioner = (x: number, y: number, rLabel: IRect, wPoint: number, hPo
|
|
|
7469
7723
|
*
|
|
7470
7724
|
* View base for map chart series.
|
|
7471
7725
|
*/
|
|
7472
|
-
declare abstract class SeriesView<T extends Series = Series> extends
|
|
7726
|
+
declare abstract class SeriesView<T extends Series = Series> extends ChartElement<T> {
|
|
7473
7727
|
static readonly POINT_CLASS = "rm-point";
|
|
7474
7728
|
static readonly DATA_HOVER = "hover";
|
|
7475
7729
|
static readonly DATA_UNHOVER = "unhover";
|
|
@@ -7555,6 +7809,7 @@ declare abstract class MarkerSeriesPointView<T extends MarkerSeriesPoint = Marke
|
|
|
7555
7809
|
setHoverRate(series: SeriesView, focused: boolean, rate: number): void;
|
|
7556
7810
|
endHover(series: SeriesView, focused: boolean): void;
|
|
7557
7811
|
distance(rd: number, x: number, y: number): number;
|
|
7812
|
+
prepare(): void;
|
|
7558
7813
|
}
|
|
7559
7814
|
declare abstract class MarkerSeriesView<T extends MarkerSeries = MarkerSeries> extends SeriesView<T> {
|
|
7560
7815
|
protected _markers: PointViewPool<MarkerSeriesPointView<MarkerSeriesPoint>>;
|
|
@@ -7769,7 +8024,9 @@ declare class ChartControl extends RmControl implements IMapChartEvents {
|
|
|
7769
8024
|
private _errorView;
|
|
7770
8025
|
constructor(doc: Document, container: string | HTMLDivElement);
|
|
7771
8026
|
protected _initControl(document: Document, container: string | HTMLDivElement, className: string): void;
|
|
8027
|
+
protected _doPointerDown(event: PointerEvent): boolean;
|
|
7772
8028
|
onModelChanged(chart: ChartObject, item: ChartItem<ChartItemOptions>, tag: any): void;
|
|
8029
|
+
onDataChanged(chart: ChartObject, series: Series): void;
|
|
7773
8030
|
onProjectionChanged(chart: ChartObject, projection: MapProjection): void;
|
|
7774
8031
|
onMapChanged(chart: ChartObject, map: MapModel): void;
|
|
7775
8032
|
onZoomChanged(chart: ChartObject, oldZoom: number): void;
|
|
@@ -7837,8 +8094,8 @@ declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
|
|
|
7837
8094
|
private _subLabel;
|
|
7838
8095
|
private _minSizeDim;
|
|
7839
8096
|
private _maxSizeDim;
|
|
7840
|
-
|
|
7841
|
-
|
|
8097
|
+
_extMin: number;
|
|
8098
|
+
_extMax: number;
|
|
7842
8099
|
_vMin: number;
|
|
7843
8100
|
_vMax: number;
|
|
7844
8101
|
_noSize: boolean;
|
|
@@ -8111,7 +8368,7 @@ declare class ClockGauge extends Gauge<ClockGaugeOptions> {
|
|
|
8111
8368
|
get tickLabel(): ClockGaugeTickLabel;
|
|
8112
8369
|
get pin(): ClockGaugePin;
|
|
8113
8370
|
get gaugeLabel(): ClockGaugeLabel;
|
|
8114
|
-
getExtents(gaugeWidth: number, gaugeHeight: number): {
|
|
8371
|
+
getExtents(gaugeWidth: number, gaugeHeight: number, rate: number): {
|
|
8115
8372
|
cx: number;
|
|
8116
8373
|
cy: number;
|
|
8117
8374
|
rd: number;
|
|
@@ -8296,17 +8553,30 @@ declare class PinSeries extends MarkerSeries<PinSeriesOptions> {
|
|
|
8296
8553
|
static defaults: PinSeriesOptions;
|
|
8297
8554
|
private _rd;
|
|
8298
8555
|
private _innerRd;
|
|
8556
|
+
private _minValue;
|
|
8557
|
+
private _maxValue;
|
|
8558
|
+
private _colorObj;
|
|
8559
|
+
private _colorRanger;
|
|
8299
8560
|
getExt(p: PinSeriesPoint, rate: number): {
|
|
8300
8561
|
cx: number;
|
|
8301
8562
|
cy: number;
|
|
8302
8563
|
rd: number;
|
|
8303
8564
|
innerRd: number;
|
|
8304
8565
|
};
|
|
8566
|
+
get color(): Color;
|
|
8305
8567
|
protected _doApply(options: PinSeriesOptions): void;
|
|
8306
8568
|
protected _createPoint(source: any): PinSeriesPoint;
|
|
8307
8569
|
protected _defLabelOff(): number;
|
|
8308
8570
|
protected _doLoadPoints(src: any): void;
|
|
8309
8571
|
protected _createLegendMarker(doc: Document, size: number): RmElement;
|
|
8572
|
+
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
8573
|
+
getColorScale(): string | number;
|
|
8574
|
+
getValueRange(): {
|
|
8575
|
+
min: number;
|
|
8576
|
+
max: number;
|
|
8577
|
+
};
|
|
8578
|
+
getRangedColor(p: PinSeriesPoint): string;
|
|
8579
|
+
protected _doPrepareRender(chart: IChart): void;
|
|
8310
8580
|
}
|
|
8311
8581
|
|
|
8312
8582
|
/**
|
|
@@ -8329,7 +8599,7 @@ declare class PointSeries extends MarkerSeries<PointSeriesOptions> {
|
|
|
8329
8599
|
private _stroke;
|
|
8330
8600
|
private _strokeWidth;
|
|
8331
8601
|
constructor(chart: IChart);
|
|
8332
|
-
getShape(
|
|
8602
|
+
getShape(): Shape;
|
|
8333
8603
|
getRadius(): number;
|
|
8334
8604
|
setLegendMarkerStyle(marker: RmElement): void;
|
|
8335
8605
|
protected _createPoint(source: any): PointSeriesPoint;
|
|
@@ -8341,7 +8611,7 @@ declare class PointSeries extends MarkerSeries<PointSeriesOptions> {
|
|
|
8341
8611
|
}
|
|
8342
8612
|
|
|
8343
8613
|
declare class RouteSeriesPoint extends DataPoint {
|
|
8344
|
-
coords: [
|
|
8614
|
+
coords: [MapCoord, MapCoord];
|
|
8345
8615
|
path: any[];
|
|
8346
8616
|
get lon1(): number;
|
|
8347
8617
|
get lat1(): number;
|
|
@@ -8359,7 +8629,6 @@ declare class RouteSeries extends Series<RouteSeriesOptions> {
|
|
|
8359
8629
|
static type: string;
|
|
8360
8630
|
static defaults: RouteSeriesOptions;
|
|
8361
8631
|
needMapScale(): boolean;
|
|
8362
|
-
needRemoveAnimation(): boolean;
|
|
8363
8632
|
protected _createPoint(source: any): RouteSeriesPoint;
|
|
8364
8633
|
pointLabelCount(): number;
|
|
8365
8634
|
protected _defLabelOff(): number;
|
|
@@ -8465,6 +8734,26 @@ declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|
|
|
8465
8734
|
protected _doSetSimple(src: any): boolean;
|
|
8466
8735
|
}
|
|
8467
8736
|
|
|
8737
|
+
/**
|
|
8738
|
+
* Text Annotation 모델.<br/>
|
|
8739
|
+
* {@page op.AnnotationOptions#type}은 {@page config.annotation.image 'shape'}이고,
|
|
8740
|
+
* {@page options 설정} 모델은 {@page op.ShapeAnnotationOptions}이다.
|
|
8741
|
+
*/
|
|
8742
|
+
declare class HtmlAnnotation extends Annotation<HtmlAnnotationOptions> {
|
|
8743
|
+
static readonly DEF_SIZE = 100;
|
|
8744
|
+
static readonly type = "html";
|
|
8745
|
+
static defaults: HtmlAnnotationOptions;
|
|
8746
|
+
private _params;
|
|
8747
|
+
setParams(params: object): void;
|
|
8748
|
+
applyParams(target: string): string;
|
|
8749
|
+
/**
|
|
8750
|
+
* ${param;default}
|
|
8751
|
+
*/
|
|
8752
|
+
private $_apply;
|
|
8753
|
+
protected _isVisible(): boolean;
|
|
8754
|
+
protected _doSetSimple(src: any): boolean;
|
|
8755
|
+
}
|
|
8756
|
+
|
|
8468
8757
|
declare abstract class SeriesAnimation {
|
|
8469
8758
|
static reveal(series: SeriesView<Series>, options?: IRevealAnimation): void;
|
|
8470
8759
|
static grow(series: SeriesView<Series>, endHandler?: RmAnimationEndHandler): void;
|
|
@@ -8655,6 +8944,90 @@ declare class Utils {
|
|
|
8655
8944
|
min: number;
|
|
8656
8945
|
max: number;
|
|
8657
8946
|
};
|
|
8947
|
+
/**
|
|
8948
|
+
* @param path 'aaa.bbb.2.ccc' 형식으로 지정한다. 2는 배열 항목 index.
|
|
8949
|
+
*/
|
|
8950
|
+
static valueAt(data: any, path?: string): any;
|
|
8951
|
+
}
|
|
8952
|
+
|
|
8953
|
+
interface IDomContaner {
|
|
8954
|
+
dom(): Element;
|
|
8955
|
+
}
|
|
8956
|
+
/**
|
|
8957
|
+
* @internal
|
|
8958
|
+
*
|
|
8959
|
+
* Utilities for HTML element.
|
|
8960
|
+
*/
|
|
8961
|
+
declare class Dom {
|
|
8962
|
+
static getWin(doc: Document): Window;
|
|
8963
|
+
static isVisible(elt: HTMLElement): boolean;
|
|
8964
|
+
static setVisible(elt: HTMLElement | SVGSVGElement, visible: boolean, visibleStyle?: string): boolean;
|
|
8965
|
+
static hide(elt: HTMLElement | SVGSVGElement): void;
|
|
8966
|
+
static show(elt: HTMLElement | SVGSVGElement, visibleStyle?: string): void;
|
|
8967
|
+
static addClass(elt: HTMLElement | SVGSVGElement, className: string): HTMLElement | SVGSVGElement;
|
|
8968
|
+
static removeClass(elt: HTMLElement | SVGSVGElement, className: string): HTMLElement | SVGSVGElement;
|
|
8969
|
+
static getImageUrl(css: CSSStyleDeclaration): string;
|
|
8970
|
+
static getFocused(): HTMLElement;
|
|
8971
|
+
static isAncestorOf(elt: HTMLElement, child: HTMLElement): boolean;
|
|
8972
|
+
static getOffset(elt: HTMLElement): {
|
|
8973
|
+
x: number;
|
|
8974
|
+
y: number;
|
|
8975
|
+
};
|
|
8976
|
+
static getSize(elt: HTMLElement): {
|
|
8977
|
+
width: number;
|
|
8978
|
+
height: number;
|
|
8979
|
+
};
|
|
8980
|
+
static moveX(elt: HTMLElement, x: number): void;
|
|
8981
|
+
static moveY(elt: HTMLElement, y: number): void;
|
|
8982
|
+
static move(elt: HTMLElement | SVGSVGElement, x: number, y: number): void;
|
|
8983
|
+
static moveI(elt: HTMLElement, x: number, y: number): void;
|
|
8984
|
+
static resize(elt: HTMLElement | SVGSVGElement, width: number, height: number): void;
|
|
8985
|
+
static resizeSVG(elt: SVGSVGElement, width: number, height: number): void;
|
|
8986
|
+
static setWidth(elt: HTMLElement, width: number): void;
|
|
8987
|
+
static setHeight(elt: HTMLElement, height: number): void;
|
|
8988
|
+
static getBrowserSize(elt?: HTMLElement): {
|
|
8989
|
+
width: number;
|
|
8990
|
+
height: number;
|
|
8991
|
+
};
|
|
8992
|
+
static setRect(elt: HTMLElement, r: IRect): void;
|
|
8993
|
+
static setBounds(elt: HTMLElement, x: number, y: number, w: number, h: number): void;
|
|
8994
|
+
static setBoundsEx(elt: HTMLElement, x: number, y: number, w: number, h: number): void;
|
|
8995
|
+
static getClientRect(elt: HTMLElement): ClientRect | DOMRect;
|
|
8996
|
+
static getChildIndex(elt: HTMLElement): number;
|
|
8997
|
+
static clearChildren(parent: Element): void;
|
|
8998
|
+
static clearElements(parent: Element): void;
|
|
8999
|
+
static append(elt: Node, child: Node): void;
|
|
9000
|
+
static addChild(elt: HTMLElement, child: HTMLElement): boolean;
|
|
9001
|
+
static removeChild(elt: HTMLElement, child: HTMLElement): boolean;
|
|
9002
|
+
static removeChildren(elt: Element, children: (Element | IDomContaner)[]): void;
|
|
9003
|
+
static remove(elt: Node): null;
|
|
9004
|
+
static clearStyle(elt: HTMLElement): void;
|
|
9005
|
+
static removeStyles(css: CSSStyleDeclaration, style: CSSStyles2): void;
|
|
9006
|
+
static setStyle(elt: HTMLElement, style: CSSStyles2): void;
|
|
9007
|
+
static replaceStyle(css: CSSStyleDeclaration, style: CSSStyles2, prevStyle: CSSStyles2): CSSStyles2;
|
|
9008
|
+
static createElement<K extends keyof HTMLElementTagNameMap>(doc: Document, tagName: K, style: CSSStyles2): HTMLElementTagNameMap[K];
|
|
9009
|
+
static htmlEncode(text: string): string;
|
|
9010
|
+
static setData(elt: HTMLElement | SVGSVGElement, name: string, value: any): void;
|
|
9011
|
+
static toggleData(elt: HTMLElement | SVGSVGElement, name: string, value: boolean): void;
|
|
9012
|
+
static getData(elt: HTMLElement, name: string): any;
|
|
9013
|
+
static hasData(elt: HTMLElement, name: string): boolean;
|
|
9014
|
+
static setVar(elt: HTMLElement | SVGSVGElement, name: string, value: string): void;
|
|
9015
|
+
static animate(elt: HTMLElement, prop: string, from: any, to: any, duration?: number, fill?: string): Animation;
|
|
9016
|
+
static setAttr(elt: Element, attr: string, value: any): void;
|
|
9017
|
+
static setAttrs(elt: Element, attrs: any): void;
|
|
9018
|
+
static getDomId(): string;
|
|
9019
|
+
static createBR(doc: Document, className: string): HTMLBRElement;
|
|
9020
|
+
static createSpan(doc: Document, style: CSSStyles2): HTMLSpanElement;
|
|
9021
|
+
static createCheckBox(doc: Document, style: CSSStyles2): HTMLInputElement;
|
|
9022
|
+
static createRadio(doc: Document, style: CSSStyles2): HTMLInputElement;
|
|
9023
|
+
static getPadding(dom: HTMLElement | SVGElement): ISides;
|
|
9024
|
+
static getPaddingEx(dom: HTMLElement | SVGElement): ISides;
|
|
9025
|
+
static stopAnimation(ani: Animation): null;
|
|
9026
|
+
static childByPath(dom: Node, path: number[]): Node;
|
|
9027
|
+
static childByClass<T extends Element>(parent: HTMLElement, className: string): T;
|
|
9028
|
+
static setDisabled(dom: Element, value: boolean): void;
|
|
9029
|
+
static setImportantStyle(css: CSSStyleDeclaration, property: string, value: string): void;
|
|
9030
|
+
static setNoScale(elt: SVGElement): void;
|
|
8658
9031
|
}
|
|
8659
9032
|
|
|
8660
9033
|
declare const getVersion: typeof Globals.getVersion;
|
|
@@ -8665,4 +9038,4 @@ declare const createChart: typeof Globals.createChart;
|
|
|
8665
9038
|
declare const createChartAsync: typeof Globals.createChartAsync;
|
|
8666
9039
|
declare const preset: typeof Globals.preset;
|
|
8667
9040
|
|
|
8668
|
-
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BarSeries, BarSeriesOptions, Body, BodyView, BubbleSeries, BubbleSeriesOptions, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptionsOptions, ChartTextOptions, ChartView, CircleElement, CircleGauge, ClockGauge, Color, ColorListOptions, ColorRanger,
|
|
9041
|
+
export { Align, Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AssetItemOptions, AssetOptionsType, BackgroundImageOptions, BandSeriesOptions, BandSeriesType, BarSeries, BarSeriesOptions, Body, BodyView, BubbleSeries, BubbleSeriesOptions, ChartConfiguration, ChartControl, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptionsOptions, ChartSeriesOptions, ChartSeriesType, ChartTextOptions, ChartView, CircleElement, CircleGauge, ClockGauge, Color, ColorListOptions, ColorRanger, CreditsOptions, DataPoint, DataPointArgs as DataPointCallbackArgs, DataPointLabel, DataPointLabelOptions, Dom, ElementPool, ExportOptions, Exporter, ExporterOptions, FeatureSeriesLabelOptions, FeatureSeriesOptions, FeatureSeriesType, FigureSeries, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, HtmlAnnotation, IChart, ILegendSource, IPercentSize, IPointView, IRect, ISeries, 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, 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, setLogging, sin };
|