realchart 1.4.31 → 1.4.32
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/gauge.js +2 -2
- package/gauge.mjs +2 -2
- package/heatmap.js +1 -1
- package/heatmap.mjs +1 -1
- package/ie/gauge.ie.js +2 -2
- package/ie/heatmap.ie.js +1 -1
- package/ie/index.ie.js +2 -2
- package/ie/pictogram.ie.js +2 -2
- package/ie/split.ie.js +2 -2
- package/ie/treemap.ie.js +2 -2
- package/ie/vector.ie.js +2 -2
- package/ie/wordcloud.ie.js +2 -2
- package/index.d.ts +260 -453
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
- package/pictogram.js +2 -2
- package/pictogram.mjs +2 -2
- package/split.d.ts +1 -1
- package/split.js +2 -2
- package/split.mjs +2 -2
- package/treemap.js +2 -2
- package/treemap.mjs +2 -2
- package/vector.js +2 -2
- package/vector.mjs +2 -2
- package/wordcloud.js +2 -2
- package/wordcloud.mjs +2 -2
package/index.d.ts
CHANGED
|
@@ -1,44 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* @see [개발 가이드](/guide/dev-guide)
|
|
6
|
-
* @see [RealChart 개요](/guide)
|
|
7
|
-
*/
|
|
8
|
-
declare abstract class RcObject {
|
|
9
|
-
static destroy(obj: RcObject): null;
|
|
10
|
-
private $_hash;
|
|
11
|
-
private $_destroyed;
|
|
12
|
-
private $_destroying;
|
|
13
|
-
constructor(noHash?: boolean);
|
|
14
|
-
/**
|
|
15
|
-
* 객체가 소유한 참조 등을 해제하고 null을 리턴한다.
|
|
16
|
-
*
|
|
17
|
-
* ```
|
|
18
|
-
* model = model.destroy();
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @returns null
|
|
22
|
-
*/
|
|
23
|
-
destroy(): null;
|
|
24
|
-
protected _doDestroy(): void;
|
|
25
|
-
get destroying(): boolean;
|
|
26
|
-
get orphaned(): boolean;
|
|
27
|
-
get hash(): string;
|
|
28
|
-
isMe(hash: string): boolean;
|
|
29
|
-
toString(): string;
|
|
30
|
-
/**
|
|
31
|
-
* @private
|
|
32
|
-
*
|
|
33
|
-
* template param으로부터 생성되는 값은 문자열일 수 있다.
|
|
34
|
-
*/
|
|
35
|
-
toBool(v: any): boolean;
|
|
36
|
-
toNum(v: any, def?: number): number;
|
|
37
|
-
}
|
|
1
|
+
import * as _realgrid_common from '@realgrid/common';
|
|
2
|
+
import { RObject, Align, PercentSize, IPercentSize, ISides, IRect, VerticalAlign, TextFormatter, ROptionable, TextOrientation, ROptions } from '@realgrid/common';
|
|
3
|
+
export { Align, IPercentSize, IRect, ORG_ANGLE, PI_2, PercentSize, RAD_DEG, RObject, RObject as RcObject, absv, assignObj, calcPercent, copyObj, cos, createRect, incv, isArray, isEmptyRect, isNumber, isObject, isString, maxv, minv, pickNum, pickProp, pickProp3, pixel, rectToSize, sin } from '@realgrid/common';
|
|
4
|
+
|
|
38
5
|
/**
|
|
39
6
|
* @private
|
|
40
7
|
*/
|
|
41
|
-
declare abstract class EventProvider<T> extends
|
|
8
|
+
declare abstract class EventProvider<T> extends RObject {
|
|
42
9
|
private _listeners;
|
|
43
10
|
_addListener(listener: T): void;
|
|
44
11
|
_removeListener(listener: T): void;
|
|
@@ -176,76 +143,8 @@ declare class Size {
|
|
|
176
143
|
constructor(width?: number, height?: number);
|
|
177
144
|
}
|
|
178
145
|
|
|
179
|
-
/**
|
|
180
|
-
* @private
|
|
181
|
-
*/
|
|
182
|
-
declare const PI_2: number;
|
|
183
|
-
declare const ORG_ANGLE: number;
|
|
184
|
-
/**
|
|
185
|
-
* @private
|
|
186
|
-
*/
|
|
187
|
-
declare const RAD_DEG: number;
|
|
188
|
-
/**
|
|
189
|
-
* @private
|
|
190
|
-
*/
|
|
191
|
-
declare function fixnum(value: number): number;
|
|
192
|
-
declare function toStr(value: any): string;
|
|
193
|
-
/**
|
|
194
|
-
* @private
|
|
195
|
-
*/
|
|
196
|
-
declare function pixel(v: number): string;
|
|
197
146
|
type PathValue = string | number;
|
|
198
147
|
type Path = string | any[];
|
|
199
|
-
/**
|
|
200
|
-
* 123, '10%' 형식으로 크기를 지정한다.
|
|
201
|
-
*/
|
|
202
|
-
type PercentSize = string | number;
|
|
203
|
-
interface IPercentSize {
|
|
204
|
-
size: number;
|
|
205
|
-
fixed: boolean;
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* @private
|
|
209
|
-
*/
|
|
210
|
-
declare function parsePercentSize(sv: PercentSize, enableNull: boolean, def?: number): IPercentSize;
|
|
211
|
-
/**
|
|
212
|
-
* @private
|
|
213
|
-
*/
|
|
214
|
-
declare function calcPercent(size: IPercentSize, domain: number, def?: number): number;
|
|
215
|
-
/**
|
|
216
|
-
* 수평 정렬.
|
|
217
|
-
* @enum
|
|
218
|
-
*/
|
|
219
|
-
declare const _Align: {
|
|
220
|
-
/**
|
|
221
|
-
* 왼쪽으로 정렬한다.
|
|
222
|
-
*/
|
|
223
|
-
readonly LEFT: "left";
|
|
224
|
-
/**
|
|
225
|
-
* 영역 가운데로 정렬한다.
|
|
226
|
-
*/
|
|
227
|
-
readonly CENTER: "center";
|
|
228
|
-
/**
|
|
229
|
-
* 오른쪽으로 정렬한다.
|
|
230
|
-
*/
|
|
231
|
-
readonly RIGHT: "right";
|
|
232
|
-
};
|
|
233
|
-
/** @dummy */
|
|
234
|
-
type Align = typeof _Align[keyof typeof _Align];
|
|
235
|
-
/**
|
|
236
|
-
* 수직 정렬.
|
|
237
|
-
* @enum
|
|
238
|
-
*/
|
|
239
|
-
declare const _VerticalAlign: {
|
|
240
|
-
/** */
|
|
241
|
-
readonly TOP: "top";
|
|
242
|
-
/** */
|
|
243
|
-
readonly MIDDLE: "middle";
|
|
244
|
-
/** */
|
|
245
|
-
readonly BOTTOM: "bottom";
|
|
246
|
-
};
|
|
247
|
-
/** @dummy */
|
|
248
|
-
type VerticalAlign = typeof _VerticalAlign[keyof typeof _VerticalAlign];
|
|
249
148
|
/**
|
|
250
149
|
* SVG 스타일 속성.<br/>
|
|
251
150
|
* {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute SVG 속성}을 참조한다.<br/>
|
|
@@ -317,85 +216,11 @@ interface SVGStyles {
|
|
|
317
216
|
}
|
|
318
217
|
/** @dummy */
|
|
319
218
|
type SVGStyleOrClass = SVGStyles | string;
|
|
219
|
+
declare function fixnum(value: number): number;
|
|
320
220
|
/**
|
|
321
|
-
*
|
|
322
|
-
* @enum
|
|
323
|
-
*/
|
|
324
|
-
declare const _ChartTextEffect: {
|
|
325
|
-
/**
|
|
326
|
-
* 효과 없음.
|
|
327
|
-
*/
|
|
328
|
-
readonly NONE: "none";
|
|
329
|
-
/**
|
|
330
|
-
* 텍스트 색상과 대조되는 색상으로 텍스트 외곽을 구분 표시한다.
|
|
331
|
-
*/
|
|
332
|
-
readonly OUTLINE: "outline";
|
|
333
|
-
/**
|
|
334
|
-
* 텍스트 배경 상자를 표시한다.<br/>
|
|
335
|
-
* 배경 상자에 {@link backgroundStyle}이 적용된다.
|
|
336
|
-
* 스타일이 적용되지 않으면 기본 'rct-text-background'가 적용된다.
|
|
337
|
-
*/
|
|
338
|
-
readonly BACKGROUND: "background";
|
|
339
|
-
};
|
|
340
|
-
/** @dummy */
|
|
341
|
-
type ChartTextEffect = typeof _ChartTextEffect[keyof typeof _ChartTextEffect];
|
|
342
|
-
/**
|
|
343
|
-
* @enum
|
|
344
|
-
*/
|
|
345
|
-
declare const _ChartTextOverflow: {
|
|
346
|
-
readonly CLIP: "clip";
|
|
347
|
-
readonly ELLIPSIS: "ellipsis";
|
|
348
|
-
readonly WRAP: "wrap";
|
|
349
|
-
};
|
|
350
|
-
/** @dummy */
|
|
351
|
-
type ChartTextOverflow = typeof _ChartTextOverflow[keyof typeof _ChartTextOverflow];
|
|
352
|
-
interface IMinMax {
|
|
353
|
-
min: number;
|
|
354
|
-
max: number;
|
|
355
|
-
}
|
|
356
|
-
interface ISides {
|
|
357
|
-
left: number;
|
|
358
|
-
right: number;
|
|
359
|
-
top: number;
|
|
360
|
-
bottom: number;
|
|
361
|
-
horz?: number;
|
|
362
|
-
vert?: number;
|
|
363
|
-
}
|
|
364
|
-
interface ISides {
|
|
365
|
-
left: number;
|
|
366
|
-
right: number;
|
|
367
|
-
top: number;
|
|
368
|
-
bottom: number;
|
|
369
|
-
horz?: number;
|
|
370
|
-
vert?: number;
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* @enum
|
|
374
|
-
*/
|
|
375
|
-
declare const _AlignBase: {
|
|
376
|
-
/**
|
|
377
|
-
*
|
|
378
|
-
*/
|
|
379
|
-
readonly CHART: "chart";
|
|
380
|
-
/**
|
|
381
|
-
*
|
|
382
|
-
*/
|
|
383
|
-
readonly BODY: "body";
|
|
384
|
-
/**
|
|
385
|
-
* 상위 모델이 존재하는 경우 상위 모델 영역 기준.\
|
|
386
|
-
* 상위가 없으면 기본값(대부분 'body')과 동일.
|
|
387
|
-
* ex) subtitle인 경우 title 기준.
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*/
|
|
391
|
-
readonly PARENT: "parent";
|
|
392
|
-
};
|
|
393
|
-
/** @dummy */
|
|
394
|
-
type AlignBase = typeof _AlignBase[keyof typeof _AlignBase];
|
|
395
|
-
/**
|
|
396
|
-
* {@link https://realchart.co.kr/config/config/base/series#viewranges viewRanges} 등에 설정할 수 있는 값 범위 정보.<br/>
|
|
221
|
+
* {@link https://realchart.co.kr/config/config/base/series#viewRanges viewRanges} 등에 설정할 수 있는 값 범위 정보.<br/>
|
|
397
222
|
* 시작, 끝 값과 영역에 표시할 색상 및 label을 지정한다.
|
|
398
|
-
* {@link https://realchart.co.kr/config/config/base/series#
|
|
223
|
+
* {@link https://realchart.co.kr/config/config/base/series#viewRanges viewRanges}에는 이 설정 객체 배열로 지정한다.
|
|
399
224
|
*/
|
|
400
225
|
interface ValueRange {
|
|
401
226
|
/**
|
|
@@ -418,7 +243,7 @@ interface ValueRange {
|
|
|
418
243
|
areaStyle?: SVGStyleOrClass;
|
|
419
244
|
}
|
|
420
245
|
/**
|
|
421
|
-
* {@link https://realchart.co.kr/config/config/base/series#
|
|
246
|
+
* {@link https://realchart.co.kr/config/config/base/series#viewRanges viewRanges}에 설정할 수 있는 값 범위 목록.<br/>
|
|
422
247
|
*/
|
|
423
248
|
interface ValueRangeList {
|
|
424
249
|
/**
|
|
@@ -453,6 +278,10 @@ interface ValueRangeList {
|
|
|
453
278
|
* fromValue를 기준으로 정렬한다.
|
|
454
279
|
*/
|
|
455
280
|
declare const buildValueRanges: (source: ValueRange[] | ValueRangeList, min: number, max: number, inclusive?: boolean, strict?: boolean, fill?: boolean, color?: string) => ValueRange[];
|
|
281
|
+
interface IMinMax {
|
|
282
|
+
min: number;
|
|
283
|
+
max: number;
|
|
284
|
+
}
|
|
456
285
|
/**
|
|
457
286
|
* 색상 목록에서 색을 가져오는 방식.
|
|
458
287
|
* @enum
|
|
@@ -492,6 +321,38 @@ declare const _SeriesLoadAnimation: {
|
|
|
492
321
|
};
|
|
493
322
|
/** @dummy */
|
|
494
323
|
type SeriesLoadAnimation = typeof _SeriesLoadAnimation[keyof typeof _SeriesLoadAnimation];
|
|
324
|
+
/**
|
|
325
|
+
* 텍스트 표시 효과.
|
|
326
|
+
* @enum
|
|
327
|
+
*/
|
|
328
|
+
declare const _ChartTextEffect: {
|
|
329
|
+
/**
|
|
330
|
+
* 효과 없음.
|
|
331
|
+
*/
|
|
332
|
+
readonly NONE: "none";
|
|
333
|
+
/**
|
|
334
|
+
* 텍스트 색상과 대조되는 색상으로 텍스트 외곽을 구분 표시한다.
|
|
335
|
+
*/
|
|
336
|
+
readonly OUTLINE: "outline";
|
|
337
|
+
/**
|
|
338
|
+
* 텍스트 배경 상자를 표시한다.<br/>
|
|
339
|
+
* 배경 상자에 {@link backgroundStyle}이 적용된다.
|
|
340
|
+
* 스타일이 적용되지 않으면 기본 'rct-text-background'가 적용된다.
|
|
341
|
+
*/
|
|
342
|
+
readonly BACKGROUND: "background";
|
|
343
|
+
};
|
|
344
|
+
/** @dummy */
|
|
345
|
+
type ChartTextEffect = typeof _ChartTextEffect[keyof typeof _ChartTextEffect];
|
|
346
|
+
/**
|
|
347
|
+
* @enum
|
|
348
|
+
*/
|
|
349
|
+
declare const _ChartTextOverflow: {
|
|
350
|
+
readonly CLIP: "clip";
|
|
351
|
+
readonly ELLIPSIS: "ellipsis";
|
|
352
|
+
readonly WRAP: "wrap";
|
|
353
|
+
};
|
|
354
|
+
/** @dummy */
|
|
355
|
+
type ChartTextOverflow = typeof _ChartTextOverflow[keyof typeof _ChartTextOverflow];
|
|
495
356
|
/**
|
|
496
357
|
* @enum
|
|
497
358
|
*/
|
|
@@ -510,24 +371,31 @@ type WritingMode = typeof _WritingMode[keyof typeof _WritingMode];
|
|
|
510
371
|
/**
|
|
511
372
|
* @enum
|
|
512
373
|
*/
|
|
513
|
-
declare const
|
|
514
|
-
/**
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
readonly
|
|
374
|
+
declare const _AlignBase: {
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
*/
|
|
378
|
+
readonly CHART: "chart";
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
*/
|
|
382
|
+
readonly BODY: "body";
|
|
383
|
+
/**
|
|
384
|
+
* 상위 모델이 존재하는 경우 상위 모델 영역 기준.\
|
|
385
|
+
* 상위가 없으면 기본값(대부분 'body')과 동일.
|
|
386
|
+
* ex) subtitle인 경우 title 기준.
|
|
387
|
+
*
|
|
388
|
+
*
|
|
389
|
+
*/
|
|
390
|
+
readonly PARENT: "parent";
|
|
518
391
|
};
|
|
519
392
|
/** @dummy */
|
|
520
|
-
type
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
height: number;
|
|
527
|
-
}
|
|
528
|
-
declare const createRect: (x: number, y: number, width: number, height: number) => IRect;
|
|
529
|
-
declare function rectToSize(r: IRect): Size;
|
|
530
|
-
declare function isEmptyRect(r: IRect): boolean;
|
|
393
|
+
type AlignBase = typeof _AlignBase[keyof typeof _AlignBase];
|
|
394
|
+
declare function toStr(value: any): string;
|
|
395
|
+
/**
|
|
396
|
+
* @private
|
|
397
|
+
*/
|
|
398
|
+
declare function parsePercentSize(sv: PercentSize, enableNull: boolean, def?: number): IPercentSize;
|
|
531
399
|
|
|
532
400
|
/**
|
|
533
401
|
* @enum
|
|
@@ -757,7 +625,7 @@ interface IPointerHandler {
|
|
|
757
625
|
*
|
|
758
626
|
* Control base.
|
|
759
627
|
*/
|
|
760
|
-
declare abstract class RcControl extends
|
|
628
|
+
declare abstract class RcControl extends RObject implements IAssetOwner {
|
|
761
629
|
static readonly CLASS_NAME = "rct-control";
|
|
762
630
|
static readonly SHADOW_FILTER = "rr-chart-shadow-filter";
|
|
763
631
|
static _animatable: boolean;
|
|
@@ -787,7 +655,7 @@ declare abstract class RcControl extends RcObject implements IAssetOwner {
|
|
|
787
655
|
_padding: ISides;
|
|
788
656
|
private _bounds;
|
|
789
657
|
constructor(doc: Document, container: string | HTMLDivElement, className?: string);
|
|
790
|
-
protected
|
|
658
|
+
protected _doDispose(): void;
|
|
791
659
|
isInited(): boolean;
|
|
792
660
|
isTesting(): boolean;
|
|
793
661
|
doc(): Document;
|
|
@@ -879,7 +747,7 @@ declare abstract class RcControl extends RcObject implements IAssetOwner {
|
|
|
879
747
|
* RcContainer 구성 요소.
|
|
880
748
|
* SVGElement들로 구현된다.
|
|
881
749
|
*/
|
|
882
|
-
declare class RcElement extends
|
|
750
|
+
declare class RcElement extends RObject {
|
|
883
751
|
static DEBUGGING: boolean;
|
|
884
752
|
static TESTING: boolean;
|
|
885
753
|
static ASSET_KEY: string;
|
|
@@ -908,7 +776,7 @@ declare class RcElement extends RcObject {
|
|
|
908
776
|
private _parent;
|
|
909
777
|
removing: boolean;
|
|
910
778
|
constructor(doc: Document, styleName: string, tag?: string);
|
|
911
|
-
protected
|
|
779
|
+
protected _doDispose(): void;
|
|
912
780
|
get doc(): Document;
|
|
913
781
|
get win(): Window & typeof globalThis;
|
|
914
782
|
get dom(): SVGElement;
|
|
@@ -1046,13 +914,13 @@ declare class RcElement extends RcObject {
|
|
|
1046
914
|
protected _updateTransform(): void;
|
|
1047
915
|
getTransform(): string;
|
|
1048
916
|
}
|
|
1049
|
-
declare class RcHtmlElement extends
|
|
917
|
+
declare class RcHtmlElement extends RObject {
|
|
1050
918
|
private _control;
|
|
1051
919
|
protected _dom: HTMLElement;
|
|
1052
920
|
protected _svg: SVGSVGElement;
|
|
1053
921
|
constructor(doc: Document, control: RcControl, svg?: boolean);
|
|
1054
922
|
protected _doInitDom(dom: HTMLElement): void;
|
|
1055
|
-
protected
|
|
923
|
+
protected _doDispose(): void;
|
|
1056
924
|
get control(): RcControl;
|
|
1057
925
|
get dom(): HTMLElement;
|
|
1058
926
|
addSvg<T extends RcElement>(child: T): T;
|
|
@@ -1211,7 +1079,7 @@ declare class SvgShapes {
|
|
|
1211
1079
|
}
|
|
1212
1080
|
|
|
1213
1081
|
/**
|
|
1214
|
-
* 시리즈 데이터포인트 {@link https://realchart.co.kr/config/config/base/series#
|
|
1082
|
+
* 시리즈 데이터포인트 {@link https://realchart.co.kr/config/config/base/series#pointLabel 라벨} 표시 위치.<br/>
|
|
1215
1083
|
* {@link https://realchart.co.kr/config/config/base/series/pointLabel#position position} 속성 값으로 사용된다.
|
|
1216
1084
|
*
|
|
1217
1085
|
* @enum
|
|
@@ -1780,7 +1648,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1780
1648
|
/**
|
|
1781
1649
|
* 연결된 x축이 연속 축(카테고리축이 아닌)일 때, x축 값이 설정되지 않은 첫번째 데이터 point에 설정되는 x값.<br/>
|
|
1782
1650
|
* 이 후에는 {@link xStep}씩 증가시키면서 설정한다.
|
|
1783
|
-
* 이 속성이 지정되지 않은 경우 {@link https://realchart.co.kr/config/config/
|
|
1651
|
+
* 이 속성이 지정되지 않은 경우 {@link https://realchart.co.kr/config/config/general#xStart xStart}가 적용되는데
|
|
1784
1652
|
* {@link LogAxis log}축이면 1, 아니면 0이다.
|
|
1785
1653
|
*/
|
|
1786
1654
|
xStart?: number | string;
|
|
@@ -1788,7 +1656,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1788
1656
|
* 연결된 x축이 연속 축(카테고리축이 아닌)일 때, x축 값이 설정되지 않은 데이터 point에 지정되는 x값의 간격.<br/>
|
|
1789
1657
|
* 첫번째 값은 {@link xStart}로 설정한다.
|
|
1790
1658
|
* time 축일 때, 정수 값 대신 시간 단위('y', 'm', 'w', 'd', 'h', 'n', 's')로 지정할 수 있다.
|
|
1791
|
-
* 이 속성이 지정되지 않으면 {@link https://realchart.co.kr/config/config/
|
|
1659
|
+
* 이 속성이 지정되지 않으면 {@link https://realchart.co.kr/config/config/general#xStep xStep}이 적용된다.
|
|
1792
1660
|
*/
|
|
1793
1661
|
xStep?: number | string;
|
|
1794
1662
|
/**
|
|
@@ -2026,7 +1894,7 @@ interface BasedSeriesOptions extends ClusterableSeriesOptions {
|
|
|
2026
1894
|
/**
|
|
2027
1895
|
* 데이터포인트를 표시하기 위한 y축 기준 위치 값.<br/>
|
|
2028
1896
|
* 그룹에 포함된 경우 먼저 그룹의 baseValue를 따른다.
|
|
2029
|
-
* 또, 이 값을 지정하지 않은 경우 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
1897
|
+
* 또, 이 값을 지정하지 않은 경우 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue}를 따르고,
|
|
2030
1898
|
* 그 값도 설정되지 않은 경우 0이 적용된다.
|
|
2031
1899
|
* NaN으로 지정하면 기준값 없이 최소값과 축의 padding으로 기준 위치가 정해진다.
|
|
2032
1900
|
*
|
|
@@ -2040,7 +1908,7 @@ interface BasedSeriesOptions extends ClusterableSeriesOptions {
|
|
|
2040
1908
|
*/
|
|
2041
1909
|
nullAsBase?: boolean;
|
|
2042
1910
|
/**
|
|
2043
|
-
* {@link baseValue} 또는 y축의 {@link https://realchart.co.kr/config/config/yAxis#
|
|
1911
|
+
* {@link baseValue} 또는 y축의 {@link https://realchart.co.kr/config/config/yAxis#baseValue baseValue}로 지정되는
|
|
2044
1912
|
* 기준값 보다 작은 쪽의 point들에 적용되는 스타일.<br/>
|
|
2045
1913
|
*/
|
|
2046
1914
|
belowStyle?: SVGStyleOrClass;
|
|
@@ -2183,7 +2051,7 @@ interface SeriesGroupOptions<T extends SeriesOptions = SeriesOptions> extends Ch
|
|
|
2183
2051
|
tooltipHeader?: string;
|
|
2184
2052
|
/**
|
|
2185
2053
|
* 그룹 툴팁에 각 시리즈별 표시되는 포인트 툴팁 텍스트.<br/>
|
|
2186
|
-
* '${detail}'은 {@link https://realchart.co.kr/config/config/base/series#
|
|
2054
|
+
* '${detail}'은 {@link https://realchart.co.kr/config/config/base/series#tooltipDetail tooltipDetail} 속성값으로 대체된다.<br/>
|
|
2187
2055
|
*
|
|
2188
2056
|
* @default '${series}: ${detail}'
|
|
2189
2057
|
*/
|
|
@@ -2192,7 +2060,7 @@ interface SeriesGroupOptions<T extends SeriesOptions = SeriesOptions> extends Ch
|
|
|
2192
2060
|
* 축에 포함된 시리즈가 둘 이상일 때,
|
|
2193
2061
|
* 각 시리즈별 표시되는 포인트 툴팁 텍스트 템플릿.<br/>
|
|
2194
2062
|
* 이 속성을 빈 값으로 지정하면 {@link tooltipRow} 속성을 이용해서 표시된다.<br/>
|
|
2195
|
-
* '${detail}'은 {@link https://realchart.co.kr/config/config/base/series#
|
|
2063
|
+
* '${detail}'은 {@link https://realchart.co.kr/config/config/base/series#tooltipDetail tooltipDetail} 속성값으로 대체된다.<br/>
|
|
2196
2064
|
*
|
|
2197
2065
|
* @default `['${series}', '${detail}']`
|
|
2198
2066
|
*/
|
|
@@ -2227,7 +2095,7 @@ interface LineSeriesGroupOptions extends SeriesGroupOptions<LineSeriesOptions> {
|
|
|
2227
2095
|
/**
|
|
2228
2096
|
* 이 그룹에 포함된 데이터포인트를 표시하기 위한 y축 기준 위치 값.<br/>
|
|
2229
2097
|
* 또, 이 값을 지정하지 않은 경우 포함된 시리즈의 {@link baseValue}가 적용되고, 그 값도 설정되지 않으면
|
|
2230
|
-
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
2098
|
+
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue}를 따르고,
|
|
2231
2099
|
* 그 값도 설정되지 않은 경우 0이 적용된다.
|
|
2232
2100
|
* NaN으로 지정하면 기준값 없이 최소값과 축의 padding으로 기준 위치가 정해진다.
|
|
2233
2101
|
*
|
|
@@ -2254,7 +2122,7 @@ interface AreaSeriesGroupOptions extends SeriesGroupOptions<AreaSeriesOptions> {
|
|
|
2254
2122
|
/**
|
|
2255
2123
|
* 이 그룹에 포함된 데이터포인트를 표시하기 위한 y축 기준 위치 값.<br/>
|
|
2256
2124
|
* 또, 이 값을 지정하지 않은 경우 포함된 시리즈의 {@link baseValue}가 적용되고, 그 값도 설정되지 않으면
|
|
2257
|
-
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
2125
|
+
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue}를 따르고,
|
|
2258
2126
|
* 그 값도 설정되지 않은 경우 0이 적용된다.
|
|
2259
2127
|
* NaN으로 지정하면 기준값 없이 최소값과 축의 padding으로 기준 위치가 정해진다.
|
|
2260
2128
|
*
|
|
@@ -2290,7 +2158,7 @@ interface BarSeriesGroupBaseOptions<T extends BarSeriesBaseOptions> extends Clus
|
|
|
2290
2158
|
/**
|
|
2291
2159
|
* 이 그룹에 포함된 데이터포인트를 표시하기 위한 y축 기준 위치 값.<br/>
|
|
2292
2160
|
* 또, 이 값을 지정하지 않은 경우 포함된 시리즈의 {@link baseValue}가 적용되고, 그 값도 설정되지 않으면
|
|
2293
|
-
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
2161
|
+
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue}를 따르고,
|
|
2294
2162
|
* 그 값도 설정되지 않은 경우 0이 적용된다.
|
|
2295
2163
|
*
|
|
2296
2164
|
* @default undefined
|
|
@@ -2351,7 +2219,7 @@ interface MarkerSeriesOptions extends ConnectableSeriesOptions {
|
|
|
2351
2219
|
colorByPoint?: boolean;
|
|
2352
2220
|
/**
|
|
2353
2221
|
* marker가 마우스 아래 있는 지 판단할 때 외부로 추가되는 가상의 두께.<br/>
|
|
2354
|
-
* 지정하지 않으면 {@link https://realchart.co.kr/config/config/
|
|
2222
|
+
* 지정하지 않으면 {@link https://realchart.co.kr/config/config/general/pointHovering#hintDistance hintDistance} 설정을 따른다.
|
|
2355
2223
|
*/
|
|
2356
2224
|
hintDistance?: number;
|
|
2357
2225
|
}
|
|
@@ -2406,14 +2274,14 @@ interface LineSeriesMarkerOptions extends SeriesMarkerOptions {
|
|
|
2406
2274
|
/**
|
|
2407
2275
|
* 데이터포인트 위에 마우스가 있을 때 적용되는
|
|
2408
2276
|
* {@link it.SVGStyles 스타일셋} 또는 css {@link https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
|
|
2409
|
-
* {@link https://realchart.co.kr/config/config/base/series#
|
|
2277
|
+
* {@link https://realchart.co.kr/config/config/base/series#hoverStyle hoverStyle} 보다 우선 적용된다.
|
|
2410
2278
|
*
|
|
2411
2279
|
*
|
|
2412
2280
|
*/
|
|
2413
2281
|
hoverStyle?: SVGStyleOrClass;
|
|
2414
2282
|
/**
|
|
2415
2283
|
* marker가 마우스 아래 있는 지 판단할 때 외부로 추가되는 가상의 두께.<br/>
|
|
2416
|
-
* 지정하지 않으면 {@link https://realchart.co.kr/config/config/
|
|
2284
|
+
* 지정하지 않으면 {@link https://realchart.co.kr/config/config/general/pointHovering#hintDistance hintDistance} 설정을 따른다.
|
|
2417
2285
|
*/
|
|
2418
2286
|
hintDistance?: number;
|
|
2419
2287
|
}
|
|
@@ -2959,7 +2827,7 @@ interface LineSeriesOptions extends LineSeriesBaseOptions {
|
|
|
2959
2827
|
/**
|
|
2960
2828
|
* 데이터포인트를 표시하기 위한 y축 기준 위치 값.<br/>
|
|
2961
2829
|
* 또, 이 값을 지정하지 않은 경우 포함된 시리즈의 {@link baseValue}가 적용되고, 그 값도 설정되지 않으면
|
|
2962
|
-
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
2830
|
+
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue}를 따르고,
|
|
2963
2831
|
* 그 값도 설정되지 않은 경우 0이 적용된다.
|
|
2964
2832
|
* NaN으로 지정하면 기준값 없이 최소값과 축의 padding으로 기준 위치가 정해진다.<br/>
|
|
2965
2833
|
* {@link https://realchart.co.kr/config/config/series/area area} 시리즈와 다르게,
|
|
@@ -3072,7 +2940,7 @@ interface AreaSeriesOptions extends LineSeriesOptions {
|
|
|
3072
2940
|
/**
|
|
3073
2941
|
* 데이터포인트를 표시하기 위한 y축 기준 위치 값.<br/>
|
|
3074
2942
|
* 또, 이 값을 지정하지 않은 경우 포함된 시리즈의 {@link baseValue}가 적용되고, 그 값도 설정되지 않으면
|
|
3075
|
-
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
2943
|
+
* 연결된 y축의 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue}를 따르고,
|
|
3076
2944
|
* 그 값도 설정되지 않은 경우 0이 적용된다.
|
|
3077
2945
|
* NaN으로 지정하면 기준값 없이 최소값과 축의 padding으로 기준 위치가 정해진다.
|
|
3078
2946
|
*
|
|
@@ -5126,30 +4994,6 @@ declare class DatetimeFormatter {
|
|
|
5126
4994
|
private parse;
|
|
5127
4995
|
}
|
|
5128
4996
|
|
|
5129
|
-
/**
|
|
5130
|
-
* @private
|
|
5131
|
-
*
|
|
5132
|
-
* 'as,0.0#'
|
|
5133
|
-
* NOTE: 'a'는 bigint에 사용할 수 없다.
|
|
5134
|
-
*
|
|
5135
|
-
* //TODO: ',' 자리에 다른 문자(ex. space)를 표시할 수 있도록 한다.
|
|
5136
|
-
* //TODO: Intl.NumberFormat 사용할 것. toLocaleString()할 때마다 이 객체가 생성되는 듯.
|
|
5137
|
-
*/
|
|
5138
|
-
declare class NumberFormatter {
|
|
5139
|
-
static readonly DEFAULT_FORMAT = "";
|
|
5140
|
-
private static readonly Formatters;
|
|
5141
|
-
static getFormatter(format: string): NumberFormatter;
|
|
5142
|
-
static get Default(): NumberFormatter;
|
|
5143
|
-
private _format;
|
|
5144
|
-
private _options;
|
|
5145
|
-
private _options2;
|
|
5146
|
-
constructor(format: string);
|
|
5147
|
-
get format(): string;
|
|
5148
|
-
toStr(value: number | bigint): string;
|
|
5149
|
-
toNum(value: number): number;
|
|
5150
|
-
private $_parse;
|
|
5151
|
-
}
|
|
5152
|
-
|
|
5153
4997
|
/** @private */
|
|
5154
4998
|
declare class Sides {
|
|
5155
4999
|
top: number;
|
|
@@ -5170,20 +5014,25 @@ declare class Sides {
|
|
|
5170
5014
|
/**
|
|
5171
5015
|
* @private
|
|
5172
5016
|
*
|
|
5173
|
-
*
|
|
5174
|
-
*
|
|
5175
|
-
*
|
|
5017
|
+
* 'as,0.0#'
|
|
5018
|
+
* NOTE: 'a'는 bigint에 사용할 수 없다.
|
|
5019
|
+
*
|
|
5020
|
+
* //TODO: ',' 자리에 다른 문자(ex. space)를 표시할 수 있도록 한다.
|
|
5021
|
+
* //TODO: Intl.NumberFormat 사용할 것. toLocaleString()할 때마다 이 객체가 생성되는 듯.
|
|
5176
5022
|
*/
|
|
5177
|
-
declare class
|
|
5023
|
+
declare class NumberFormatter {
|
|
5024
|
+
static readonly DEFAULT_FORMAT = "";
|
|
5178
5025
|
private static readonly Formatters;
|
|
5179
|
-
static getFormatter(format: string):
|
|
5026
|
+
static getFormatter(format: string): NumberFormatter;
|
|
5027
|
+
static get Default(): NumberFormatter;
|
|
5180
5028
|
private _format;
|
|
5181
|
-
private
|
|
5182
|
-
private
|
|
5029
|
+
private _options;
|
|
5030
|
+
private _options2;
|
|
5183
5031
|
constructor(format: string);
|
|
5184
5032
|
get format(): string;
|
|
5185
|
-
toStr(
|
|
5186
|
-
|
|
5033
|
+
toStr(value: number | bigint): string;
|
|
5034
|
+
toNum(value: number): number;
|
|
5035
|
+
private $_parse;
|
|
5187
5036
|
}
|
|
5188
5037
|
|
|
5189
5038
|
/**
|
|
@@ -5482,7 +5331,7 @@ interface SubtitleOptions extends TitleOptions {
|
|
|
5482
5331
|
*
|
|
5483
5332
|
* ```js
|
|
5484
5333
|
* const config = {
|
|
5485
|
-
*
|
|
5334
|
+
* general: {
|
|
5486
5335
|
* theme: 'dark',
|
|
5487
5336
|
* },
|
|
5488
5337
|
* };
|
|
@@ -5734,7 +5583,7 @@ interface ZoomCallbackArgs {
|
|
|
5734
5583
|
}
|
|
5735
5584
|
/**
|
|
5736
5585
|
* {@link BodyDepth.depth depth}가 지정된 body 영역의 양 축 방향에 표시되는
|
|
5737
|
-
* {@link https://realchart.co.kr/config/config/body#
|
|
5586
|
+
* {@link https://realchart.co.kr/config/config/body#xSide side} panel의 경계선 설정 옵션.<br/>
|
|
5738
5587
|
*/
|
|
5739
5588
|
interface BodyDepthLineOptions extends ChartItemOptions {
|
|
5740
5589
|
/**
|
|
@@ -5991,7 +5840,7 @@ interface SeriesNavigatorOptions extends ChartItemOptions {
|
|
|
5991
5840
|
*
|
|
5992
5841
|
* ```js
|
|
5993
5842
|
* const config = {
|
|
5994
|
-
*
|
|
5843
|
+
* general: {
|
|
5995
5844
|
* credits: {
|
|
5996
5845
|
* text: 'UN Data',
|
|
5997
5846
|
* url: 'https://data.un.org'
|
|
@@ -6118,7 +5967,7 @@ interface PointHoveringOptions extends ChartItemOptions {
|
|
|
6118
5967
|
* 상당히 큰 크기로 지정하면 마우스가 어느 위치에 있든 마우스에 가장 가까운 marker가 찾아진다.<br/>
|
|
6119
5968
|
* 물론 마우스가 실제 표시되는 marker 위에 있다면 그 것으로 결정된다.
|
|
6120
5969
|
* 찾아진 데이터포인트가 마우스 아래 있는 것으로 여겨져서 hover 효과가 표시되거나 관련 이벤트가 발생한다.<br/>
|
|
6121
|
-
* 기본값은 차트에 tooltip이 표시되고 tooltip.{@link https://realchart.co.kr/config/config/tooltip#
|
|
5970
|
+
* 기본값은 차트에 tooltip이 표시되고 tooltip.{@link https://realchart.co.kr/config/config/tooltip#followPointer followPointer}가 true이면 차트 크기보다 큰 값이 되고,
|
|
6122
5971
|
* 아니면 **30** 픽셀이다.
|
|
6123
5972
|
*
|
|
6124
5973
|
*/
|
|
@@ -6131,14 +5980,14 @@ interface PointHoveringOptions extends ChartItemOptions {
|
|
|
6131
5980
|
*/
|
|
6132
5981
|
declare const _TooltipScope: {
|
|
6133
5982
|
/**
|
|
6134
|
-
* {@link https://realchart.co.kr/config/config/
|
|
5983
|
+
* {@link https://realchart.co.kr/config/config/general/pointHovering#scope scope}와 동일한 규칙으로 툴팁에 포함할 데이터포인트 범위를 결정한다.<br/>
|
|
6135
5984
|
* 기본값이며, pointHovering이 `'auto'`이면 crosshair·시리즈 그룹·seriesHovering 설정에 따라
|
|
6136
5985
|
* `'point'`, `'group'`, `'axis'` 중 하나로 해석된다.
|
|
6137
5986
|
*/
|
|
6138
5987
|
readonly HOVER: "hover";
|
|
6139
5988
|
/**
|
|
6140
5989
|
* hover된 시리즈 하나의 데이터포인트만 툴팁에 표시한다.<br/>
|
|
6141
|
-
* 해당 시리즈의 {@link https://realchart.co.kr/config/config/base/series#
|
|
5990
|
+
* 해당 시리즈의 {@link https://realchart.co.kr/config/config/base/series#tooltipText tooltipText} 등이 사용된다.
|
|
6142
5991
|
*/
|
|
6143
5992
|
readonly POINT: "point";
|
|
6144
5993
|
/**
|
|
@@ -6150,7 +5999,7 @@ declare const _TooltipScope: {
|
|
|
6150
5999
|
/**
|
|
6151
6000
|
* hover된 시리즈가 연결된 x축의 모든 visible 시리즈 중, 동일 x(카테고리) 값을 갖는
|
|
6152
6001
|
* 데이터포인트를 한 툴팁에 표시한다.<br/>
|
|
6153
|
-
* x축의 {@link https://realchart.co.kr/config/config/base/axis#
|
|
6002
|
+
* x축의 {@link https://realchart.co.kr/config/config/base/axis#tooltipHeader tooltipHeader}, {@link https://realchart.co.kr/config/config/base/axis#tooltipRow tooltipRow} 등이 사용된다.
|
|
6154
6003
|
*/
|
|
6155
6004
|
readonly AXIS: "axis";
|
|
6156
6005
|
};
|
|
@@ -6178,7 +6027,7 @@ interface TooltipOptions extends ChartItemOptions {
|
|
|
6178
6027
|
scope?: TooltipScope;
|
|
6179
6028
|
/**
|
|
6180
6029
|
* 툴팁에 표시할 텍스트 형식.<br/>
|
|
6181
|
-
* 시리즈에 {@link https://realchart.co.kr/config/config/base/series#
|
|
6030
|
+
* 시리즈에 {@link https://realchart.co.kr/config/config/base/series#tooltipText tooltipText}가 시리즈 별 tooltip을 제공하지만,
|
|
6182
6031
|
* 이 속성이 지정된 경우 우선 사용된다.<br/>
|
|
6183
6032
|
*
|
|
6184
6033
|
* `${param;default;format}` 형식으로 아래과 같은 변수로 데이터 포인트 및 시리즈 값을 지정할 수 있다.
|
|
@@ -6590,7 +6439,7 @@ interface PaneBodyOptions extends BodyOptions {
|
|
|
6590
6439
|
* 분할(split) 모드 설정 옵션.<br/>
|
|
6591
6440
|
* 각 pane에 해당하는 x, y축이 반드시 존재해야 한다.
|
|
6592
6441
|
* axis는 {@link https://realchart.co.kr/config/config/base/axis#row row}, {@link https://realchart.co.kr/config/config/base/axis#col col} 속성으로 위치를 지정한다.
|
|
6593
|
-
* 시리즈는 {@link https://realchart.co.kr/config/config/base/series#
|
|
6442
|
+
* 시리즈는 {@link https://realchart.co.kr/config/config/base/series#xAxis xAxis}, {@link https://realchart.co.kr/config/config/base/series#yAxis yAxis} 설정에 따라 연결된 axis 위치에 따라 자동으로 결정된다.
|
|
6594
6443
|
*
|
|
6595
6444
|
* @modules split
|
|
6596
6445
|
* @css 'rct-panes'
|
|
@@ -8294,22 +8143,17 @@ declare const extend: <O extends ChartItemOptions>(base: any, source: O) => O;
|
|
|
8294
8143
|
/**
|
|
8295
8144
|
* {@link Series 시리즈}, {@link rc.Axis 축}, {@link rc.Legend legend} 등, 차트 구성 요소 모델들의 기반 클래스.<br/>
|
|
8296
8145
|
* {@link updateOptions}등의 공통 메소드들이 구현되어 있다.
|
|
8146
|
+
*
|
|
8147
|
+
* {@link ROptionable} 상속(realmap과 동일 규약):
|
|
8148
|
+
* - `_op` = **delta**(명시 설정만). defaults/자식은 포함하지 않는다.
|
|
8149
|
+
* - 효과 값 읽기: `prop()` / `num()` / `bool()`
|
|
8150
|
+
* - 자식은 `_addChild`로 `_children`에만 등록(부모 `_op` 비마운트)
|
|
8297
8151
|
*/
|
|
8298
|
-
declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
8152
|
+
declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends ROptionable<OP> {
|
|
8299
8153
|
static readonly REFRESHED = "refreshed";
|
|
8300
8154
|
static defaults: ChartItemOptions;
|
|
8301
8155
|
readonly chart: IChart;
|
|
8302
8156
|
private _config;
|
|
8303
|
-
private _children;
|
|
8304
|
-
/**
|
|
8305
|
-
* @readonly
|
|
8306
|
-
*
|
|
8307
|
-
* 이 모델에 설정하는 속성들을 포함하는 객체로서 차트 생성시 혹은 {@link load} 메소드를 통해 초기 값들이 지정된다.<br/>
|
|
8308
|
-
* 또, 각 모델별로 기본적으로 적용되는 기본값들이 있다.<br/>
|
|
8309
|
-
* 내부에서 관리하는 속성이므로, 이 속성을 다른 객체 등으로 직접 변경해서는 안된다.<br/>
|
|
8310
|
-
* 또, 이 옵션의 속성들을 직접 변경하지 않고 {@link updateOption} 등의 메소드를 호출해야 한다.
|
|
8311
|
-
*/
|
|
8312
|
-
protected _op: OP;
|
|
8313
8157
|
/**
|
|
8314
8158
|
* @private
|
|
8315
8159
|
*
|
|
@@ -8322,21 +8166,21 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
8322
8166
|
* @param chart 차트 객체
|
|
8323
8167
|
*/
|
|
8324
8168
|
constructor(chart: IChart);
|
|
8325
|
-
|
|
8326
|
-
* @private
|
|
8327
|
-
*/
|
|
8328
|
-
init(): OP;
|
|
8329
|
-
protected _doInit(op: OP): void;
|
|
8169
|
+
protected _addChild<T extends ROptionable>(name: string & keyof OP, child: T): T;
|
|
8330
8170
|
/**
|
|
8331
8171
|
* @private
|
|
8332
8172
|
*/
|
|
8333
8173
|
_initObject(): this;
|
|
8334
8174
|
/**
|
|
8335
|
-
* 차트를 생성할 때나 {@link updateOptions} 등을 통해 이 모델 객체에 설정된 옵션
|
|
8336
|
-
* 기본 설정값들이 포함된 원본 설정 객체(복사본이 아니다).<br/>
|
|
8175
|
+
* 차트를 생성할 때나 {@link updateOptions} 등을 통해 이 모델 객체에 설정된 옵션 값들(delta).<br/>
|
|
8337
8176
|
* 리턴된 객체의 속성값들을 가져올 수 있지만,
|
|
8338
8177
|
* 속성들을 직접 수정하는 것은 권장되는 방법이 아니다.
|
|
8339
8178
|
* {@link updateOptions}나 {@link updateOption} 등을 사용해서 옵션들을 변경해야 한다.
|
|
8179
|
+
*
|
|
8180
|
+
* @remarks
|
|
8181
|
+
* - `options`/`_op`는 **delta**(명시 설정만). 기본값·등록 자식 키는 포함되지 않는다.
|
|
8182
|
+
* - 효과 값(기본값 fallback) 읽기는 `prop` / `num` / `bool`을 사용한다.
|
|
8183
|
+
* - View는 `model.options.xxx` 대신 `model.prop('xxx')` 또는 모델 getter를 사용한다.
|
|
8340
8184
|
*/
|
|
8341
8185
|
get options(): OP;
|
|
8342
8186
|
/**
|
|
@@ -8359,7 +8203,13 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
8359
8203
|
get visible(): boolean;
|
|
8360
8204
|
set visible(value: boolean);
|
|
8361
8205
|
protected _isVisible(): boolean;
|
|
8362
|
-
/**
|
|
8206
|
+
/** 숫자 옵션 효과 값. 문자열(`'30px'`)은 parseFloat 결과를 반환한다. */
|
|
8207
|
+
num<K extends keyof OP>(prop: K, def?: number): number;
|
|
8208
|
+
/**
|
|
8209
|
+
* @private
|
|
8210
|
+
* 차트 내부 load 진입점. ROptionable `$_load`와 동일하되,
|
|
8211
|
+
* 자식은 `_load`(오버라이드 가능)로 위임하고 visible 변경을 통지한다.
|
|
8212
|
+
*/
|
|
8363
8213
|
_load(source: any): OP;
|
|
8364
8214
|
/**
|
|
8365
8215
|
* 기존 옵션 값들을 모두 제거하고 source에 지정한 값들로 새로 구성한다.<br/>
|
|
@@ -8372,100 +8222,48 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
8372
8222
|
* ```
|
|
8373
8223
|
*
|
|
8374
8224
|
* @param source 설정 정보 객체 혹은 단일값.
|
|
8225
|
+
* @param clear true면 기존 delta를 비운 뒤 로드. 기본 true.
|
|
8375
8226
|
* @returns 이 객체 자신.
|
|
8376
8227
|
*/
|
|
8377
|
-
loadOptions(source:
|
|
8228
|
+
loadOptions(source: any, clear?: boolean): this;
|
|
8378
8229
|
/**
|
|
8379
8230
|
* 이 모델 객체에 설정된 전역 기본값과 다른 옵션 값들이 포함된 사본 객체로 리턴한다.<br/>
|
|
8380
|
-
* {@link options}
|
|
8381
|
-
*
|
|
8382
|
-
* ```js
|
|
8383
|
-
* const options = chart.legend.saveOptions();
|
|
8384
|
-
* console.log(options);
|
|
8385
|
-
* ```
|
|
8231
|
+
* {@link options}는 delta(명시 설정)만 담는다. 효과 값은 `prop`으로 읽는다.
|
|
8386
8232
|
*
|
|
8387
|
-
* @param
|
|
8233
|
+
* @param props 생략 또는 boolean이면 기존 ChartItem API(`recursive`)로 해석한다. 기본 recursive=true.
|
|
8388
8234
|
* @returns 옵션 사본 객체.
|
|
8389
8235
|
*/
|
|
8390
|
-
saveOptions(recursive?: boolean):
|
|
8391
|
-
/**
|
|
8392
|
-
* 하나 이상의 option 설정을 하고,
|
|
8393
|
-
* 차트가 다시 그려지도록 한다.<br/>
|
|
8394
|
-
*
|
|
8395
|
-
* ```js
|
|
8396
|
-
* chart.legend.updateOptions({
|
|
8397
|
-
* gap: 10,
|
|
8398
|
-
* lineGap: 20
|
|
8399
|
-
* });
|
|
8400
|
-
* ```
|
|
8401
|
-
*
|
|
8402
|
-
* 권장하는 방식은 아니지만, {@link options}의 값들을 직접 수정한 후에도 이 메소드를 호출해서
|
|
8403
|
-
* 내부의 값들이 다시 계산되도록 해야 한다.
|
|
8404
|
-
*
|
|
8405
|
-
* ```js
|
|
8406
|
-
* chart.legend.options.gap = 10,
|
|
8407
|
-
* chart.legend.options.lineGap = 20,
|
|
8408
|
-
* chart.legend.updateOptions();
|
|
8409
|
-
* ```
|
|
8410
|
-
*
|
|
8411
|
-
* @param source 설정 정보 객체 혹은 단일값.
|
|
8412
|
-
* @param render true로 지정하면 설정 후 차트를 다시 그린다.
|
|
8413
|
-
* @returns 객체 자신.
|
|
8414
|
-
*/
|
|
8415
|
-
private $_updateChildren;
|
|
8416
|
-
private $_mergeOptions;
|
|
8417
|
-
updateOptions(source?: OP, render?: boolean): this;
|
|
8418
|
-
/**
|
|
8419
|
-
* 하나의 속성 값을 설정한다.<br/>
|
|
8420
|
-
* 여러 속성들을 한꺼번에 변경할 때는 {@link updateOptions}를 사용한다.
|
|
8421
|
-
* 기본적으로 이전 값과 다른 경우에만 적용된다.
|
|
8422
|
-
* 특히, 속성값이 객체인 경우 객체 속성만 바뀐 경우 적용되지 않는다.
|
|
8423
|
-
* 바꾸고 싶다면 force 매개변수를 true로 지정해서 호출한다.<br/>
|
|
8424
|
-
* 또, prop 매개변수가 하위 모델 이름인 경우 하위 모델의 {@link updateOptions}를 호출한 것과 동일하다.
|
|
8425
|
-
*
|
|
8426
|
-
* @param render true로 지정하면 설정 후 차트를 다시 그린다.
|
|
8427
|
-
* @param force 지정한 값이 이전 값과 동일한 경우에도 적용한다.
|
|
8428
|
-
* @returns 객체 자신.
|
|
8429
|
-
*/
|
|
8430
|
-
updateOption(prop: keyof OP, value: any, render?: boolean, force?: boolean): this;
|
|
8236
|
+
saveOptions(props?: any, recursive?: boolean, includeDefs?: boolean, force?: boolean): Partial<OP>;
|
|
8431
8237
|
/**
|
|
8432
|
-
*
|
|
8433
|
-
*
|
|
8434
|
-
*
|
|
8435
|
-
* ```js
|
|
8436
|
-
* chart.getSeries('ser02').toggleOption('visible');
|
|
8437
|
-
* ```
|
|
8438
|
-
*
|
|
8439
|
-
* @param prop 설정 속성 이름.
|
|
8440
|
-
* @param render true로 지정하면 chart를 다시 그린다.
|
|
8441
|
-
* false로 지정하고 여러 설정 후에 {@link Chart.render render}를 호출해서 다시 그리게 할 수도 있다.
|
|
8442
|
-
* 기본값은 true.
|
|
8443
|
-
* @returns 객체 자신.
|
|
8238
|
+
* 하나 이상의 option 설정을 하고, 차트가 다시 그려지도록 한다.<br/>
|
|
8239
|
+
* ROptionable stock 구현을 사용하되, visible 변경 시 `_visibleChanged`를 통지한다.
|
|
8444
8240
|
*/
|
|
8241
|
+
updateOptions(source?: Partial<OP>, render?: boolean): this;
|
|
8242
|
+
updateOption(prop: string, value: any, render?: boolean, force?: boolean): this;
|
|
8445
8243
|
toggleOption(prop: keyof OP, render?: boolean): this;
|
|
8446
|
-
/**
|
|
8447
|
-
* 지정한 속성에 설정한 값이 있으면 제거하고, 기본값으로(있다면) 되돌린다.
|
|
8448
|
-
*
|
|
8449
|
-
* @param prop 속성 이름.
|
|
8450
|
-
* @param render true(기본값)으로 지정하면 차트를 다시 그린다.
|
|
8451
|
-
* @returns 객체 자신.
|
|
8452
|
-
*/
|
|
8453
8244
|
removeOption(prop: keyof OP, render?: boolean): this;
|
|
8454
8245
|
/**
|
|
8455
8246
|
* {@link updateOptions}나 {@link updateOption} 등을 통해 설정된 모든 옵션 값들을 제거하거나,
|
|
8456
8247
|
* 전역 기본값이 존재하는 경우 그 값으로 되돌린다.<br/>
|
|
8457
8248
|
*
|
|
8249
|
+
* @param recursive 자식까지 재귀 제거 여부. 기본 true(기존 ChartItem / realmap load 경로).
|
|
8458
8250
|
* @param render true(기본값)으로 지정하면 차트를 다시 그린다.
|
|
8459
8251
|
* @returns 객체 자신.
|
|
8460
8252
|
*/
|
|
8461
|
-
clearOptions(render?: boolean): this;
|
|
8253
|
+
clearOptions(recursive?: boolean, render?: boolean): this;
|
|
8254
|
+
/**
|
|
8255
|
+
* 명시적으로 모델에 설정된 모든 style 값들을 제거한다.<br/>
|
|
8256
|
+
*
|
|
8257
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본값 false
|
|
8258
|
+
*/
|
|
8259
|
+
clearStyle(render?: boolean): this;
|
|
8462
8260
|
/**
|
|
8463
8261
|
* 모델 css style 값을 변경한다.<br/>
|
|
8464
8262
|
* value에 undefined나 null, ''을 지정하면 기존에 설정됐던 스타일 항목이 제거된다.<br/>
|
|
8465
8263
|
*
|
|
8466
8264
|
* @param prop css 스타일 항목 이름.
|
|
8467
8265
|
* @param value 적용할 스타일 값.
|
|
8468
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
8266
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본값 true
|
|
8469
8267
|
* @returns
|
|
8470
8268
|
*/
|
|
8471
8269
|
setStyle(prop: string, value: any, render?: boolean): this;
|
|
@@ -8475,31 +8273,36 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
8475
8273
|
*
|
|
8476
8274
|
* @param props 스타일 항목들과 값들이 설정된 json 객체
|
|
8477
8275
|
* @param clear true로 지정하면 기존 스타일 값을 모두 제거한다. 기본값 false
|
|
8478
|
-
* @param render true로 지정하면 옵션 변경 시
|
|
8276
|
+
* @param render true로 지정하면 옵션 변경 시 차트를 다시 그린다. 기본값 true
|
|
8479
8277
|
*/
|
|
8480
8278
|
setStyles(props: object, clear?: boolean, render?: boolean): this;
|
|
8481
8279
|
/** @private */
|
|
8482
8280
|
_prepareRender(): void;
|
|
8483
8281
|
/** @private */
|
|
8484
8282
|
protected _changed(tag?: any): void;
|
|
8485
|
-
/**
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
/**
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8283
|
+
/**
|
|
8284
|
+
* ROptionable 변경 알림 hook — 기존 `_changed`로 위임한다.
|
|
8285
|
+
*/
|
|
8286
|
+
_optionChanged(tag?: string | string[]): void;
|
|
8287
|
+
/**
|
|
8288
|
+
* template 전처리 + DataObject 처리 + 자식 `_load` 위임.
|
|
8289
|
+
* (stock `_doLoad`는 자식을 `$_load`로 호출하므로 Annotation/Series `_load` 오버라이드가 필요하다.)
|
|
8290
|
+
*/
|
|
8291
|
+
protected _doLoad(op: OP, source: any): void;
|
|
8292
|
+
/**
|
|
8293
|
+
* ROptionable `(op, src)` 시그니처. (realmap과 동일)
|
|
8294
|
+
*/
|
|
8295
|
+
protected _doSetSimple(op: OP, src: any): boolean;
|
|
8493
8296
|
/** @private */
|
|
8494
8297
|
protected _doLoadProp(prop: string, value: any): boolean;
|
|
8495
|
-
/** @private */
|
|
8298
|
+
/** @private style 등에서 _doApply + visible 통지 */
|
|
8496
8299
|
private $_applyOptions;
|
|
8497
8300
|
/** @private */
|
|
8498
|
-
protected _setDim(
|
|
8301
|
+
protected _setDim(_op: OP, prop: string): void;
|
|
8499
8302
|
/** @private */
|
|
8500
|
-
protected _setDims(
|
|
8303
|
+
protected _setDims(op: OP, ...props: string[]): void;
|
|
8501
8304
|
/** @private */
|
|
8502
|
-
protected _doApply(op:
|
|
8305
|
+
protected _doApply(op: OP): void;
|
|
8503
8306
|
/** @private */
|
|
8504
8307
|
protected _doPrepareRender(chart: IChart): void;
|
|
8505
8308
|
}
|
|
@@ -8539,7 +8342,7 @@ declare abstract class ChartText<OP extends ChartTextOptions = ChartTextOptions>
|
|
|
8539
8342
|
buildSvg(view: TextElement, outline: TextElement, maxWidth: number, maxHeight: number, target: any, domain: IRichTextDomain): void;
|
|
8540
8343
|
/** @private */
|
|
8541
8344
|
prepareRich(text: string): void;
|
|
8542
|
-
protected _doSetSimple(src: any): boolean;
|
|
8345
|
+
protected _doSetSimple(op: OP, src: any): boolean;
|
|
8543
8346
|
protected _doApply(options: OP): void;
|
|
8544
8347
|
protected _getNumberText(value: any, useSymbols: boolean, forceSymbols: boolean): string;
|
|
8545
8348
|
protected _getText(text: string, value: any, useSymbols: boolean, forceSymbols: boolean): string;
|
|
@@ -8897,7 +8700,8 @@ declare abstract class CircularGauge<OP extends CircularGaugeOptions = CircularG
|
|
|
8897
8700
|
declare abstract class CircularGaugeGroup<T extends CircularGauge = CircularGauge, OP extends CircularGaugeGroupOptions = CircularGaugeGroupOptions> extends GaugeGroup<T, OP> {
|
|
8898
8701
|
static defaults: CircularGaugeGroupOptions;
|
|
8899
8702
|
private _label;
|
|
8900
|
-
props
|
|
8703
|
+
/** @private circular layout props (ROptionable.props()와 이름 충돌 방지) */
|
|
8704
|
+
_props: CircularProps;
|
|
8901
8705
|
protected _doInit(op: OP): void;
|
|
8902
8706
|
/**
|
|
8903
8707
|
* 게이지 중앙에 표시되는 label 설정 모델
|
|
@@ -8905,6 +8709,7 @@ declare abstract class CircularGaugeGroup<T extends CircularGauge = CircularGaug
|
|
|
8905
8709
|
*
|
|
8906
8710
|
*/
|
|
8907
8711
|
get label(): CircularGaugeLabel;
|
|
8712
|
+
getProps(): CircularProps;
|
|
8908
8713
|
setChildExtents(exts: ICircularGaugeExtents): void;
|
|
8909
8714
|
protected _doApply(options: OP): void;
|
|
8910
8715
|
}
|
|
@@ -9233,7 +9038,7 @@ declare class Tooltip extends ChartItem<TooltipOptions> {
|
|
|
9233
9038
|
hasListMarker(): boolean;
|
|
9234
9039
|
getMarkerSize(): number;
|
|
9235
9040
|
getMarkerGap(): number;
|
|
9236
|
-
protected _doSetSimple(src: any): boolean;
|
|
9041
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
9237
9042
|
protected _doApply(options: TooltipOptions): void;
|
|
9238
9043
|
}
|
|
9239
9044
|
|
|
@@ -9451,6 +9256,9 @@ declare class TrendlineArea extends ChartItem<TrendlineAreaOptions> {
|
|
|
9451
9256
|
declare class TrendlineLabel extends IconedText<TrendlineLabelOptions> {
|
|
9452
9257
|
private static readonly OFFSET;
|
|
9453
9258
|
static defaults: TrendlineLabelOptions;
|
|
9259
|
+
private _position;
|
|
9260
|
+
private _align;
|
|
9261
|
+
private _verticalAlign;
|
|
9454
9262
|
getAlign(inverted: boolean, xReversed: boolean, yReversed: boolean, pos: number): Align;
|
|
9455
9263
|
getVerticalAlign(inverted: boolean, xReversed: boolean, yReversed: boolean): VerticalAlign;
|
|
9456
9264
|
getAlignPolar(angle: number): Align;
|
|
@@ -9460,6 +9268,7 @@ declare class TrendlineLabel extends IconedText<TrendlineLabelOptions> {
|
|
|
9460
9268
|
getText(): string;
|
|
9461
9269
|
getDefaultIconPos(): IconPosition;
|
|
9462
9270
|
protected _doApply(op: TrendlineLabelOptions): void;
|
|
9271
|
+
prop<K extends keyof TrendlineLabelOptions>(prop: K, def?: any): TrendlineLabelOptions[K];
|
|
9463
9272
|
}
|
|
9464
9273
|
declare class TrendlineMarker extends ChartItem<TrendlineMarkerOptions> {
|
|
9465
9274
|
static defaults: TrendlineMarkerOptions;
|
|
@@ -9507,6 +9316,8 @@ declare class Trendline extends ChartItem<TrendlineOptions> {
|
|
|
9507
9316
|
private _minY;
|
|
9508
9317
|
private _maxY;
|
|
9509
9318
|
private _formatter;
|
|
9319
|
+
private _forward;
|
|
9320
|
+
private _backward;
|
|
9510
9321
|
private _labelDomain;
|
|
9511
9322
|
constructor(owner: ITrendlineOwner);
|
|
9512
9323
|
protected _doInit(op: TrendlineOptions): void;
|
|
@@ -9557,7 +9368,7 @@ declare class DataPointLabel<OP extends DataPointLabelOptions = DataPointLabelOp
|
|
|
9557
9368
|
getDefaultIconPos(): IconPosition;
|
|
9558
9369
|
getRotation(): number;
|
|
9559
9370
|
protected _isVisible(): boolean;
|
|
9560
|
-
protected _doSetSimple(src: any): boolean;
|
|
9371
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
9561
9372
|
protected _doApply(op: OP): void;
|
|
9562
9373
|
protected _doPrepareRender(chart: IChart): void;
|
|
9563
9374
|
}
|
|
@@ -10050,7 +9861,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
10050
9861
|
removePoints(pts: (DataPoint | string | number | [number, number])[], animate?: boolean): number;
|
|
10051
9862
|
getDropPoints(): DataPoint[];
|
|
10052
9863
|
followPointer(): boolean;
|
|
10053
|
-
protected _doApply(op:
|
|
9864
|
+
protected _doApply(op: OP): void;
|
|
10054
9865
|
_setIndex(index: number, seriesIndex?: number): void;
|
|
10055
9866
|
protected _createLabel(chart: IChart): DataPointLabel;
|
|
10056
9867
|
protected _createPoint(source: any): DataPoint;
|
|
@@ -10141,7 +9952,7 @@ declare abstract class SeriesMarker<OP extends SeriesMarkerOptions = {}> extends
|
|
|
10141
9952
|
private _args;
|
|
10142
9953
|
constructor(series: Series);
|
|
10143
9954
|
getMarkerStyle(p: DataPoint): any;
|
|
10144
|
-
protected _doSetSimple(src: any): boolean;
|
|
9955
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
10145
9956
|
}
|
|
10146
9957
|
declare class WidgetSeriesPoint extends DataPoint implements ILegendSource {
|
|
10147
9958
|
_percent: number;
|
|
@@ -10162,7 +9973,7 @@ declare class WidgetSeriesPoint extends DataPoint implements ILegendSource {
|
|
|
10162
9973
|
}
|
|
10163
9974
|
declare class WidgetSeriesConnector extends ChartItem<WidgetSeriesConnectorOptions> {
|
|
10164
9975
|
static defaults: WidgetSeriesConnectorOptions;
|
|
10165
|
-
protected _doSetSimple(src: any): boolean;
|
|
9976
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
10166
9977
|
}
|
|
10167
9978
|
declare abstract class WidgetSeriesLabel<OP extends WidgetSeriesLabelOptions = WidgetSeriesLabelOptions> extends DataPointLabel<OP> {
|
|
10168
9979
|
isSub: boolean;
|
|
@@ -10456,6 +10267,7 @@ declare class BodyDepth extends ChartItem<BodyDepthOptions> {
|
|
|
10456
10267
|
private _xSide;
|
|
10457
10268
|
private _ySide;
|
|
10458
10269
|
private _orgLine;
|
|
10270
|
+
private _angle;
|
|
10459
10271
|
protected _doInit(op: BodyDepthOptions): void;
|
|
10460
10272
|
/**
|
|
10461
10273
|
* x축 쪽 depth side 모델.<br/>
|
|
@@ -10470,8 +10282,9 @@ declare class BodyDepth extends ChartItem<BodyDepthOptions> {
|
|
|
10470
10282
|
*/
|
|
10471
10283
|
get orgLine(): BodyDepthLine;
|
|
10472
10284
|
protected _isVisible(): boolean;
|
|
10473
|
-
protected _doSetSimple(src: any): boolean;
|
|
10285
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
10474
10286
|
protected _doApply(op: BodyDepthOptions): void;
|
|
10287
|
+
prop<K extends keyof BodyDepthOptions>(prop: K, def?: any): BodyDepthOptions[K];
|
|
10475
10288
|
}
|
|
10476
10289
|
/**
|
|
10477
10290
|
* @private
|
|
@@ -10659,13 +10472,17 @@ declare class SeriesNavigator extends ChartItem<SeriesNavigatorOptions> {
|
|
|
10659
10472
|
* const title = chart.title;
|
|
10660
10473
|
* legend.text = 'Chart Title';
|
|
10661
10474
|
* ```
|
|
10662
|
-
* 기본적으로 차트 중앙 상단에 표시되지만 {@link https://realchart.co.kr/config/config/title#align align}, {@link https://realchart.co.kr/config/config/title#
|
|
10475
|
+
* 기본적으로 차트 중앙 상단에 표시되지만 {@link https://realchart.co.kr/config/config/title#align align}, {@link https://realchart.co.kr/config/config/title#verticalAlign verticalAlign} 등으로 위치를 변경할 수 있다.<br/>
|
|
10663
10476
|
* {@link https://realchart.co.kr/guide/title 타이틀 개요} 페이지를 참조한다.
|
|
10664
10477
|
*/
|
|
10665
10478
|
declare class Title<OP extends TitleOptions = TitleOptions> extends ChartItem<OP> {
|
|
10666
10479
|
static defaults: TitleOptions;
|
|
10480
|
+
private _gap;
|
|
10481
|
+
/** title/subtitle 아래(또는 옆) 여백. '30px' 등 문자열도 숫자로 해석한다. */
|
|
10482
|
+
getGap(): number;
|
|
10483
|
+
protected _doApply(op: OP): void;
|
|
10667
10484
|
protected _isVisible(): boolean;
|
|
10668
|
-
protected _doSetSimple(src: any): boolean;
|
|
10485
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
10669
10486
|
}
|
|
10670
10487
|
/**
|
|
10671
10488
|
* 차트 부제목(subtitle) 설정 모델.<br/>
|
|
@@ -10789,7 +10606,7 @@ interface IChart {
|
|
|
10789
10606
|
declare class Credits extends ChartItem<CreditsOptions> {
|
|
10790
10607
|
static defaults: CreditsOptions;
|
|
10791
10608
|
isFloating(): boolean;
|
|
10792
|
-
protected _doSetSimple(src: any): boolean;
|
|
10609
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
10793
10610
|
}
|
|
10794
10611
|
/**
|
|
10795
10612
|
* 데이터포인트에 마우수가 올라갈 때 처리하는 방식 설정 모델.<br/>
|
|
@@ -10882,6 +10699,10 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
10882
10699
|
* @deprecated use {@link general} instead.
|
|
10883
10700
|
*/
|
|
10884
10701
|
get options(): ChartConfiguration;
|
|
10702
|
+
/**
|
|
10703
|
+
* 내보내기(exporter) 모델.
|
|
10704
|
+
*/
|
|
10705
|
+
get exporter(): Exporter;
|
|
10885
10706
|
/**
|
|
10886
10707
|
* @deprecated use {@link general} instead.
|
|
10887
10708
|
*/
|
|
@@ -11035,7 +10856,7 @@ declare class Crosshair extends ChartItem<NumberCrosshairOptions & TimeCrosshair
|
|
|
11035
10856
|
getFlag(length: number, pos: number): string;
|
|
11036
10857
|
moved(pos: number, flag: string, points: DataPoint[]): void;
|
|
11037
10858
|
_setAxis(axis: any): void;
|
|
11038
|
-
protected _doSetSimple(
|
|
10859
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
11039
10860
|
}
|
|
11040
10861
|
/**
|
|
11041
10862
|
* @private
|
|
@@ -11046,6 +10867,8 @@ interface IAxis {
|
|
|
11046
10867
|
_type(): string;
|
|
11047
10868
|
chart: IChart;
|
|
11048
10869
|
options: AxisOptions;
|
|
10870
|
+
/** 효과 옵션 값(기본값 fallback). */
|
|
10871
|
+
prop<K extends keyof AxisOptions>(prop: K, def?: any): AxisOptions[K];
|
|
11049
10872
|
crosshair: Crosshair;
|
|
11050
10873
|
_isX: boolean;
|
|
11051
10874
|
_isHorz: boolean;
|
|
@@ -11116,7 +10939,7 @@ declare abstract class AxisItem<OP extends AxisItemOptions> extends ChartItem<OP
|
|
|
11116
10939
|
declare class AxisLine<OP extends AxisLineOptions = AxisLineOptions> extends AxisItem<OP> {
|
|
11117
10940
|
static defaults: AxisLineOptions;
|
|
11118
10941
|
protected _isVisible(): boolean;
|
|
11119
|
-
protected _doSetSimple(src: any): boolean;
|
|
10942
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
11120
10943
|
}
|
|
11121
10944
|
/**
|
|
11122
10945
|
* 축 타이틀 모델.<br/>
|
|
@@ -11142,15 +10965,15 @@ declare class AxisTitle extends AxisItem<AxisTitleOptions> {
|
|
|
11142
10965
|
private _gap;
|
|
11143
10966
|
getGap(): number;
|
|
11144
10967
|
getRotation(): number;
|
|
11145
|
-
getTextOrientation(): TextOrientation;
|
|
10968
|
+
getTextOrientation(): _realgrid_common.TextOrientation;
|
|
11146
10969
|
protected _isVisible(): boolean;
|
|
11147
|
-
protected _doSetSimple(src: any): boolean;
|
|
10970
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
11148
10971
|
protected _doApply(op: AxisTitleOptions): void;
|
|
11149
10972
|
}
|
|
11150
10973
|
/**
|
|
11151
10974
|
* 축 단위 label 모델.<br/>
|
|
11152
10975
|
* {@link options 옵션} 모델은 {@link https://realchart.co.kr/docs/api/options/AxisUnitLabelOptions AxisUnitLabelOptions}이고,
|
|
11153
|
-
* {@link https://realchart.co.kr/config/config/base/axis#
|
|
10976
|
+
* {@link https://realchart.co.kr/config/config/base/axis#unitLabel unitLabel} 항목으로 설정한다.
|
|
11154
10977
|
*
|
|
11155
10978
|
* ```js
|
|
11156
10979
|
* const config = {
|
|
@@ -11168,7 +10991,7 @@ declare class AxisTitle extends AxisItem<AxisTitleOptions> {
|
|
|
11168
10991
|
declare class AxisUnitLabel extends AxisItem<AxisUnitLabelOptions> {
|
|
11169
10992
|
static defaults: AxisUnitLabelOptions;
|
|
11170
10993
|
protected _isVisible(): boolean;
|
|
11171
|
-
protected _doSetSimple(src: any): boolean;
|
|
10994
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
11172
10995
|
}
|
|
11173
10996
|
interface IAxisGridRow {
|
|
11174
10997
|
axis: Axis;
|
|
@@ -11183,7 +11006,7 @@ interface IAxisGridRow {
|
|
|
11183
11006
|
*/
|
|
11184
11007
|
declare class AxisGridRows extends AxisItem<AxisGridRowsOptions> {
|
|
11185
11008
|
getRows(): IAxisGridRow[];
|
|
11186
|
-
protected _doSetSimple(
|
|
11009
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
11187
11010
|
}
|
|
11188
11011
|
/**
|
|
11189
11012
|
* Axis tick의 위치에 수평 혹은 수직선으로 plot 영역을 구분 표시한다.<br/>
|
|
@@ -11266,13 +11089,13 @@ declare abstract class AxisTick<OP extends AxisTickOptions = AxisTickOptions> ex
|
|
|
11266
11089
|
_getGap(): number;
|
|
11267
11090
|
isShowLast(): boolean;
|
|
11268
11091
|
isShowFirst(): boolean;
|
|
11269
|
-
protected _doSetSimple(src: any): boolean;
|
|
11092
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
11270
11093
|
protected _doPrepareRender(chart: IChart): void;
|
|
11271
11094
|
}
|
|
11272
11095
|
/**
|
|
11273
11096
|
* major tick 사이 보조 눈금(minor tick) 모델.<br/>
|
|
11274
11097
|
* {@link options 옵션} 모델은 {@link https://realchart.co.kr/docs/api/options/AxisMinorTickOptions AxisMinorTickOptions}이고,
|
|
11275
|
-
* {@link https://realchart.co.kr/config/config/base/axis#
|
|
11098
|
+
* {@link https://realchart.co.kr/config/config/base/axis#minorTick minorTick} 항목으로 설정한다.
|
|
11276
11099
|
*/
|
|
11277
11100
|
declare class AxisMinorTick extends AxisItem<AxisMinorTickOptions> {
|
|
11278
11101
|
static defaults: AxisMinorTickOptions;
|
|
@@ -11280,13 +11103,13 @@ declare class AxisMinorTick extends AxisItem<AxisMinorTickOptions> {
|
|
|
11280
11103
|
private _count;
|
|
11281
11104
|
_getLength(): number;
|
|
11282
11105
|
_getCount(): number;
|
|
11283
|
-
protected _doSetSimple(src: any): boolean;
|
|
11106
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
11284
11107
|
protected _doPrepareRender(chart: IChart): void;
|
|
11285
11108
|
}
|
|
11286
11109
|
/**
|
|
11287
11110
|
* major grid 사이 보조 격자선(minor grid line) 모델.<br/>
|
|
11288
11111
|
* {@link options 옵션} 모델은 {@link https://realchart.co.kr/docs/api/options/AxisMinorGridOptions AxisMinorGridOptions}이고,
|
|
11289
|
-
* {@link https://realchart.co.kr/config/config/base/axis/grid#
|
|
11112
|
+
* {@link https://realchart.co.kr/config/config/base/axis/grid#minorGrid grid.minorGrid} 항목으로 설정한다.
|
|
11290
11113
|
*/
|
|
11291
11114
|
declare class AxisMinorGrid extends AxisItem<AxisMinorGridOptions> {
|
|
11292
11115
|
static defaults: AxisMinorGridOptions;
|
|
@@ -11382,7 +11205,7 @@ declare class AxisZoom implements IAxisZoom {
|
|
|
11382
11205
|
/**
|
|
11383
11206
|
* 전체 각도가 360도 보다 작은 부채꼴 {@link https://realchart.co.kr/config/config/#polar polar} 좌표계의 X 축에서 원호의 양 끝과 중심에 연결되는 두 선분 모델.<br/>
|
|
11384
11207
|
* {@link options 옵션} 모델은 {@link https://realchart.co.kr/docs/api/options/AxisSectorLineOptions AxisSectorLineOptions}이고,
|
|
11385
|
-
* {@link https://realchart.co.kr/config/config/base/axis#
|
|
11208
|
+
* {@link https://realchart.co.kr/config/config/base/axis#sectorLine sectorLine} 항목으로 설정한다.<br/>
|
|
11386
11209
|
*
|
|
11387
11210
|
* ```js
|
|
11388
11211
|
* const config = {
|
|
@@ -11396,7 +11219,7 @@ declare class AxisZoom implements IAxisZoom {
|
|
|
11396
11219
|
* };
|
|
11397
11220
|
* ```
|
|
11398
11221
|
*
|
|
11399
|
-
* {@link https://realchart.co.kr/config/config/base/axis#
|
|
11222
|
+
* {@link https://realchart.co.kr/config/config/base/axis#startAngle startAngle}, {@link https://realchart.co.kr/config/config/base/axis#totalAngle totalAngle}을 참조한다.
|
|
11400
11223
|
*/
|
|
11401
11224
|
declare class AxisSectorLine extends AxisLine<AxisSectorLineOptions> {
|
|
11402
11225
|
}
|
|
@@ -11435,6 +11258,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
11435
11258
|
_index: number;
|
|
11436
11259
|
private _row;
|
|
11437
11260
|
private _col;
|
|
11261
|
+
private _totalAngle;
|
|
11438
11262
|
_isX: boolean;
|
|
11439
11263
|
_isHorz: boolean;
|
|
11440
11264
|
_isOpposite: boolean;
|
|
@@ -11490,7 +11314,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
11490
11314
|
get line(): AxisLine;
|
|
11491
11315
|
/**
|
|
11492
11316
|
* 부채꼴 polar 좌표계의 X 축일 때 원호의 양 끝과 중심에 연결되는 선분들의 설정 모델.<br/>
|
|
11493
|
-
* {@link https://realchart.co.kr/config/config/xAxis/category#
|
|
11317
|
+
* {@link https://realchart.co.kr/config/config/xAxis/category#startAngle startAngle}, {@link https://realchart.co.kr/config/config/xAxis/category#totalAngle totalAngle}을 참조한다.
|
|
11494
11318
|
*/
|
|
11495
11319
|
get sectorLine(): AxisSectorLine;
|
|
11496
11320
|
/**
|
|
@@ -11526,6 +11350,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
11526
11350
|
isEmpty(): boolean;
|
|
11527
11351
|
private _checkEmpty;
|
|
11528
11352
|
checkVisible(): boolean;
|
|
11353
|
+
protected _isVisible(): boolean;
|
|
11529
11354
|
getBaseValue(): number;
|
|
11530
11355
|
length(): number;
|
|
11531
11356
|
axisMin(): number;
|
|
@@ -11627,7 +11452,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
11627
11452
|
abstract xValueAt(pos: number): number;
|
|
11628
11453
|
_posValue(): 0 | 1 | -1;
|
|
11629
11454
|
_load(source: any): OP;
|
|
11630
|
-
protected _doApply(op:
|
|
11455
|
+
protected _doApply(op: OP): void;
|
|
11631
11456
|
protected _setMinMax(min: number, max: number): void;
|
|
11632
11457
|
protected abstract _createGrid(): AxisGrid;
|
|
11633
11458
|
_connect(series: IPlottingItem): void;
|
|
@@ -11809,7 +11634,7 @@ interface AxisLineOptions extends AxisItemOptions {
|
|
|
11809
11634
|
}
|
|
11810
11635
|
/**
|
|
11811
11636
|
* 부채꼴 polar 좌표계의 X 축일 때 원호의 양 끝과 중심에 연결되는 선분들의 설정모델.<br/>
|
|
11812
|
-
* {@link https://realchart.co.kr/config/config/xAxis/category#
|
|
11637
|
+
* {@link https://realchart.co.kr/config/config/xAxis/category#startAngle startAngle}, {@link https://realchart.co.kr/config/config/xAxis/category#totalAngle totalAngle}을 참조한다.
|
|
11813
11638
|
*
|
|
11814
11639
|
*/
|
|
11815
11640
|
interface AxisSectorLineOptions extends AxisLineOptions {
|
|
@@ -11923,7 +11748,7 @@ interface AxisMinorGridOptions extends AxisItemOptions {
|
|
|
11923
11748
|
* time 축은 major tick 타임스탬프 사이를 선형 보간하여 minor 위치를 계산한다
|
|
11924
11749
|
* (달력 단위가 아닌 픽셀 균등 배치).<br/>
|
|
11925
11750
|
* log 축은 major tick 값이 0보다 클 때 log 공간에서 보간한다.<br/>
|
|
11926
|
-
* {@link count}는 {@link https://realchart.co.kr/config/config/base/axis/grid#
|
|
11751
|
+
* {@link count}는 {@link https://realchart.co.kr/config/config/base/axis/grid#minorGrid minor grid} 위치 계산에도 사용된다
|
|
11927
11752
|
* (visible이 false여도 grid만 표시할 수 있다).<br/>
|
|
11928
11753
|
* major tick이 2개 미만이면 minor tick·grid가 생성되지 않는다.<br/>
|
|
11929
11754
|
* axis break 경계 tick이 있는 major 구간에는 minor tick이 생성되지 않는다.<br/>
|
|
@@ -11939,7 +11764,7 @@ interface AxisMinorTickOptions extends AxisItemOptions {
|
|
|
11939
11764
|
/**
|
|
11940
11765
|
* major tick 한 구간 사이에 표시할 minor tick 개수.<br/>
|
|
11941
11766
|
* 1 미만이거나 소수인 값은 내림하여 1 이상의 정수로 적용된다.<br/>
|
|
11942
|
-
* {@link https://realchart.co.kr/config/config/base/axis/grid#
|
|
11767
|
+
* {@link https://realchart.co.kr/config/config/base/axis/grid#minorGrid minor grid} 위치에도 동일하게 적용된다.
|
|
11943
11768
|
*
|
|
11944
11769
|
* @default 4
|
|
11945
11770
|
*/
|
|
@@ -12152,8 +11977,8 @@ declare const _AxisLabelOverflow: {
|
|
|
12152
11977
|
/** @dummy */
|
|
12153
11978
|
type AxisLabelOverflow = typeof _AxisLabelOverflow[keyof typeof _AxisLabelOverflow];
|
|
12154
11979
|
/**
|
|
12155
|
-
* Axis의 label {@link https://realchart.co.kr/config/config/base/axis/label#
|
|
12156
|
-
* {@link https://realchart.co.kr/config/config/base/axis/label#
|
|
11980
|
+
* Axis의 label {@link https://realchart.co.kr/config/config/base/axis/label#textCallback 텍스트}나
|
|
11981
|
+
* {@link https://realchart.co.kr/config/config/base/axis/label#styleCallback 스타일}을 동적으로 리턴하는 콜백 등의 매개변수로 사용된다.<br/>
|
|
12157
11982
|
*/
|
|
12158
11983
|
interface AxisLabelArgs {
|
|
12159
11984
|
/**
|
|
@@ -12575,7 +12400,7 @@ declare const _CrosshairType: {
|
|
|
12575
12400
|
/** @dummy */
|
|
12576
12401
|
type CrosshairType = typeof _CrosshairType[keyof typeof _CrosshairType];
|
|
12577
12402
|
/**
|
|
12578
|
-
* Crosshair 위치가 변경될 때 발생되는 {@link https://realchart.co.kr/config/config/base/axis/crosshair#
|
|
12403
|
+
* Crosshair 위치가 변경될 때 발생되는 {@link https://realchart.co.kr/config/config/base/axis/crosshair#onChange 콜백}의 매개변수로 사용된다.<br/>
|
|
12579
12404
|
*/
|
|
12580
12405
|
interface CrosshairCallbackArgs {
|
|
12581
12406
|
/**
|
|
@@ -12693,7 +12518,7 @@ declare const _AxisPosition: {
|
|
|
12693
12518
|
* [주의] <br/>
|
|
12694
12519
|
* 1. 축에 연결된 시리즈들이 BarSeries 계열일 때만 가능하다.<br/>
|
|
12695
12520
|
* 2. 차트의 X축 하나에만 적용할 수 있다. 두번째로 지정된 축의 속성은 'normal'로 적용된다.<br/>
|
|
12696
|
-
* 3. 상대 축이 **linear** 가 아니거나 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
12521
|
+
* 3. 상대 축이 **linear** 가 아니거나 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue}가 min 보다 작거나 max보다 크면 이 값은 무시되고,
|
|
12697
12522
|
* 'normal'로 적용된다.
|
|
12698
12523
|
*
|
|
12699
12524
|
*
|
|
@@ -12812,7 +12637,7 @@ interface AxisOptions extends ChartItemOptions {
|
|
|
12812
12637
|
line?: AxisLineOptions | boolean | string;
|
|
12813
12638
|
/**
|
|
12814
12639
|
* 부채꼴 polar 좌표계의 X 축일 때 원호의 양 끝과 중심에 연결되는 선분들의 설정모델.<br/>
|
|
12815
|
-
* {@link https://realchart.co.kr/config/config/xAxis/category#
|
|
12640
|
+
* {@link https://realchart.co.kr/config/config/xAxis/category#startAngle startAngle}, {@link https://realchart.co.kr/config/config/xAxis/category#totalAngle totalAngle}을 참조한다.
|
|
12816
12641
|
*/
|
|
12817
12642
|
sectorLine?: AxisSectorLineOptions | boolean;
|
|
12818
12643
|
/**
|
|
@@ -12916,7 +12741,7 @@ interface AxisOptions extends ChartItemOptions {
|
|
|
12916
12741
|
tooltipHeader?: string;
|
|
12917
12742
|
/**
|
|
12918
12743
|
* 축에 포함된 각 시리즈별 표시되는 포인트 툴팁 텍스트 템플릿.<br/>
|
|
12919
|
-
* '${detail}'은 시리즈의 {@link https://realchart.co.kr/config/config/base/series#
|
|
12744
|
+
* '${detail}'은 시리즈의 {@link https://realchart.co.kr/config/config/base/series#tooltipDetail tooltipDetail} 속성값으로 대체된다. // #1386
|
|
12920
12745
|
*
|
|
12921
12746
|
* @default '${series}: ${detail}'
|
|
12922
12747
|
*/
|
|
@@ -12925,7 +12750,7 @@ interface AxisOptions extends ChartItemOptions {
|
|
|
12925
12750
|
* 축에 포함된 시리즈가 둘 이상일 때,
|
|
12926
12751
|
* 각 시리즈별 표시되는 포인트 툴팁 텍스트 템플릿.<br/>
|
|
12927
12752
|
* 이 속성을 빈 값으로 지정하면 {@link tooltipRow} 속성을 이용해서 표시된다.<br/>
|
|
12928
|
-
* '${detail}'은 시리즈의 {@link https://realchart.co.kr/config/config/base/series#
|
|
12753
|
+
* '${detail}'은 시리즈의 {@link https://realchart.co.kr/config/config/base/series#tooltipDetail tooltipDetail} 속성값으로 대체된다. // #1386
|
|
12929
12754
|
*
|
|
12930
12755
|
* @default `['${series}', '${detail}']`
|
|
12931
12756
|
*/
|
|
@@ -13318,7 +13143,7 @@ interface CategoryAxisOptions extends AxisOptions {
|
|
|
13318
13143
|
startOffset?: number;
|
|
13319
13144
|
}
|
|
13320
13145
|
/**
|
|
13321
|
-
* 연속 축의 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
13146
|
+
* 연속 축의 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue} 위치에 표시되는 선 설정 옵션.<br/>
|
|
13322
13147
|
* 기본적으로 표시되지 않는다.
|
|
13323
13148
|
*/
|
|
13324
13149
|
interface AxisBaseLineOptions extends AxisLineOptions {
|
|
@@ -13425,7 +13250,7 @@ interface ContinuousAxisOptions extends AxisOptions {
|
|
|
13425
13250
|
maxValue?: number;
|
|
13426
13251
|
/**
|
|
13427
13252
|
* y축 기준값이 필요한 시리즈들({@link https://realchart.co.kr/config/config/series/bar bar} 계열,
|
|
13428
|
-
* {@link https://realchart.co.kr/config/config/series/area area})의 {@link https://realchart.co.kr/config/config/series/bar#
|
|
13253
|
+
* {@link https://realchart.co.kr/config/config/series/area area})의 {@link https://realchart.co.kr/config/config/series/bar#baseValue baseValue}가
|
|
13429
13254
|
* 지정되지 않은 경우 대신 적용되는 기본값.<br/>
|
|
13430
13255
|
* {@link baseLine}은 이 설정값에 해당되는 위치에 표시된다.
|
|
13431
13256
|
*
|
|
@@ -13441,7 +13266,7 @@ interface ContinuousAxisOptions extends AxisOptions {
|
|
|
13441
13266
|
* `[[170, 0.2], [340, 0.1], [700, 0.05], [Infinity, 0.03]]`<br/>
|
|
13442
13267
|
* 또, 숫자와 'px'로 끝나는 문자열로 지정하면 위 설정을 무시하고,
|
|
13443
13268
|
* 적어도 지정한 pixel 정도의 여백이 생길 수 있도록 조정된다.<br/>
|
|
13444
|
-
* 시리즈 별로 설정할 수 있는 {@link https://realchart.co.kr/config/config/base/series#
|
|
13269
|
+
* 시리즈 별로 설정할 수 있는 {@link https://realchart.co.kr/config/config/base/series#paddingRate paddingRate}가 추가로 적용된다.
|
|
13445
13270
|
*/
|
|
13446
13271
|
padding?: number | [number, number][] | string;
|
|
13447
13272
|
/**
|
|
@@ -13723,7 +13548,7 @@ interface ConfigObject {
|
|
|
13723
13548
|
}
|
|
13724
13549
|
/**
|
|
13725
13550
|
*/
|
|
13726
|
-
interface ChartItemOptions {
|
|
13551
|
+
interface ChartItemOptions extends ROptions {
|
|
13727
13552
|
/**
|
|
13728
13553
|
* 표시 여부.<br/>
|
|
13729
13554
|
*
|
|
@@ -13878,10 +13703,10 @@ interface IconedTextOptions extends ChartTextOptions {
|
|
|
13878
13703
|
icon?: string;
|
|
13879
13704
|
}
|
|
13880
13705
|
/**
|
|
13881
|
-
* 데이터포인트 뷰가 {@link https://realchart.co.kr/config/config/base/series#
|
|
13882
|
-
* 마우스 {@link https://realchart.co.kr/config/config/base/series#
|
|
13883
|
-
* 또는 {@link https://realchart.co.kr/config/config/base/series#
|
|
13884
|
-
* {@link https://realchart.co.kr/config/config/base/series#
|
|
13706
|
+
* 데이터포인트 뷰가 {@link https://realchart.co.kr/config/config/base/series#onPointClick 클릭}될 때,
|
|
13707
|
+
* 마우스 {@link https://realchart.co.kr/config/config/base/series#onPointHover hover}될 때,
|
|
13708
|
+
* 또는 {@link https://realchart.co.kr/config/config/base/series#pointStyleCallback 동적 스타일}을 리턴하는 콜백이나 이벤트 등의 매개변수로 사용된다.<br/>
|
|
13709
|
+
* {@link https://realchart.co.kr/config/config/base/series#onPointHover 콜백}의 매개변수로 사용된다.<br/>
|
|
13885
13710
|
*/
|
|
13886
13711
|
interface DataPointCallbackArgs {
|
|
13887
13712
|
/**
|
|
@@ -14502,6 +14327,8 @@ declare class Chart {
|
|
|
14502
14327
|
*/
|
|
14503
14328
|
constructor(config?: ChartConfiguration, callback?: (model: ChartObject, oldModel: ChartObject) => void);
|
|
14504
14329
|
/**
|
|
14330
|
+
* 차트 객체를 해제한다.<br/>
|
|
14331
|
+
* 공개 API 호환을 위해 메서드명은 `destroy`를 유지하며, 내부적으로는 `dispose`를 호출한다.
|
|
14505
14332
|
*/
|
|
14506
14333
|
destroy(): void;
|
|
14507
14334
|
/**
|
|
@@ -15212,9 +15039,11 @@ declare class LinearAxisLabel extends ContinuousAxisLabel<LinearAxisLabelOptions
|
|
|
15212
15039
|
declare class AxisBreak extends AxisItem<AxisBreakOptions> {
|
|
15213
15040
|
static defaults: AxisBreakOptions;
|
|
15214
15041
|
private _sizeDim;
|
|
15042
|
+
private _space;
|
|
15215
15043
|
_sect: IAxisBreakSect;
|
|
15216
15044
|
getSize(domain: number): number;
|
|
15217
15045
|
protected _doApply(options: ChartItemOptions): void;
|
|
15046
|
+
prop<K extends keyof AxisBreakOptions>(prop: K, def?: any): AxisBreakOptions[K];
|
|
15218
15047
|
}
|
|
15219
15048
|
interface IAxisBreakSect {
|
|
15220
15049
|
from: number;
|
|
@@ -15223,9 +15052,9 @@ interface IAxisBreakSect {
|
|
|
15223
15052
|
len: number;
|
|
15224
15053
|
}
|
|
15225
15054
|
/**
|
|
15226
|
-
* 연속 축의 {@link https://realchart.co.kr/config/config/yAxis/linear#
|
|
15055
|
+
* 연속 축의 {@link https://realchart.co.kr/config/config/yAxis/linear#baseValue baseValue} 위치에 표시되는 선(line) 모델.<br/>
|
|
15227
15056
|
* {@link options 옵션} 모델은 {@link https://realchart.co.kr/docs/api/options/AxisBaseLineOptions AxisBaseLineOptions}이다.<br/>
|
|
15228
|
-
* 축의 최소값이 {@link https://realchart.co.kr/config/config/axis/linear#
|
|
15057
|
+
* 축의 최소값이 {@link https://realchart.co.kr/config/config/axis/linear#baseValue baseValue}보다 작을 때만 표시된다.
|
|
15229
15058
|
* 기본적으로 표시되지 않는다.
|
|
15230
15059
|
*/
|
|
15231
15060
|
declare class AxisBaseLine extends AxisLine {
|
|
@@ -15397,7 +15226,7 @@ declare class ChartTextElement extends GroupElement {
|
|
|
15397
15226
|
|
|
15398
15227
|
type Visitor<T extends RcElement> = (element: T, index?: number, count?: number) => void;
|
|
15399
15228
|
/** @private */
|
|
15400
|
-
declare class ElementPool<T extends RcElement> extends
|
|
15229
|
+
declare class ElementPool<T extends RcElement> extends RObject {
|
|
15401
15230
|
private _owner;
|
|
15402
15231
|
private _creator;
|
|
15403
15232
|
private _pool;
|
|
@@ -15407,7 +15236,7 @@ declare class ElementPool<T extends RcElement> extends RcObject {
|
|
|
15407
15236
|
constructor(owner: RcElement, creator: {
|
|
15408
15237
|
new (doc: Document, styleName?: string): T;
|
|
15409
15238
|
}, styleName?: string);
|
|
15410
|
-
protected
|
|
15239
|
+
protected _doDispose(): void;
|
|
15411
15240
|
get isEmpty(): boolean;
|
|
15412
15241
|
get count(): number;
|
|
15413
15242
|
get first(): T;
|
|
@@ -15690,7 +15519,7 @@ declare abstract class SeriesView<T extends Series = Series> extends ContentView
|
|
|
15690
15519
|
getPointsAt(axis: Axis, pos: number): IPointView[];
|
|
15691
15520
|
getSiblings(pv: IPointView): IPointView[];
|
|
15692
15521
|
getSibling(pv: IPointView): IPointView;
|
|
15693
|
-
applyAutoRotation(view: PointLabelView, a: number, total: number, totalAngle
|
|
15522
|
+
applyAutoRotation(view: PointLabelView, a: number, total: number, totalAngle?: number): void;
|
|
15694
15523
|
isEmptyView(): boolean;
|
|
15695
15524
|
protected _doAttached(parent: RcElement): void;
|
|
15696
15525
|
protected _prepareStyleOrClass(model: T): void;
|
|
@@ -16219,7 +16048,7 @@ declare class TitleView extends BoundableElement<Title<TitleOptions>> {
|
|
|
16219
16048
|
/**
|
|
16220
16049
|
* @private
|
|
16221
16050
|
*/
|
|
16222
|
-
declare class HtmlButtonView extends
|
|
16051
|
+
declare class HtmlButtonView extends RObject {
|
|
16223
16052
|
static isButton(dom: Element): boolean;
|
|
16224
16053
|
private _dom;
|
|
16225
16054
|
private _span;
|
|
@@ -16227,7 +16056,7 @@ declare class HtmlButtonView extends RcObject {
|
|
|
16227
16056
|
private _model;
|
|
16228
16057
|
private _hovered;
|
|
16229
16058
|
constructor(doc: Document);
|
|
16230
|
-
protected
|
|
16059
|
+
protected _doDispose(): void;
|
|
16231
16060
|
get dom(): HTMLButtonElement;
|
|
16232
16061
|
setVisible(visible: boolean): boolean;
|
|
16233
16062
|
setModel(model: HtmlButton): this;
|
|
@@ -16294,7 +16123,7 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
16294
16123
|
private _hoverAnnotation;
|
|
16295
16124
|
private _hoverButton;
|
|
16296
16125
|
constructor(doc: Document);
|
|
16297
|
-
protected
|
|
16126
|
+
protected _doDispose(): void;
|
|
16298
16127
|
getAnnotationAnchor(model: any): RcElement;
|
|
16299
16128
|
titleView(): TitleView;
|
|
16300
16129
|
subtitleView(): TitleView;
|
|
@@ -16358,13 +16187,14 @@ declare class ChartView extends LayerElement implements IAnnotationAnchorOwner {
|
|
|
16358
16187
|
}
|
|
16359
16188
|
|
|
16360
16189
|
declare class ChartControl extends RcControl implements IChartEventListener {
|
|
16190
|
+
private static $_conf;
|
|
16361
16191
|
private _chart;
|
|
16362
16192
|
private _chartView;
|
|
16363
16193
|
private _contextMenuDismissHandler;
|
|
16364
16194
|
constructor(doc: Document, container: string | HTMLDivElement);
|
|
16365
16195
|
protected _createChartView(doc: Document): ChartView;
|
|
16366
16196
|
protected _createPointerHandler(): ChartPointerHandler;
|
|
16367
|
-
protected
|
|
16197
|
+
protected _doDispose(): void;
|
|
16368
16198
|
onModelChanged(chart: ChartObject, item: ChartItem, tag: any): void;
|
|
16369
16199
|
onVisibleChanged(chart: ChartObject, item: ChartItem): void;
|
|
16370
16200
|
onPointVisibleChanged(chart: ChartObject, series: Series, point: DataPoint): void;
|
|
@@ -16657,7 +16487,7 @@ declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> exten
|
|
|
16657
16487
|
get flag(): LineSeriesFlag;
|
|
16658
16488
|
get arrow(): LineSeriesArrow;
|
|
16659
16489
|
backDir(): LineStepDirection;
|
|
16660
|
-
isConnectEnds(based: boolean, cyclic: boolean): boolean;
|
|
16490
|
+
isConnectEnds(based: boolean, cyclic: boolean): boolean | OP["connectEnds"];
|
|
16661
16491
|
isMarker(): boolean;
|
|
16662
16492
|
get canPolar(): boolean;
|
|
16663
16493
|
getLineType(): LineType;
|
|
@@ -16807,6 +16637,7 @@ declare class BarSeries<OP extends BarSeriesOptions = BarSeriesOptions> extends
|
|
|
16807
16637
|
*/
|
|
16808
16638
|
declare abstract class BarSeriesGroupBase<T extends BarSeriesBase, OP extends BarSeriesGroupBaseOptions<BarSeriesBaseOptions>> extends ClusterableSeriesGroup<T, OP> implements IClusterable {
|
|
16809
16639
|
static defaults: BarSeriesGroupBaseOptions<BarSeriesBaseOptions>;
|
|
16640
|
+
_distance: number;
|
|
16810
16641
|
canCategorized(): boolean;
|
|
16811
16642
|
getBaseValue(axis: IAxis): number;
|
|
16812
16643
|
getDepth(): number;
|
|
@@ -17075,7 +16906,7 @@ declare class BubblePie extends ChartItem<BubblePieOptions> {
|
|
|
17075
16906
|
*/
|
|
17076
16907
|
getLegendSliceColors(): string[];
|
|
17077
16908
|
getInnerRadius(rd: number): number;
|
|
17078
|
-
protected _doSetSimple(src: any): boolean;
|
|
16909
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
17079
16910
|
protected _doApply(op: BubblePieOptions): void;
|
|
17080
16911
|
private _buildLegendSources;
|
|
17081
16912
|
private _getFieldValue;
|
|
@@ -17437,9 +17268,12 @@ declare class PieSeriesLabel extends WidgetSeriesLabel<PieSeriesLabelOptions> {
|
|
|
17437
17268
|
declare class PieSeriesDepth extends ChartItem<PieSeriesDepthOptions> {
|
|
17438
17269
|
static readonly DEPTH_RATIO = 0.6;
|
|
17439
17270
|
static defaults: PieSeriesDepthOptions;
|
|
17271
|
+
private _runLength;
|
|
17272
|
+
private _runRatio;
|
|
17440
17273
|
getLength(): number;
|
|
17274
|
+
prop<K extends keyof PieSeriesDepthOptions>(prop: K, def?: any): PieSeriesDepthOptions[K];
|
|
17441
17275
|
protected _isVisible(): boolean;
|
|
17442
|
-
protected _doSetSimple(src: any): boolean;
|
|
17276
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
17443
17277
|
protected _doApply(op: PieSeriesDepthOptions): void;
|
|
17444
17278
|
}
|
|
17445
17279
|
/**
|
|
@@ -17571,9 +17405,9 @@ declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
|
|
|
17571
17405
|
private _numberFormat;
|
|
17572
17406
|
private _timeFormat;
|
|
17573
17407
|
_domain: IRichTextDomain;
|
|
17574
|
-
getTextOrientation(): TextOrientation;
|
|
17408
|
+
getTextOrientation(): _realgrid_common.TextOrientation;
|
|
17575
17409
|
protected _isVisible(): boolean;
|
|
17576
|
-
protected _doSetSimple(src: any): boolean;
|
|
17410
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
17577
17411
|
protected _doApply(options: TextAnnotationOptions): void;
|
|
17578
17412
|
}
|
|
17579
17413
|
|
|
@@ -17590,7 +17424,7 @@ declare class ImageAnnotation extends Annotation<ImageAnnotationOptions> {
|
|
|
17590
17424
|
*/
|
|
17591
17425
|
getImageUrl(): string;
|
|
17592
17426
|
protected _isVisible(): boolean;
|
|
17593
|
-
protected _doSetSimple(src: any): boolean;
|
|
17427
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
17594
17428
|
}
|
|
17595
17429
|
|
|
17596
17430
|
/**
|
|
@@ -17606,7 +17440,7 @@ declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|
|
|
17606
17440
|
hasCustomPath(): boolean;
|
|
17607
17441
|
getHeadSize(): number;
|
|
17608
17442
|
protected _doApply(options: ShapeAnnotationOptions): void;
|
|
17609
|
-
protected _doSetSimple(src: any): boolean;
|
|
17443
|
+
protected _doSetSimple(op: any, src: any): boolean;
|
|
17610
17444
|
private $_resolveArrowStyle;
|
|
17611
17445
|
}
|
|
17612
17446
|
|
|
@@ -18248,33 +18082,6 @@ declare class ArcElement extends PathElement {
|
|
|
18248
18082
|
}
|
|
18249
18083
|
|
|
18250
18084
|
declare const SVGNS = "http://www.w3.org/2000/svg";
|
|
18251
|
-
declare const isObject: (v: any) => boolean;
|
|
18252
|
-
/** @private */
|
|
18253
|
-
declare const isArray: (arg: any) => arg is any[];
|
|
18254
|
-
declare const isString: (v: any) => v is string;
|
|
18255
|
-
declare const isNumber: (v: any) => v is number;
|
|
18256
|
-
/** @private */
|
|
18257
|
-
declare const assignObj: {
|
|
18258
|
-
<T extends {}, U>(target: T, source: U): T & U;
|
|
18259
|
-
<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
|
|
18260
|
-
<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
|
|
18261
|
-
(target: object, ...sources: any[]): any;
|
|
18262
|
-
};
|
|
18263
|
-
/** @private */
|
|
18264
|
-
declare const cos: (x: number) => number;
|
|
18265
|
-
/** @private */
|
|
18266
|
-
declare const sin: (x: number) => number;
|
|
18267
|
-
/** @private */
|
|
18268
|
-
declare const minv: (...values: number[]) => number;
|
|
18269
|
-
/** @private */
|
|
18270
|
-
declare const maxv: (...values: number[]) => number;
|
|
18271
|
-
/** @private */
|
|
18272
|
-
declare const absv: (x: number) => number;
|
|
18273
|
-
declare const pickNum: (v1: any, v2: any) => number;
|
|
18274
|
-
declare const pickProp: (v1: any, v2: any) => any;
|
|
18275
|
-
declare const pickProp3: (v1: any, v2: any, v3: any) => any;
|
|
18276
|
-
declare const copyObj: (obj: any) => any;
|
|
18277
|
-
declare const incv: (prev: number, next: number, rate: number) => number;
|
|
18278
18085
|
|
|
18279
18086
|
declare abstract class GaugeView<T extends GaugeBase = GaugeBase> extends ContentView<T> {
|
|
18280
18087
|
static readonly GAUGE_CLASS = "rct-gauge";
|
|
@@ -18462,4 +18269,4 @@ declare const createChart: typeof Globals.createChart;
|
|
|
18462
18269
|
declare const createData: typeof Globals.createData;
|
|
18463
18270
|
declare const setLicenseKey: typeof Globals.setLicenseKey;
|
|
18464
18271
|
|
|
18465
|
-
export {
|
|
18272
|
+
export { Annotation, AnnotationAnimationOptions, AnnotationClickArgs, AnnotationOptions, AnnotationOptionsType, AnnotationView, ArcElement, AreaRangeSeries, AreaRangeSeriesOptions, AreaRangeSeriesView, AreaSeries, AreaSeriesGroup, AreaSeriesGroupOptions, AreaSeriesOptions, AreaSeriesView, ArrowHead, AssetCollection, AssetItemOptions, AssetOptionsType, Axis, AxisBaseLine, AxisBaseLineOptions, AxisBreakOptions, AxisCollection, AxisGrid, AxisGridOptions, AxisGridRowsOptions, AxisGuideLabelOptions, AxisGuideOptions, AxisGuideOptionsType, AxisItem, AxisItemOptions, AxisLabel, AxisLabelArgs, AxisLabelOptions, AxisLine, AxisLineGuideOptions, AxisLineOptions, AxisMinorGridOptions, AxisMinorTickOptions, AxisOptions, AxisOptionsType, AxisRangeGuideOptions, AxisScrollBar, AxisScrollBarOptions, AxisScrollView, AxisSectorLine, AxisSectorLineOptions, AxisTick, AxisTickOptions, AxisTitle, AxisTitleOptions, AxisView, BackgroundImageOptions, BarRangeSeries, BarRangeSeriesOptions, BarRangeSeriesView, BarSeries, BarSeriesBase, BarSeriesBaseOptions, BarSeriesGroup, BarSeriesGroupBase, BarSeriesGroupBaseOptions, BarSeriesGroupOptions, BarSeriesOptions, BarSeriesPoint, BarSeriesView, BarSeriesViewBase, BasedSeries, BasedSeriesOptions, BasedSeriesView, BellCurveSeries, BellCurveSeriesOptions, BellCurveSeriesView, Body, BodyDepth, BodyOptions, BodyView, BoxPlotSeries, BoxPlotSeriesOptions, BoxPlotSeriesView, BoxPointElementEx, BubblePie, BubblePieOptions, BubbleSeries, BubbleSeriesOptions, BubbleSeriesView, BulletBandLabelOptions, BulletBarLabelOptions, BulletGaugeBandOptions, BulletGaugeGroupOptions, BulletGaugeGroupType, BulletGaugeOptions, BulletGaugeType, BulletTargetBarOptions, BulletValueBarOptions, BumpSeriesGroup, BumpSeriesGroupOptions, CandlestickSeries, CandlestickSeriesOptions, CandlestickSeriesView, CategoryAxis, CategoryAxisGrid, CategoryAxisLabel, CategoryAxisLabelOptions, CategoryAxisOptions, CategoryAxisTick, CategoryAxisTickOptions, CategoryTreeBandOptions, CategoryTreeDividerOptions, CategoryTreeLevelLabelOptions, CategoryTreeLevelOptions, CategoryTreeOptions, Chart, ChartConfiguration, ChartControl, ChartData, ChartDataCollection, ChartDataOptions, ChartElement, ChartItem, ChartItemOptions, ChartObject, ChartOptions, ChartOptionsOptions, ChartPoint, ChartPointerHandler, ChartText, ChartTextOptions, ChartView, CircelBarPointLabel, CircleBarPointLabelOptions, CircleBarSeries, CircleBarSeriesGroup, CircleBarSeriesGroupOptions, CircleBarSeriesOptions, CircleBarSeriesView, CircleElement, CircleGaugeGroupOptions, CircleGaugeGroupType, CircleGaugeHandOptions, CircleGaugeOptions, CircleGaugePinOptions, CircleGaugeRimBaseOptions, CircleGaugeRimOptions, CircleGaugeScaleOptions, CircleGaugeType, CircleGaugeValueMarkerOptions, CircleGaugeValueRimOptions, CircularGauge, CircularGaugeGroup, CircularGaugeGroupOptions, CircularGaugeLabel, CircularGaugeLabelOptions, CircularGaugeOptions, ClockGaugeHandOptions, ClockGaugeLabelOptions, ClockGaugeOptions, ClockGaugePinOptions, ClockGaugeRimOptions, ClockGaugeSecondHandOptions, ClockGaugeTickLabelOptions, ClockGaugeTickOptions, ClockGaugeType, ClusterableSeries, ClusterableSeriesGroup, ClusterableSeriesGroupOptions, ClusterableSeriesOptions, Color, ColorListOptions, ConnectableSeries, ConnectableSeriesOptions, ConstraintSeriesGroup, ContentView, ContinuousAxis, ContinuousAxisGridOptions, ContinuousAxisLabelOptions, ContinuousAxisOptions, ContinuousAxisTickOptions, Credits, CreditsOptions, Crosshair, CrosshairCallbackArgs, CrosshairFlagOptions, CrosshairOptions, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DataPointLabelOptions, Dom, DumbbellSeries, DumbbellSeriesMarkerOptions, DumbbellSeriesOptions, DumbbellSeriesView, ElementPool, EmptyViewOptions, EqualizerSeries, EqualizerSeriesOptions, EqualizerSeriesView, ErrorBarSeries, ErrorBarSeriesOptions, ErrorBarSeriesView, ExportOptions, Exporter, ExporterOptions, FunnelSeries, FunnelSeriesLabelOptions, FunnelSeriesOptions, FunnelSeriesView, Gauge, GaugeBase, GaugeBaseOptions, GaugeGroup, GaugeGroupOptions, GaugeGroupView, GaugeItem, GaugeLabel, GaugeLabelOptions, GaugeOptions, GaugeOptionsType, GaugeRangeBand, GaugeRangeBandOptions, GaugeRangeLabel, GaugeRangeLabelOptions, GaugeScale, GaugeScaleLabelOptions, GaugeScaleOptions, GaugeScaleTickOptions, GaugeView, GradientOptions, HeatmapSeriesOptions, HeatmapSeriesType, HistogramSeries, HistogramSeriesOptions, HistogramSeriesView, HtmlButtonClickArgs, IAxis, IAxisTick, IChart, ICircularGaugeExtents, ILegendSource, IMinMax, IPlottingItem, IPlottingOwner, IPointView, ISeries, ISplit, IconedText, IconedTextOptions, ImageAnnotation, ImageAnnotationOptions, ImageAnnotationView, ImageElement, ImageListOptions, ImageOptions, LayerElement, Legend, LegendItem, LegendItemView, LegendOptions, LegendView, LineArrowPosition, LineArrowRotation, LineElement, LinePointLabel, LinePointLabelOptions, LineSeries, LineSeriesArrowOptions, LineSeriesBase, LineSeriesBaseOptions, LineSeriesBaseView, LineSeriesFlagOptions, LineSeriesGroup, LineSeriesGroupOptions, LineSeriesMarkerOptions, LineSeriesOptions, LineSeriesPoint, LineSeriesView, LinearAxis, LinearAxisLabelOptions, LinearAxisOptions, LinearGaugeBaseOptions, LinearGaugeChildLabelOptions, LinearGaugeGroupBaseOptions, LinearGaugeGroupLabelOptions, LinearGaugeGroupOptions, LinearGaugeGroupType, LinearGaugeLabelOptions, LinearGaugeOptions, LinearGaugeScaleOptions, LinearGaugeType, LinearGradientOptions, LinearValueBarOptions, LoadCallbackArgs, LogAxis, LogAxisOptions, LogAxisTickOptions, LollipopSeries, LollipopSeriesMarkerOptions, LollipopSeriesOptions, LollipopSeriesView, LowRangedSeries, LowRangedSeriesOptions, MarkerSeries, MarkerSeriesOptions, MarkerSeriesPointView, MarkerSeriesView, NavigatorMask, NavigiatorHandle, NavigiatorHandleOptions, NavigiatorMaskOptions, OhlcSeries, OhlcSeriesOptions, OhlcSeriesView, OthersGroup, OthersGroupOptions, PaneBodyOptions, PaneContainer, PaneOptions, ParetoSeries, ParetoSeriesOptions, ParetoSeriesView, PathBuilder, PathElement, PatternOptions, PictogramSeriesOptions, PictogramSeriesType, PictorialBarMode, PictorialBarSeriesOptions, PictorialBarSeriesType, PictorialSeriesLabelOptions, PictorialSeriesOptions, PictorialSeriesType, PieSeries, PieSeriesGroup, PieSeriesGroupOptions, PieSeriesLabel, PieSeriesLabelOptions, PieSeriesOptions, PieSeriesText, PieSeriesTextOptions, PieSeriesView, Point, PointElement, PointHovering, PointHoveringOptions, PointLabelLineContainer, PointLabelLineView, PointLabelView, PointViewPool, PolarInnerTextOptions, RaceBarSeriesOptions, RaceBarSeriesType, RaceCallbackArgs, RaceLineSeriesOptions, RaceLineSeriesType, RadialGradientOptions, RadialSeries, RadialSeriesOptions, RangedSeries, RangedSeriesOptions, RcAnimation, RcControl, RcElement, RectElement, SVGNS, SVGStyleOrClass, SVGStyles, ScaleView, ScatterSeries, ScatterSeriesOptions, ScatterSeriesView, SectionView, SectorElement, Series, SeriesAnimation, SeriesGroup, SeriesGroupOptions, SeriesMarker, SeriesMarkerOptions, SeriesNavigator, SeriesNavigatorOptions, SeriesOptions, SeriesOptionsType, SeriesView, Shape, ShapeAnnotation, ShapeAnnotationOptions, ShapeAnnotationView, Size, SplineSeries, SplineSeriesOptions, SplitOptions, StackLabel, StackLabelCallbackArgs, StackLabelOptions, StepCallbackArgs, Subtitle, SubtitleOptions, SvgShapes, TextAnchor, TextAnnotation, TextAnnotationOptions, TextAnnotationView, TextElement, TextLayout, TimeAxis, TimeAxisLabelOptions, TimeAxisOptions, TimeAxisTickOptions, Title, TitleOptions, Tooltip, TooltipOptions, TreeGroupHeadOptions, TreemapSeriesOptions, TreemapSeriesType, TrendlineArea as TrendLineArea, TrendlineLabel as TrendLineLabel, Trendline, TrendlineOptions, Utils, ValueGauge, ValueGaugeOptions, ValueGaugeView, ValueRange, ValueRangeList, VectorSeriesOptions, VectorSeriesType, WaterfallSeries, WaterfallSeriesOptions, WaterfallSeriesView, Widget, WidgetSeries, WidgetSeriesConnector, WidgetSeriesLabel, WidgetSeriesOptions, WidgetSeriesPoint, WidgetSeriesView, WordCloudSeriesOptions, WordCloudSeriesType, ZValuePoint, ZoomButtonOptions, ZoomCallbackArgs, buildValueRanges, configure, createChart, createData, extend, fixnum, getVersion, isIE, parsePercentSize, setAnimatable, setDebugging, setLicenseKey, setLogging, toStr };
|