realmap 1.0.6 → 1.0.7
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/{realmap-export.d.ts → dist/export.d.ts} +3 -1
- package/{realmap-export.js → dist/export.js} +2 -2
- package/dist/export.mjs +7 -0
- package/{feature.js → dist/feature.js} +1 -1
- package/{feature.mjs → dist/feature.mjs} +1 -1
- package/{heatmap.js → dist/heatmap.js} +2 -2
- package/{heatmap.mjs → dist/heatmap.mjs} +2 -2
- package/{index.d.ts → dist/index.d.ts} +184 -51
- package/dist/index.js +7 -0
- package/dist/index.mjs +7 -0
- package/dist/sankey.d.ts +28 -0
- package/dist/sankey.js +7 -0
- package/dist/sankey.mjs +7 -0
- package/{realmap-export-style.css → dist/styles/realmap-export-style.css} +1 -1
- package/{tiledweb.js → dist/tiledweb.js} +1 -1
- package/{tiledweb.mjs → dist/tiledweb.mjs} +1 -1
- package/dist/track.d.ts +28 -0
- package/dist/track.js +7 -0
- package/dist/track.mjs +7 -0
- package/{vector.js → dist/vector.js} +2 -2
- package/{vector.mjs → dist/vector.mjs} +2 -2
- package/package.json +41 -29
- package/index.js +0 -7
- package/index.mjs +0 -7
- /package/{feature.d.ts → dist/feature.d.ts} +0 -0
- /package/{heatmap.d.ts → dist/heatmap.d.ts} +0 -0
- /package/{realmap-style.css → dist/styles/realmap-style.css} +0 -0
- /package/{tiledweb.d.ts → dist/tiledweb.d.ts} +0 -0
- /package/{vector.d.ts → dist/vector.d.ts} +0 -0
|
@@ -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
|
*/
|
|
@@ -629,7 +631,7 @@ interface IconedTextOptions extends ChartTextOptions {
|
|
|
629
631
|
/**
|
|
630
632
|
* DataPointCallbackArgs
|
|
631
633
|
*/
|
|
632
|
-
interface
|
|
634
|
+
interface DataPointArgs {
|
|
633
635
|
series: object;
|
|
634
636
|
count: number;
|
|
635
637
|
vcount: number;
|
|
@@ -650,6 +652,17 @@ interface DataPointCallbackArgs {
|
|
|
650
652
|
labelIndex: number;
|
|
651
653
|
source: any;
|
|
652
654
|
}
|
|
655
|
+
interface DataPointListkArgs {
|
|
656
|
+
/**
|
|
657
|
+
* 데이터포인트 개수.
|
|
658
|
+
*/
|
|
659
|
+
count: number;
|
|
660
|
+
/**
|
|
661
|
+
* 해당 위치의 데이터포인트 정보를 리턴한다.<br/
|
|
662
|
+
* 리턴되는 객체는 재사용되므로 보관할 수 없다.
|
|
663
|
+
*/
|
|
664
|
+
get(index: number): DataPointArgs;
|
|
665
|
+
}
|
|
653
666
|
interface AnimationOptions {
|
|
654
667
|
duration: number;
|
|
655
668
|
end: () => void;
|
|
@@ -759,6 +772,8 @@ interface ChartExporter {
|
|
|
759
772
|
exportToPrint: (dom: HTMLElement, options: ExportOptions) => void;
|
|
760
773
|
isContextMenuVisible: () => boolean;
|
|
761
774
|
toggleContextMenu: () => void;
|
|
775
|
+
contains: (dom: Element) => boolean;
|
|
776
|
+
hideContextMenu: () => void;
|
|
762
777
|
}
|
|
763
778
|
|
|
764
779
|
interface IPoint {
|
|
@@ -1351,6 +1366,8 @@ declare abstract class RmControl extends RmObject {
|
|
|
1351
1366
|
private _invalidateLock;
|
|
1352
1367
|
private _lockDirty;
|
|
1353
1368
|
private _cssVars;
|
|
1369
|
+
private _resizeObserver;
|
|
1370
|
+
private _domResize;
|
|
1354
1371
|
loaded: boolean;
|
|
1355
1372
|
_padding: ISides;
|
|
1356
1373
|
_scrolling: boolean;
|
|
@@ -1381,6 +1398,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
1381
1398
|
releaseLock(validate?: boolean): void;
|
|
1382
1399
|
lock(func: (control: RmControl) => void): void;
|
|
1383
1400
|
silentLock(func: (control: RmControl) => void): void;
|
|
1401
|
+
setDomResize(value: boolean): void;
|
|
1384
1402
|
getBounds(): DOMRect;
|
|
1385
1403
|
setAnimation(to?: number): void;
|
|
1386
1404
|
fling(distance: number, duration: number): void;
|
|
@@ -1395,7 +1413,7 @@ declare abstract class RmControl extends RmObject {
|
|
|
1395
1413
|
protected _setTesting(): void;
|
|
1396
1414
|
protected _setSize(w: number, h: number): void;
|
|
1397
1415
|
private $_addListener;
|
|
1398
|
-
protected
|
|
1416
|
+
protected _registerEventHandlers(dom: HTMLElement): void;
|
|
1399
1417
|
protected _unresigterEventHandlers(dom: HTMLElement): void;
|
|
1400
1418
|
protected abstract _creatDefaultTool(): RmTool;
|
|
1401
1419
|
protected _prepareRenderers(dom: HTMLElement): void;
|
|
@@ -1423,7 +1441,8 @@ declare abstract class RmControl extends RmObject {
|
|
|
1423
1441
|
protected _doKeyPress(event: KeyboardEvent): void;
|
|
1424
1442
|
protected _doWheel(event: WheelEvent): void;
|
|
1425
1443
|
protected _windowResizeHandler: (event: Event) => void;
|
|
1426
|
-
protected
|
|
1444
|
+
protected _domResizeHandler: (event: Event) => void;
|
|
1445
|
+
protected _domResized(): void;
|
|
1427
1446
|
private _clickHandler;
|
|
1428
1447
|
private _dblClickHandler;
|
|
1429
1448
|
private _touchStartHandler;
|
|
@@ -1537,6 +1556,7 @@ declare class RmElement extends RmObject {
|
|
|
1537
1556
|
transEx(x: number, y: number, duration?: number, invalidate?: boolean): RmElement;
|
|
1538
1557
|
transX(x: number): RmElement;
|
|
1539
1558
|
transY(y: number): RmElement;
|
|
1559
|
+
transform(s: string): void;
|
|
1540
1560
|
resize(width: number, height: number, attr?: boolean): boolean;
|
|
1541
1561
|
appendDom(dom: Node): Node;
|
|
1542
1562
|
insertDom(dom: Node, before: Node): Node;
|
|
@@ -1561,7 +1581,7 @@ declare class RmElement extends RmObject {
|
|
|
1561
1581
|
internalResetStyleOrClass(style: SVGStyleOrClass): void;
|
|
1562
1582
|
protected _setBackgroundBorderRadius(value: number): void;
|
|
1563
1583
|
setBackStyles(styles: any): boolean;
|
|
1564
|
-
setStyle(prop: string, value:
|
|
1584
|
+
setStyle(prop: string, value: any): boolean;
|
|
1565
1585
|
internalSetStyle(prop: string, value: string): void;
|
|
1566
1586
|
internalSetImportantStyle(prop: string, value: string): void;
|
|
1567
1587
|
setBackStyle(prop: string, value: string): boolean;
|
|
@@ -1807,9 +1827,9 @@ declare const _Shapes: {
|
|
|
1807
1827
|
/** @dummy */
|
|
1808
1828
|
type Shape = typeof _Shapes[keyof typeof _Shapes];
|
|
1809
1829
|
|
|
1810
|
-
type PointHoverCallback = (args:
|
|
1811
|
-
type PointClickCallback = (args:
|
|
1812
|
-
type PointStyleCallback = (args:
|
|
1830
|
+
type PointHoverCallback = (args: DataPointArgs) => void;
|
|
1831
|
+
type PointClickCallback = (args: DataPointArgs) => boolean;
|
|
1832
|
+
type PointStyleCallback = (args: DataPointArgs) => SVGStyleOrClass;
|
|
1813
1833
|
/**
|
|
1814
1834
|
* @enum
|
|
1815
1835
|
*/
|
|
@@ -2004,6 +2024,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2004
2024
|
* 데이터포인트 목록을 생성하는 데 참조되는 데이터셋.<br/>
|
|
2005
2025
|
* {@page g.createChartAsync createChartAsync}를 호출해서 비동기로
|
|
2006
2026
|
* 맵차트를 생성할 때는 {@page dataUrl}로 원격 데이터 소스를 지정할 수 있다.
|
|
2027
|
+
* [주의] 처음 load 후 data의 내용을 변경해도 차트에 반영되지 않는다.
|
|
2007
2028
|
*/
|
|
2008
2029
|
data?: any;
|
|
2009
2030
|
/**
|
|
@@ -2102,8 +2123,12 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
2102
2123
|
* 데이터포인트들이 새로 로드된 후 호출된다.
|
|
2103
2124
|
*/
|
|
2104
2125
|
onPointsLoaded?: (series: object, firstTime: boolean) => void;
|
|
2105
|
-
onPointAdded?: (
|
|
2106
|
-
onPointRemoved?: (
|
|
2126
|
+
onPointAdded?: (args: DataPointArgs) => void;
|
|
2127
|
+
onPointRemoved?: (args: DataPointArgs) => void;
|
|
2128
|
+
onPointUpdated?: (args: DataPointArgs) => void;
|
|
2129
|
+
onPointListAdded?: (args: DataPointListkArgs) => void;
|
|
2130
|
+
onPointListRemoved?: (args: DataPointListkArgs) => void;
|
|
2131
|
+
onPointListUpdated?: (args: DataPointListkArgs) => void;
|
|
2107
2132
|
/**
|
|
2108
2133
|
* 데이터 point가 클릭될 때 호출되는 이벤트 콜백.<br/>
|
|
2109
2134
|
* 명시적 true를 리턴하면 기본 동작이 진행되지 않는다.
|
|
@@ -2192,6 +2217,8 @@ interface GaugeOptions extends ValueSeriesOptions {
|
|
|
2192
2217
|
/**
|
|
2193
2218
|
* {@page width}, {@page height}를 동시에 지정한다.<br/>
|
|
2194
2219
|
* 이 속성보다 {@page width}, {@page height}가 우선한다.
|
|
2220
|
+
*
|
|
2221
|
+
* @default 60
|
|
2195
2222
|
*/
|
|
2196
2223
|
size?: number;
|
|
2197
2224
|
/**
|
|
@@ -2494,11 +2521,13 @@ interface BubbleSeriesOptions extends MarkerSeriesOptions {
|
|
|
2494
2521
|
/**
|
|
2495
2522
|
* 데이터포인트 값들로 부터 계산된 최소값 보다
|
|
2496
2523
|
* 이 속성에 지정한 값이 작으면 그 값을 기준 최소값으로 한다.<br/>
|
|
2524
|
+
* 실시간 동적으로 데이터포인트를 추가하는 경우 이 속성과 {@page maxValue}를 명시적으로 지정해야 한다.
|
|
2497
2525
|
*/
|
|
2498
2526
|
minValue?: number;
|
|
2499
2527
|
/**
|
|
2500
2528
|
* 데이터포인트 값들로 부터 계산된 최대값 보다
|
|
2501
2529
|
* 이 속성에 지정한 값이 크면 그 값을 기준 최대값으로 한다.<br/>
|
|
2530
|
+
* 실시간 동적으로 데이터포인트를 추가하는 경우 이 속성과 {@page minValue}를 명시적으로 지정해야 한다.
|
|
2502
2531
|
*/
|
|
2503
2532
|
maxValue?: number;
|
|
2504
2533
|
/**
|
|
@@ -2841,6 +2870,10 @@ interface PinSeriesOptions extends MarkerSeriesOptions {
|
|
|
2841
2870
|
* @default top
|
|
2842
2871
|
*/
|
|
2843
2872
|
position?: PointViewPosition;
|
|
2873
|
+
/**
|
|
2874
|
+
* 차트에 설정된 color scale 아이디 혹은 인덱스.
|
|
2875
|
+
*/
|
|
2876
|
+
colorScale?: string | number;
|
|
2844
2877
|
}
|
|
2845
2878
|
declare const FigureSeriesType = "figure";
|
|
2846
2879
|
/**
|
|
@@ -3038,6 +3071,26 @@ declare const TiledWebSeriesType = "tiledweb";
|
|
|
3038
3071
|
interface TiledWebSeriesOptions extends SeriesOptions {
|
|
3039
3072
|
type?: typeof TiledWebSeriesType;
|
|
3040
3073
|
}
|
|
3074
|
+
declare const TrackSeriesType = "track";
|
|
3075
|
+
/**
|
|
3076
|
+
* Track Series<br/>
|
|
3077
|
+
* {@page op.SeriesOptions#type}은 'track'이다.<br/>
|
|
3078
|
+
*
|
|
3079
|
+
* @config chart.series[type=track]
|
|
3080
|
+
*/
|
|
3081
|
+
interface TrackSeriesOptions extends SeriesOptions {
|
|
3082
|
+
type?: typeof TrackSeriesType;
|
|
3083
|
+
}
|
|
3084
|
+
declare const SankeySeriesType = "sankey";
|
|
3085
|
+
/**
|
|
3086
|
+
* Sankey Series<br/>
|
|
3087
|
+
* {@page op.SeriesOptions#type}은 'sankey'이다.<br/>
|
|
3088
|
+
*
|
|
3089
|
+
* @config chart.series[type=sankey]
|
|
3090
|
+
*/
|
|
3091
|
+
interface SankeySeriesOptions extends SeriesOptions {
|
|
3092
|
+
type?: typeof SankeySeriesType;
|
|
3093
|
+
}
|
|
3041
3094
|
/**
|
|
3042
3095
|
* Circle 게이지 내부 원 설정 모델.<br/>
|
|
3043
3096
|
*/
|
|
@@ -3435,7 +3488,7 @@ interface ClockGaugeOptions extends GaugeOptions {
|
|
|
3435
3488
|
*/
|
|
3436
3489
|
active?: boolean;
|
|
3437
3490
|
}
|
|
3438
|
-
type SeriesOptionsType = MapSeriesOptions | FeatureSeriesOptions | PointSeriesOptions | PinSeriesOptions | FigureSeriesOptions | VectorSeriesOptions | RouteSeriesOptions | ImageSeriesOptions | BarSeriesOptions | PieSeriesOptions | WaffleSeriesOptions | LineSeriesOptions | BubbleSeriesOptions | HeatmapSeriesOptions | PanelSeriesOptions | TiledWebSeriesOptions | CircleGaugeOptions | ClockGaugeOptions;
|
|
3491
|
+
type SeriesOptionsType = MapSeriesOptions | FeatureSeriesOptions | PointSeriesOptions | PinSeriesOptions | FigureSeriesOptions | VectorSeriesOptions | RouteSeriesOptions | ImageSeriesOptions | BarSeriesOptions | PieSeriesOptions | WaffleSeriesOptions | LineSeriesOptions | BubbleSeriesOptions | HeatmapSeriesOptions | PanelSeriesOptions | TiledWebSeriesOptions | TrackSeriesOptions | SankeySeriesOptions | CircleGaugeOptions | ClockGaugeOptions;
|
|
3439
3492
|
|
|
3440
3493
|
/**
|
|
3441
3494
|
* 시리즈 load animation 타입.
|
|
@@ -3938,6 +3991,12 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
3938
3991
|
* 스타일 속성은 svg가 아니라 html css 속성들로 지정한다.
|
|
3939
3992
|
*/
|
|
3940
3993
|
backgroundStyle?: CSSStyles;
|
|
3994
|
+
/**
|
|
3995
|
+
* div의 크기가 변경될 때, 차트를 해당 크기에 맞게 조정할지 여부
|
|
3996
|
+
*
|
|
3997
|
+
* @default false
|
|
3998
|
+
*/
|
|
3999
|
+
domResize?: boolean;
|
|
3941
4000
|
/**
|
|
3942
4001
|
* 선택 변경 시 호출되는 콜백.<br/>
|
|
3943
4002
|
*/
|
|
@@ -4518,6 +4577,7 @@ interface ISeries<T extends DataPoint = DataPoint> {
|
|
|
4518
4577
|
_latFielder?: (src: any) => number;
|
|
4519
4578
|
_valuesFielder?: (src: any) => any[];
|
|
4520
4579
|
_colorFielder: (src: any) => string;
|
|
4580
|
+
getColorScale(): string | number;
|
|
4521
4581
|
initPoints(source: any[]): T[];
|
|
4522
4582
|
followTooltipPointer(): boolean;
|
|
4523
4583
|
getValueRange?(): {
|
|
@@ -4547,6 +4607,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4547
4607
|
private _callout;
|
|
4548
4608
|
_optionsDirty: boolean;
|
|
4549
4609
|
_dataSourceDirty: boolean;
|
|
4610
|
+
_dataDirty: boolean;
|
|
4550
4611
|
_zindexDirty: boolean;
|
|
4551
4612
|
_maxZindex: number;
|
|
4552
4613
|
_runPoints: DataPoint[];
|
|
@@ -4561,7 +4622,8 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4561
4622
|
_calcedColor: string;
|
|
4562
4623
|
private _legendMarker;
|
|
4563
4624
|
private _pointLabelCallback;
|
|
4564
|
-
|
|
4625
|
+
private _pointArgs;
|
|
4626
|
+
private _pointListArgs;
|
|
4565
4627
|
private _argsPoint;
|
|
4566
4628
|
private _loaded;
|
|
4567
4629
|
ani: RmAnimation;
|
|
@@ -4599,17 +4661,28 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4599
4661
|
* @config
|
|
4600
4662
|
*/
|
|
4601
4663
|
get data(): any;
|
|
4602
|
-
|
|
4664
|
+
private $_setData;
|
|
4603
4665
|
get pointCount(): number;
|
|
4604
4666
|
followTooltipPointer(): boolean;
|
|
4667
|
+
isEmpty(visibleOnly: boolean): boolean;
|
|
4605
4668
|
isDataSeries(): boolean;
|
|
4606
4669
|
getDetailed(): Series;
|
|
4670
|
+
getValueRange(): {
|
|
4671
|
+
min: number;
|
|
4672
|
+
max: number;
|
|
4673
|
+
};
|
|
4607
4674
|
needMapScale(): boolean;
|
|
4608
4675
|
contains(p: DataPoint): boolean;
|
|
4609
4676
|
initPoints(source: any[]): DataPoint[];
|
|
4610
4677
|
getPoint(index: number): DataPoint;
|
|
4678
|
+
find(condition: {
|
|
4679
|
+
[key: string]: any;
|
|
4680
|
+
}): DataPoint;
|
|
4681
|
+
findAll(condition: {
|
|
4682
|
+
[key: string]: any;
|
|
4683
|
+
}): DataPoint[];
|
|
4611
4684
|
getPointText(p: DataPoint, index: number, label: any): string;
|
|
4612
|
-
|
|
4685
|
+
getPointArgs(p: DataPoint): DataPointArgs;
|
|
4613
4686
|
getPointStyle(p: DataPoint): any;
|
|
4614
4687
|
getPointLabelStyle(p: DataPoint): any;
|
|
4615
4688
|
getRangedColor(p: DataPoint): string;
|
|
@@ -4626,12 +4699,22 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4626
4699
|
coordOfArea(id: string): MapCoord;
|
|
4627
4700
|
getCoord(p: DataPoint): MapCoord;
|
|
4628
4701
|
pointById(id: string): DataPoint;
|
|
4629
|
-
|
|
4702
|
+
canAddAnimation(): boolean;
|
|
4703
|
+
canRemoveAnimation(): boolean;
|
|
4704
|
+
_dataLoaded: boolean;
|
|
4705
|
+
private $_dataPointsChanged;
|
|
4706
|
+
loadData(data: any, animate?: boolean): void;
|
|
4630
4707
|
addPoint(source: any, index?: number, duration?: number): DataPoint;
|
|
4631
|
-
|
|
4708
|
+
addPointList(source: any[], index?: number, duration?: number): DataPoint[];
|
|
4709
|
+
removePoint(p: DataPoint | number | string, duration?: number): void;
|
|
4710
|
+
private $_points;
|
|
4711
|
+
private $_remove;
|
|
4712
|
+
removePointList(points: (DataPoint | number | string)[], duration?: number): DataPoint[];
|
|
4713
|
+
clearPoints(duration?: number): void;
|
|
4632
4714
|
removeFirst(duration?: number): void;
|
|
4633
4715
|
removeLast(duration?: number): void;
|
|
4634
|
-
updatePoint(p: DataPoint | string | number, props: any): boolean;
|
|
4716
|
+
updatePoint(p: DataPoint | string | number, props: any, duration?: number): boolean;
|
|
4717
|
+
updatePointList(points: (DataPoint | string | number)[], props: any[], duration?: number): void;
|
|
4635
4718
|
getPointLabels(): DataPointLabel[];
|
|
4636
4719
|
getColorScale(): string | number;
|
|
4637
4720
|
setOptionsDirty(value: boolean): Series;
|
|
@@ -4667,9 +4750,10 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4667
4750
|
protected _doLoadData(src: any): any[];
|
|
4668
4751
|
private $_loadPoints;
|
|
4669
4752
|
protected _doLoadPoints(src: any): void;
|
|
4670
|
-
|
|
4671
|
-
protected
|
|
4672
|
-
protected
|
|
4753
|
+
private $_createPointArgs;
|
|
4754
|
+
protected _getPointArgs(args: DataPointArgs, p: DataPoint): DataPointArgs;
|
|
4755
|
+
protected _getPointListArgs(points: DataPoint[]): DataPointListkArgs;
|
|
4756
|
+
protected _preparePointArgs(args: DataPointArgs): void;
|
|
4673
4757
|
protected _calcMinMax(pts: DataPoint[]): {
|
|
4674
4758
|
min: number;
|
|
4675
4759
|
max: number;
|
|
@@ -4759,7 +4843,7 @@ declare abstract class Gauge<OP extends GaugeOptions = GaugeOptions> extends Val
|
|
|
4759
4843
|
static defaults: GaugeOptions;
|
|
4760
4844
|
_width: number;
|
|
4761
4845
|
_height: number;
|
|
4762
|
-
protected _doApply(
|
|
4846
|
+
protected _doApply(op: GaugeOptions): void;
|
|
4763
4847
|
}
|
|
4764
4848
|
declare abstract class ValueGauge<OP extends ValueGaugeOptions = ValueGaugeOptions> extends Gauge<OP> {
|
|
4765
4849
|
static defaults: ValueGaugeOptions;
|
|
@@ -4768,7 +4852,7 @@ declare abstract class ValueGauge<OP extends ValueGaugeOptions = ValueGaugeOptio
|
|
|
4768
4852
|
private _min;
|
|
4769
4853
|
private _max;
|
|
4770
4854
|
getValueRate(value: number): number;
|
|
4771
|
-
protected _doApply(
|
|
4855
|
+
protected _doApply(op: ValueGaugeOptions): void;
|
|
4772
4856
|
protected _doPrepareRender(chart: IChart): void;
|
|
4773
4857
|
}
|
|
4774
4858
|
|
|
@@ -4834,11 +4918,11 @@ declare class DataPoint implements ISelectionSource {
|
|
|
4834
4918
|
_runColor: string;
|
|
4835
4919
|
_zindex: number;
|
|
4836
4920
|
private _selected;
|
|
4837
|
-
_deleting: boolean;
|
|
4838
4921
|
_prev: any;
|
|
4839
4922
|
_vr: number;
|
|
4840
4923
|
constructor(source?: any);
|
|
4841
4924
|
setSelected(selected: boolean): void;
|
|
4925
|
+
isSelected(): boolean;
|
|
4842
4926
|
get lon(): number;
|
|
4843
4927
|
get lat(): number;
|
|
4844
4928
|
ariaHint(): string;
|
|
@@ -4851,11 +4935,19 @@ declare class DataPoint implements ISelectionSource {
|
|
|
4851
4935
|
protected _doInitValues(): void;
|
|
4852
4936
|
getValue(): number;
|
|
4853
4937
|
getLabel(index: number): any;
|
|
4938
|
+
vrate(): number;
|
|
4939
|
+
_setVrate(vr: number): void;
|
|
4940
|
+
_aniRate(): number;
|
|
4854
4941
|
updateValues(series: ISeries, values: any): any;
|
|
4855
4942
|
protected _valuesChanged(prev: any): boolean;
|
|
4856
4943
|
getBaseValue(): number;
|
|
4857
4944
|
getParam(param: string): any;
|
|
4858
4945
|
getCallout(coord: MapCoord): MapCoord[];
|
|
4946
|
+
_setState(state: string): void;
|
|
4947
|
+
_isAdding(): boolean;
|
|
4948
|
+
_isUpdating(): boolean;
|
|
4949
|
+
_isDeleting(): boolean;
|
|
4950
|
+
_isStatic(): boolean;
|
|
4859
4951
|
protected _assignTo(proxy: any): any;
|
|
4860
4952
|
protected _readArray(series: ISeries, v: any[]): void;
|
|
4861
4953
|
protected _readObject(series: ISeries, v: any): void;
|
|
@@ -4877,10 +4969,19 @@ declare class DataPointCollection {
|
|
|
4877
4969
|
load(source: any): void;
|
|
4878
4970
|
clear(): void;
|
|
4879
4971
|
insert(index: number, p: DataPoint): void;
|
|
4972
|
+
insertAll(index: number, points: DataPoint[]): void;
|
|
4880
4973
|
add(p: DataPoint): void;
|
|
4974
|
+
addAll(points: DataPoint[]): void;
|
|
4881
4975
|
remove(p: DataPoint): boolean;
|
|
4976
|
+
removeAll(points: DataPoint[]): number;
|
|
4882
4977
|
sort(callback: (p1: DataPoint, p2: DataPoint) => number): void;
|
|
4883
4978
|
forEach(callback: (p: DataPoint, i?: number) => any): void;
|
|
4979
|
+
find(condition: {
|
|
4980
|
+
[key: string]: any;
|
|
4981
|
+
}): DataPoint;
|
|
4982
|
+
findAll(condition: {
|
|
4983
|
+
[key: string]: any;
|
|
4984
|
+
}): DataPoint[];
|
|
4884
4985
|
}
|
|
4885
4986
|
|
|
4886
4987
|
type AssetTypes = 'colors' | 'images' | 'lineargradient' | 'radialgradient';
|
|
@@ -5036,10 +5137,10 @@ interface ScaleOptions extends ChartItemOptions {
|
|
|
5036
5137
|
*/
|
|
5037
5138
|
name?: string;
|
|
5038
5139
|
/**
|
|
5039
|
-
* {@page minValue}나 {@page maxValue}를 지정하지 않는 경우 범위 기준값을 계산할 시리즈의
|
|
5140
|
+
* {@page minValue}나 {@page maxValue}를 지정하지 않는 경우 범위 기준값을 계산할 시리즈의 이름이나 index.<br />
|
|
5040
5141
|
* 이 속성을 지정하지 않으면 첫 번째 map 시리즈의 범위를 계산한다.
|
|
5041
5142
|
*/
|
|
5042
|
-
series?: string;
|
|
5143
|
+
series?: string | number;
|
|
5043
5144
|
/**
|
|
5044
5145
|
* scale 표시 위치.<br/>
|
|
5045
5146
|
*/
|
|
@@ -5264,8 +5365,6 @@ interface ColorScaleOptions extends ScaleOptions {
|
|
|
5264
5365
|
* {@page colors}를 지정하면 이 속성은 무시된다.
|
|
5265
5366
|
* 또, {@page steps}가 지정되면 각 step에 지정된 색 범위가 우선 적용된다.
|
|
5266
5367
|
* 지정하지 않으면 'black'로 적용된다.
|
|
5267
|
-
*
|
|
5268
|
-
* @default '#000'
|
|
5269
5368
|
*/
|
|
5270
5369
|
maxColor?: string;
|
|
5271
5370
|
/**
|
|
@@ -5659,7 +5758,7 @@ declare class MapScale extends ScaleBase<MapScaleOptions> {
|
|
|
5659
5758
|
private _scale;
|
|
5660
5759
|
protected _doInit(op: MapScaleOptions): void;
|
|
5661
5760
|
get label(): MapScaleLabel;
|
|
5662
|
-
protected
|
|
5761
|
+
protected _getScaledSeries(chart: IChart): ISeries;
|
|
5663
5762
|
protected _doApply(options: MapScaleOptions): void;
|
|
5664
5763
|
protected _doPrepareRender(chart: IChart): void;
|
|
5665
5764
|
private $_calcScale;
|
|
@@ -5834,7 +5933,7 @@ declare class BubbleScale extends ScaleBase<BubbleScaleOptions> {
|
|
|
5834
5933
|
protected _doInit(op: BubbleScaleOptions): void;
|
|
5835
5934
|
get tick(): BubbleScaleTick;
|
|
5836
5935
|
getSteps(wBody: number, hBody: number): IBubbleScaleStep[];
|
|
5837
|
-
protected
|
|
5936
|
+
protected _getScaledSeries(chart: IChart): ISeries;
|
|
5838
5937
|
protected _doApply(options: BubbleScaleOptions): void;
|
|
5839
5938
|
protected _doPrepareRender(chart: IChart): void;
|
|
5840
5939
|
private $_buildSteps;
|
|
@@ -5897,6 +5996,7 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
5897
5996
|
private _max;
|
|
5898
5997
|
private _minColor;
|
|
5899
5998
|
private _maxColor;
|
|
5999
|
+
private _endColor;
|
|
5900
6000
|
private _colors;
|
|
5901
6001
|
private _barLengthDim;
|
|
5902
6002
|
private _logger;
|
|
@@ -5919,8 +6019,10 @@ declare class ColorScale extends ScaleBase<ColorScaleOptions> implements IColorR
|
|
|
5919
6019
|
getValueSteps(): number[];
|
|
5920
6020
|
getLegendSources(target: ILegendSource[]): void;
|
|
5921
6021
|
protected _doApply(options: ColorScaleOptions): void;
|
|
6022
|
+
protected _getScaledSeries(chart: IChart): ISeries;
|
|
5922
6023
|
private $_parseColorStops;
|
|
5923
6024
|
protected _doPrepareRender(chart: IChart): void;
|
|
6025
|
+
_buildSteps(): void;
|
|
5924
6026
|
private $_parseValue;
|
|
5925
6027
|
private $_normalizeMin;
|
|
5926
6028
|
private $_parseColor;
|
|
@@ -5943,6 +6045,8 @@ declare class Exporter extends ChartItem<ExporterOptions> {
|
|
|
5943
6045
|
compose(exporter: ChartExporter): void;
|
|
5944
6046
|
isContextMenuVisible(): boolean;
|
|
5945
6047
|
toggleContextMenu(): void;
|
|
6048
|
+
contains(dom: Element): boolean;
|
|
6049
|
+
hideContextMenu(): void;
|
|
5946
6050
|
exportToImage(dom: HTMLElement, options: ExportOptions, exporting: ExporterOptions): void;
|
|
5947
6051
|
}
|
|
5948
6052
|
|
|
@@ -6162,13 +6266,13 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6162
6266
|
private _minValue;
|
|
6163
6267
|
private _maxValue;
|
|
6164
6268
|
private _colorObj;
|
|
6269
|
+
private _colorRanger;
|
|
6165
6270
|
private _useMapData;
|
|
6166
6271
|
get areaCount(): number;
|
|
6167
6272
|
get parent(): MapSeries;
|
|
6168
6273
|
get detail(): MapSeries;
|
|
6169
6274
|
get drilldown(): MapSeriesDrilldown;
|
|
6170
6275
|
get color(): Color;
|
|
6171
|
-
private _colorRanger;
|
|
6172
6276
|
getHistory(): MapSeries[];
|
|
6173
6277
|
get(second: boolean, index: number): MapArea;
|
|
6174
6278
|
pointOf(area: MapArea): MapSeriesPoint;
|
|
@@ -6187,11 +6291,13 @@ declare class MapSeries extends ValueSeries<MapSeriesOptions> {
|
|
|
6187
6291
|
protected _doLoad(options: ChartItemOptions, source: any): void;
|
|
6188
6292
|
protected _doApply(options: MapSeriesOptions): void;
|
|
6189
6293
|
needMapScale(): boolean;
|
|
6294
|
+
canAddAnimation(): boolean;
|
|
6295
|
+
canRemoveAnimation(): boolean;
|
|
6190
6296
|
getRangedColor(p: MapSeriesPoint): string;
|
|
6191
6297
|
followTooltipPointer(): boolean;
|
|
6192
6298
|
getLegendSources(list: ILegendSource[]): void;
|
|
6193
6299
|
protected _createPoint(source: any): MapSeriesPoint;
|
|
6194
|
-
protected
|
|
6300
|
+
protected _getPointArgs(args: DataPointArgs, p: MapSeriesPoint): DataPointArgs;
|
|
6195
6301
|
_prepareRender(): void;
|
|
6196
6302
|
protected _doPrepareRender(chart: IChart): void;
|
|
6197
6303
|
protected _doLoadPoints(src: any): void;
|
|
@@ -6354,6 +6460,7 @@ declare class Body extends ChartItem<BodyOptions> implements IAnnotationOwner {
|
|
|
6354
6460
|
}
|
|
6355
6461
|
interface IMapChartEvents {
|
|
6356
6462
|
onModelChanged(chart: ChartObject, item: ChartItem, tag: any): void;
|
|
6463
|
+
onDataChanged(chart: ChartObject, series: Series): void;
|
|
6357
6464
|
onMapChanged(chart: ChartObject, map: MapModel): void;
|
|
6358
6465
|
onProjectionChanged(chart: ChartObject, projection: MapProjection): void;
|
|
6359
6466
|
onZoomChanged(chart: ChartObject, oldZoom: number): void;
|
|
@@ -6424,6 +6531,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6424
6531
|
get isGlobe(): boolean;
|
|
6425
6532
|
get selection(): MapSelection;
|
|
6426
6533
|
getFirstSeries(type: string): Series;
|
|
6534
|
+
findSeries(finder: (series: ISeries) => boolean): Series;
|
|
6427
6535
|
_getSeriesType(type: string): any;
|
|
6428
6536
|
_getAnnotationType(type: string): any;
|
|
6429
6537
|
_modelChanged(): void;
|
|
@@ -6473,6 +6581,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6473
6581
|
mapByName(name: string): MapModel;
|
|
6474
6582
|
mapAt(index: number): MapModel;
|
|
6475
6583
|
getMap(nameOrIndex: string | number): MapModel;
|
|
6584
|
+
getSeries(series: string | number): Series<SeriesOptions>;
|
|
6476
6585
|
seriesByName(series: string): Series;
|
|
6477
6586
|
seriesByType(type: string): Series;
|
|
6478
6587
|
seriesAt(index: number): Series;
|
|
@@ -6495,7 +6604,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
|
|
|
6495
6604
|
addSeries(source: any, animate: boolean): Series;
|
|
6496
6605
|
removeSeries(series: string | Series, animate: boolean): Series<SeriesOptions>;
|
|
6497
6606
|
/** @internal */
|
|
6498
|
-
_dataChanged(): void;
|
|
6607
|
+
_dataChanged(series: Series): void;
|
|
6499
6608
|
/** @internal */
|
|
6500
6609
|
_isDataChanged(): boolean;
|
|
6501
6610
|
getColorScale(scale: string | number): ColorScale;
|
|
@@ -6529,6 +6638,7 @@ interface IChart {
|
|
|
6529
6638
|
mapByName(name: string): MapModel;
|
|
6530
6639
|
getMap(nameOrIndex: string | number): MapModel;
|
|
6531
6640
|
getFirstSeries(type: string): Series;
|
|
6641
|
+
findSeries(finder: (series: ISeries) => boolean): Series;
|
|
6532
6642
|
animatable(): boolean;
|
|
6533
6643
|
loadAnimatable(): boolean;
|
|
6534
6644
|
loadBase(source: any, model: string, type: string): any;
|
|
@@ -6536,6 +6646,8 @@ interface IChart {
|
|
|
6536
6646
|
projectionChanged(): void;
|
|
6537
6647
|
zoomChanged(oldZoom: number): void;
|
|
6538
6648
|
seriesByName(series: string): Series;
|
|
6649
|
+
seriesAt(index: number): Series;
|
|
6650
|
+
getSeries(series: string | number): Series;
|
|
6539
6651
|
isVisible(coord: MapCoord): boolean;
|
|
6540
6652
|
getColorScale(scale: string | number): ColorScale;
|
|
6541
6653
|
requestShowSeries(series: Series, visible: boolean): void;
|
|
@@ -6552,7 +6664,7 @@ interface IChart {
|
|
|
6552
6664
|
_areaClicked(series: Series, newArea: MapArea): void;
|
|
6553
6665
|
getParam(target: any, param: string): any;
|
|
6554
6666
|
setParam(param: string, value: any, redraw?: boolean): void;
|
|
6555
|
-
_dataChanged(): void;
|
|
6667
|
+
_dataChanged(series: Series): void;
|
|
6556
6668
|
_isDataChanged(): boolean;
|
|
6557
6669
|
lockOptionsDirty(): void;
|
|
6558
6670
|
freeOptionsDirty(): void;
|
|
@@ -6666,7 +6778,7 @@ declare abstract class ScaleBase<OP extends ScaleOptions = ScaleOptions> extends
|
|
|
6666
6778
|
getLocation(): ChartItemLocation;
|
|
6667
6779
|
isReversed(): boolean;
|
|
6668
6780
|
protected _doPrepareRender(chart: IChart): void;
|
|
6669
|
-
protected
|
|
6781
|
+
protected abstract _getScaledSeries(chart: IChart): ISeries;
|
|
6670
6782
|
}
|
|
6671
6783
|
declare abstract class ScaleCollection<T extends ScaleBase = ScaleBase> extends ChartItemCollection<T> {
|
|
6672
6784
|
private _map;
|
|
@@ -6766,13 +6878,22 @@ declare class AnnotationCollection extends ChartItemCollection<Annotation> {
|
|
|
6766
6878
|
private $_loadItem;
|
|
6767
6879
|
}
|
|
6768
6880
|
|
|
6881
|
+
/**
|
|
6882
|
+
* 차트 생성 이후 호출되는 콜백의 매개변수로 사용된다.
|
|
6883
|
+
*/
|
|
6884
|
+
interface LoadCallbackArgs {
|
|
6885
|
+
/**
|
|
6886
|
+
* Realmap의 공개 {@page api.Chart} 모델
|
|
6887
|
+
*/
|
|
6888
|
+
chart: MapChart;
|
|
6889
|
+
}
|
|
6769
6890
|
/**
|
|
6770
6891
|
* RealMap 라이브러리의 차트 모델.<br/>
|
|
6771
6892
|
*/
|
|
6772
6893
|
declare class MapChart {
|
|
6773
6894
|
_obj: ChartObject;
|
|
6774
6895
|
private _modelCallback;
|
|
6775
|
-
_loadCallback: () => void;
|
|
6896
|
+
_loadCallback: (param: LoadCallbackArgs) => void;
|
|
6776
6897
|
private _loaded;
|
|
6777
6898
|
constructor(config?: ChartConfiguration, callback?: (model: ChartObject, oldModel: ChartObject) => void);
|
|
6778
6899
|
/**
|
|
@@ -6884,7 +7005,7 @@ declare class MapChart {
|
|
|
6884
7005
|
*
|
|
6885
7006
|
* @param config 차트 설정 정보
|
|
6886
7007
|
*/
|
|
6887
|
-
load(config: ChartConfiguration, loadAnimation?: boolean, callback?: () => void): MapChart;
|
|
7008
|
+
load(config: ChartConfiguration, loadAnimation?: boolean, callback?: (param: LoadCallbackArgs) => void): MapChart;
|
|
6888
7009
|
/**
|
|
6889
7010
|
* load 메서드의 async 버전. <br/>
|
|
6890
7011
|
*
|
|
@@ -7009,7 +7130,7 @@ declare class Globals {
|
|
|
7009
7130
|
* @param callback 차트가 모두 로드되고 첫 렌더링이 완료된 후 호출되는 콜백 함수.
|
|
7010
7131
|
* @returns 생성된 차트 객체
|
|
7011
7132
|
*/
|
|
7012
|
-
static createChart(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: () => void): MapChart;
|
|
7133
|
+
static createChart(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: (param: LoadCallbackArgs) => void): MapChart;
|
|
7013
7134
|
/**
|
|
7014
7135
|
* 지도 파일이나 데이터가 URL을 통해 제공되는 경우, 데이터를 모두 로드한 뒤 차트를 생성하도록 비동기 처리할 수 있다.
|
|
7015
7136
|
*
|
|
@@ -7032,7 +7153,7 @@ declare class Globals {
|
|
|
7032
7153
|
* @param callback 차트가 모두 로드되고 첫 렌더링이 완료된 후 호출되는 콜백 함수.
|
|
7033
7154
|
* @returns 생성된 차트 객체
|
|
7034
7155
|
*/
|
|
7035
|
-
static createChartAsync(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: () => void): Promise<MapChart>;
|
|
7156
|
+
static createChartAsync(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: (param: LoadCallbackArgs) => void): Promise<MapChart>;
|
|
7036
7157
|
/**
|
|
7037
7158
|
* name에 해당하는 기본 제공 객체를 리턴한다.<br/>
|
|
7038
7159
|
*/
|
|
@@ -7158,12 +7279,6 @@ declare abstract class SectionView extends GroupElement {
|
|
|
7158
7279
|
protected abstract _doLayout(param?: any): void;
|
|
7159
7280
|
protected abstract _doLocateInner(width: number, height: number, param?: any): void;
|
|
7160
7281
|
}
|
|
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
7282
|
|
|
7168
7283
|
/**
|
|
7169
7284
|
* @internal
|
|
@@ -7276,7 +7391,6 @@ declare class ElementPool<T extends RmElement> extends RmObject {
|
|
|
7276
7391
|
private _creator;
|
|
7277
7392
|
private _pool;
|
|
7278
7393
|
private _views;
|
|
7279
|
-
private _removes;
|
|
7280
7394
|
private _styleName;
|
|
7281
7395
|
constructor(owner: RmElement, creator: {
|
|
7282
7396
|
new (doc: Document, styleName?: string): T;
|
|
@@ -7397,7 +7511,7 @@ interface IPointView {
|
|
|
7397
7511
|
declare class PointViewPool<T extends RmElement & IPointView> extends ElementPool<T> {
|
|
7398
7512
|
constructor(owner: RmElement, creator: {
|
|
7399
7513
|
new (doc: Document, group?: boolean): T;
|
|
7400
|
-
});
|
|
7514
|
+
}, className?: string);
|
|
7401
7515
|
_getElementId(view: T): number;
|
|
7402
7516
|
}
|
|
7403
7517
|
declare class PointLabelView extends LabelElement {
|
|
@@ -7452,6 +7566,7 @@ declare class PointCalloutContainer extends LayerElement {
|
|
|
7452
7566
|
setMask(cv: PointCalloutView, pts: number[]): CalloutMaskView;
|
|
7453
7567
|
}
|
|
7454
7568
|
declare abstract class PointElement<T extends DataPoint = DataPoint> extends PathElementEx implements IPointView {
|
|
7569
|
+
_static: boolean;
|
|
7455
7570
|
point: T;
|
|
7456
7571
|
constructor(doc: Document, group?: boolean);
|
|
7457
7572
|
tooltipColor(): string;
|
|
@@ -7459,6 +7574,9 @@ declare abstract class PointElement<T extends DataPoint = DataPoint> extends Pat
|
|
|
7459
7574
|
x: number;
|
|
7460
7575
|
y: number;
|
|
7461
7576
|
}[], start: number, end: number, sb: PathBuilder): void;
|
|
7577
|
+
protected _checkStatic(): boolean;
|
|
7578
|
+
protected _clearScale(view: RmElement): void;
|
|
7579
|
+
protected _aniScale(view: RmElement, seriesVr: number): void;
|
|
7462
7580
|
}
|
|
7463
7581
|
declare class PointContainer extends LayerElement {
|
|
7464
7582
|
}
|
|
@@ -7469,7 +7587,7 @@ type LabelPositioner = (x: number, y: number, rLabel: IRect, wPoint: number, hPo
|
|
|
7469
7587
|
*
|
|
7470
7588
|
* View base for map chart series.
|
|
7471
7589
|
*/
|
|
7472
|
-
declare abstract class SeriesView<T extends Series = Series> extends
|
|
7590
|
+
declare abstract class SeriesView<T extends Series = Series> extends ChartElement<T> {
|
|
7473
7591
|
static readonly POINT_CLASS = "rm-point";
|
|
7474
7592
|
static readonly DATA_HOVER = "hover";
|
|
7475
7593
|
static readonly DATA_UNHOVER = "unhover";
|
|
@@ -7555,6 +7673,7 @@ declare abstract class MarkerSeriesPointView<T extends MarkerSeriesPoint = Marke
|
|
|
7555
7673
|
setHoverRate(series: SeriesView, focused: boolean, rate: number): void;
|
|
7556
7674
|
endHover(series: SeriesView, focused: boolean): void;
|
|
7557
7675
|
distance(rd: number, x: number, y: number): number;
|
|
7676
|
+
prepare(): void;
|
|
7558
7677
|
}
|
|
7559
7678
|
declare abstract class MarkerSeriesView<T extends MarkerSeries = MarkerSeries> extends SeriesView<T> {
|
|
7560
7679
|
protected _markers: PointViewPool<MarkerSeriesPointView<MarkerSeriesPoint>>;
|
|
@@ -7769,7 +7888,9 @@ declare class ChartControl extends RmControl implements IMapChartEvents {
|
|
|
7769
7888
|
private _errorView;
|
|
7770
7889
|
constructor(doc: Document, container: string | HTMLDivElement);
|
|
7771
7890
|
protected _initControl(document: Document, container: string | HTMLDivElement, className: string): void;
|
|
7891
|
+
protected _doPointerDown(event: PointerEvent): boolean;
|
|
7772
7892
|
onModelChanged(chart: ChartObject, item: ChartItem<ChartItemOptions>, tag: any): void;
|
|
7893
|
+
onDataChanged(chart: ChartObject, series: Series): void;
|
|
7773
7894
|
onProjectionChanged(chart: ChartObject, projection: MapProjection): void;
|
|
7774
7895
|
onMapChanged(chart: ChartObject, map: MapModel): void;
|
|
7775
7896
|
onZoomChanged(chart: ChartObject, oldZoom: number): void;
|
|
@@ -7837,8 +7958,8 @@ declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
|
|
|
7837
7958
|
private _subLabel;
|
|
7838
7959
|
private _minSizeDim;
|
|
7839
7960
|
private _maxSizeDim;
|
|
7840
|
-
|
|
7841
|
-
|
|
7961
|
+
_extMin: number;
|
|
7962
|
+
_extMax: number;
|
|
7842
7963
|
_vMin: number;
|
|
7843
7964
|
_vMax: number;
|
|
7844
7965
|
_noSize: boolean;
|
|
@@ -8111,7 +8232,7 @@ declare class ClockGauge extends Gauge<ClockGaugeOptions> {
|
|
|
8111
8232
|
get tickLabel(): ClockGaugeTickLabel;
|
|
8112
8233
|
get pin(): ClockGaugePin;
|
|
8113
8234
|
get gaugeLabel(): ClockGaugeLabel;
|
|
8114
|
-
getExtents(gaugeWidth: number, gaugeHeight: number): {
|
|
8235
|
+
getExtents(gaugeWidth: number, gaugeHeight: number, rate: number): {
|
|
8115
8236
|
cx: number;
|
|
8116
8237
|
cy: number;
|
|
8117
8238
|
rd: number;
|
|
@@ -8296,17 +8417,30 @@ declare class PinSeries extends MarkerSeries<PinSeriesOptions> {
|
|
|
8296
8417
|
static defaults: PinSeriesOptions;
|
|
8297
8418
|
private _rd;
|
|
8298
8419
|
private _innerRd;
|
|
8420
|
+
private _minValue;
|
|
8421
|
+
private _maxValue;
|
|
8422
|
+
private _colorObj;
|
|
8423
|
+
private _colorRanger;
|
|
8299
8424
|
getExt(p: PinSeriesPoint, rate: number): {
|
|
8300
8425
|
cx: number;
|
|
8301
8426
|
cy: number;
|
|
8302
8427
|
rd: number;
|
|
8303
8428
|
innerRd: number;
|
|
8304
8429
|
};
|
|
8430
|
+
get color(): Color;
|
|
8305
8431
|
protected _doApply(options: PinSeriesOptions): void;
|
|
8306
8432
|
protected _createPoint(source: any): PinSeriesPoint;
|
|
8307
8433
|
protected _defLabelOff(): number;
|
|
8308
8434
|
protected _doLoadPoints(src: any): void;
|
|
8309
8435
|
protected _createLegendMarker(doc: Document, size: number): RmElement;
|
|
8436
|
+
setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
|
|
8437
|
+
getColorScale(): string | number;
|
|
8438
|
+
getValueRange(): {
|
|
8439
|
+
min: number;
|
|
8440
|
+
max: number;
|
|
8441
|
+
};
|
|
8442
|
+
getRangedColor(p: PinSeriesPoint): string;
|
|
8443
|
+
protected _doPrepareRender(chart: IChart): void;
|
|
8310
8444
|
}
|
|
8311
8445
|
|
|
8312
8446
|
/**
|
|
@@ -8359,7 +8493,6 @@ declare class RouteSeries extends Series<RouteSeriesOptions> {
|
|
|
8359
8493
|
static type: string;
|
|
8360
8494
|
static defaults: RouteSeriesOptions;
|
|
8361
8495
|
needMapScale(): boolean;
|
|
8362
|
-
needRemoveAnimation(): boolean;
|
|
8363
8496
|
protected _createPoint(source: any): RouteSeriesPoint;
|
|
8364
8497
|
pointLabelCount(): number;
|
|
8365
8498
|
protected _defLabelOff(): number;
|
|
@@ -8665,4 +8798,4 @@ declare const createChart: typeof Globals.createChart;
|
|
|
8665
8798
|
declare const createChartAsync: typeof Globals.createChartAsync;
|
|
8666
8799
|
declare const preset: typeof Globals.preset;
|
|
8667
8800
|
|
|
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,
|
|
8801
|
+
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, CreditsOptions, DataPoint, DataPointArgs as DataPointCallbackArgs, DataPointLabel, DataPointLabelOptions, ElementPool, ExportOptions, Exporter, ExporterOptions, FeatureSeriesLabelOptions, FeatureSeriesOptions, FeatureSeriesType, FigureSeries, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, IChart, ILegendSource, IPercentSize, IPointView, IRect, ISeries, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageSeries, Legend, LegendOptions, LineElement, LineSeries, LineSeriesOptions, LinearGradientOptions, LoadCallbackArgs, MapArea, MapAxis, MapAxisBandGuide, MapAxisGuide, MapAxisLineGuide, MapAxisRangeGuide, MapChart, MapCoord, MapCrosshair, MapInset, MapInsetDisplay, MapSeries, MapSeriesLabelOptions, MapSeriesOptions, MapSeriesType, MapBackgroundOptions as MapViewBackgroundOptions, BodyOptions as MapViewOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPoint, MarkerSeriesPointView, MarkerSeriesView, ORG_ANGLE, OrthogonalSparkSeries, PI_2, PanelSeries, PatternOptions, PercentSize, PieSeries, PieSeriesOptions, PinSeries, PointElement, PointLabelView, PointSeries, PointViewPool, PointViewPosition, ProjectionType, RAD_DEG, RadialGradientOptions, RectElement, RmElement, RouteSeries, RouteSeriesOptions, RouteSeriesType, SVGStyleOrClass, SVGStyles, SankeySeriesOptions, SankeySeriesType, SectionView, SectorElement, Series, SeriesAnimation, SeriesOptions, SeriesOptionsType, SeriesView, ShapeAnnotation, ShapeAnnotationOptions, Size, SparkSeries, Subtitle, SubtitleOptions, TextAnchor, TextAnnotation, TextAnnotationOptions, TextElement, TextLayout, TiledWebSeriesOptions, TiledWebSeriesType, Title, TitleOptions, TooltipOptions, TrackSeriesOptions, 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 };
|