realchart 1.1.4 → 1.1.6
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/dist/index.d.ts +1046 -364
- package/dist/index.esm.js +2 -2
- package/dist/index.ie.js +2 -2
- package/dist/index.js +2 -2
- package/dist/realchart-style.css +31 -13
- package/dist/realchart-style.ie.css +32 -14
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare abstract class RcObject {
|
|
|
15
15
|
* 객체가 소유한 참조 등을 해제하고 null을 리턴한다.
|
|
16
16
|
*
|
|
17
17
|
* ```
|
|
18
|
-
*
|
|
18
|
+
* model = model.destroy();
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
21
|
* @returns null
|
|
@@ -213,20 +213,63 @@ declare const _VerticalAlign: {
|
|
|
213
213
|
};
|
|
214
214
|
type VerticalAlign = typeof _VerticalAlign[keyof typeof _VerticalAlign];
|
|
215
215
|
interface SVGStyles {
|
|
216
|
+
/**
|
|
217
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill fill} 스타일 속성.<br/>
|
|
218
|
+
*/
|
|
216
219
|
fill?: string;
|
|
220
|
+
/**
|
|
221
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-opacity fill-opacity} 스타일 속성.<br/>
|
|
222
|
+
*/
|
|
217
223
|
fillOpacity?: string;
|
|
224
|
+
/**
|
|
225
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke stroke} 스타일 속성.<br/>
|
|
226
|
+
*/
|
|
218
227
|
stroke?: string;
|
|
228
|
+
/**
|
|
229
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-width stroke-width} 스타일 속성.<br/>
|
|
230
|
+
*/
|
|
219
231
|
strokeWidth?: string;
|
|
232
|
+
/**
|
|
233
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray stroke-dasharray} 스타일 속성.<br/>
|
|
234
|
+
*/
|
|
220
235
|
strokeDasharray?: string;
|
|
236
|
+
/**
|
|
237
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-family font-family} 스타일 속성.<br/>
|
|
238
|
+
*/
|
|
221
239
|
fontFamily?: string;
|
|
240
|
+
/**
|
|
241
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-size font-size} 스타일 속성.<br/>
|
|
242
|
+
*/
|
|
222
243
|
fontSize?: string;
|
|
244
|
+
/**
|
|
245
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-weight font-weight} 스타일 속성.<br/>
|
|
246
|
+
*/
|
|
223
247
|
fontWeight?: string;
|
|
248
|
+
/**
|
|
249
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-style font-style} 스타일 속성.<br/>
|
|
250
|
+
*/
|
|
224
251
|
fontStyle?: string;
|
|
252
|
+
/**
|
|
253
|
+
* SVG에 적용되는 css {@page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/rx rx} 스타일 속성.<br/>
|
|
254
|
+
* {@page config.seires.bar 'bar'} 시리즈의 데이터포인트 bar의 모서리를 지정하는 데 사용된다.
|
|
255
|
+
*/
|
|
225
256
|
rx?: string;
|
|
226
257
|
/**
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
258
|
+
* 텍스트 정렬을 지정한다.<br/>
|
|
259
|
+
* **SVG에 적용되는 정식 css style 속성이 아니다.**
|
|
260
|
+
* 즉, HTML이나 realchart-style.css 등의 외부 css 파일에서 사용할 수 없고,
|
|
261
|
+
* RealChart 내부에서 {@page config.title}, {@page config.base.series.pointLabel datapoint label} 등의
|
|
262
|
+
* inline 스타일 속성으로 지정할 수 있다.
|
|
263
|
+
*
|
|
264
|
+
* ```js
|
|
265
|
+
* const config = {
|
|
266
|
+
* subtitle: {
|
|
267
|
+
* style: {
|
|
268
|
+
* textAlign: 'left',
|
|
269
|
+
* },
|
|
270
|
+
* },
|
|
271
|
+
* };
|
|
272
|
+
* ```
|
|
230
273
|
*/
|
|
231
274
|
textAlign?: Align;
|
|
232
275
|
}
|
|
@@ -247,7 +290,7 @@ declare const _ChartTextEffect: {
|
|
|
247
290
|
/**
|
|
248
291
|
* 텍스트 배경 상자를 표시한다.<br/>
|
|
249
292
|
* 배경 상자에 {@page backgroundStyle}이 적용된다.
|
|
250
|
-
* 스타일이 적용되지 않으면 기본 'rct-text-background'
|
|
293
|
+
* 스타일이 적용되지 않으면 기본 'rct-text-background'가 적용된다.
|
|
251
294
|
*/
|
|
252
295
|
readonly BACKGROUND: "background";
|
|
253
296
|
};
|
|
@@ -303,6 +346,11 @@ declare const _AlignBase: {
|
|
|
303
346
|
readonly PARENT: "parent";
|
|
304
347
|
};
|
|
305
348
|
type AlignBase = typeof _AlignBase[keyof typeof _AlignBase];
|
|
349
|
+
/**
|
|
350
|
+
* {@page config.base.series#viewRanges} 등에 설정할 수 있는 값 범위 정보.<br/>
|
|
351
|
+
* 시작, 끝 값과 영역에 표시할 색상 및 label을 지정한다.
|
|
352
|
+
* {@page config.base.series#viewRanges}에는 이 설정 객체 배열로 지정한다.
|
|
353
|
+
*/
|
|
306
354
|
interface ValueRange {
|
|
307
355
|
fromValue?: number;
|
|
308
356
|
toValue?: number;
|
|
@@ -311,6 +359,9 @@ interface ValueRange {
|
|
|
311
359
|
style?: SVGStyleOrClass;
|
|
312
360
|
areaStyle?: SVGStyleOrClass;
|
|
313
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
* {@page config.base.series#viewRanges}에 설정할 수 있는 값 범위 목록.<br/>
|
|
364
|
+
*/
|
|
314
365
|
interface ValueRangeList {
|
|
315
366
|
fromValue?: number;
|
|
316
367
|
toValue?: number;
|
|
@@ -398,54 +449,69 @@ interface ChartItemOptions {
|
|
|
398
449
|
}
|
|
399
450
|
interface ChartTextOptions extends ChartItemOptions {
|
|
400
451
|
/**
|
|
452
|
+
* 텍스트 표시 효과.<br/>
|
|
453
|
+
*
|
|
454
|
+
* @default 'none'
|
|
401
455
|
*/
|
|
402
456
|
effect?: ChartTextEffect;
|
|
403
457
|
/**
|
|
458
|
+
* {@page autoContrast}가 true이고 밝게 표시할 때 적용되는 {@page it.SVGStyles 스타일셋}.<br/>
|
|
404
459
|
*/
|
|
405
460
|
lightStyle?: SVGStyleOrClass;
|
|
406
461
|
/**
|
|
462
|
+
* {@page autoContrast}가 true이고 어둡게 표시할 때 적용되는 {@page it.SVGStyles 스타일셋}.<br/>
|
|
407
463
|
*/
|
|
408
464
|
darkStyle?: SVGStyleOrClass;
|
|
409
465
|
/**
|
|
466
|
+
* {@page effect}가 'background'일 때 배경에 적용되는 {@page it.SVGStyles 스타일셋}.<br/>
|
|
410
467
|
*/
|
|
411
468
|
backgroundStyle?: SVGStyleOrClass;
|
|
412
469
|
/**
|
|
413
|
-
* 텍스트가 data point 내부에 표시되는 경우 포인트 색상과 대조되도록
|
|
414
|
-
* <br>
|
|
470
|
+
* 텍스트가 data point 내부에 표시되는 경우 포인트 색상과 대조되도록 표시한다.<br/>
|
|
415
471
|
* 밝게 표시할 때는 {@page lightStyle}을 적용하고,
|
|
416
472
|
* 어둡게 표시할 때는 {@page darkStyle}이 적용된다.
|
|
417
|
-
*
|
|
473
|
+
* lightStyle이 지정되지 않으면 'rct-text-light'이,
|
|
418
474
|
* darkStyle이 지정되지 않으면 'rct-text-dark'가 기본 적용된다.
|
|
419
475
|
*
|
|
476
|
+
* @default true
|
|
420
477
|
*/
|
|
421
478
|
autoContrast?: boolean;
|
|
422
|
-
outlineThickness?: number;
|
|
423
479
|
/**
|
|
424
|
-
*
|
|
480
|
+
* {@page effect}가 'outline'일 때 외곽 택스트의 외곽선 두께.<br/>
|
|
425
481
|
*
|
|
482
|
+
* @default 2
|
|
483
|
+
*/
|
|
484
|
+
outlineThickness?: number;
|
|
485
|
+
/**
|
|
486
|
+
* label 문자열 앞에 추가되는 문자열.<br/>
|
|
426
487
|
*/
|
|
427
488
|
prefix?: string;
|
|
428
489
|
/**
|
|
429
|
-
* label 문자열 끝에 추가되는
|
|
430
|
-
*
|
|
490
|
+
* label 문자열 끝에 추가되는 문자열.<br/>
|
|
431
491
|
*/
|
|
432
492
|
suffix?: string;
|
|
433
493
|
/**
|
|
434
494
|
* 축의 tick 간격이 1000 이상인 큰 수를 표시할 때
|
|
435
|
-
* 이 속성에 지정한 symbol을 이용해서 축약형으로
|
|
495
|
+
* 이 속성에 지정한 symbol을 이용해서 축약형으로 표시한다.<br/>
|
|
436
496
|
*
|
|
497
|
+
* @default 'k,M,G,T,P,E'
|
|
437
498
|
*/
|
|
438
499
|
numberSymbols?: string;
|
|
439
500
|
/**
|
|
440
|
-
* label이 숫자일 때 표시
|
|
501
|
+
* label이 숫자일 때 표시 형식.<br/>
|
|
441
502
|
*
|
|
503
|
+
* @default '#,##0.#'
|
|
442
504
|
*/
|
|
443
505
|
numberFormat?: string;
|
|
444
506
|
/**
|
|
445
|
-
*
|
|
446
|
-
*
|
|
507
|
+
* Text 형식.<br/>
|
|
447
508
|
*/
|
|
448
509
|
text?: string;
|
|
510
|
+
/**
|
|
511
|
+
* 텍스트 행의 높이를 계산되는 높이와 다르게 표시되도록 지정한다.<br/>
|
|
512
|
+
* 1이면 계산된 높이와 동일하게 표시된다.
|
|
513
|
+
* 지정하지 않으면 계산된 값.
|
|
514
|
+
*/
|
|
449
515
|
lineHeight?: number;
|
|
450
516
|
}
|
|
451
517
|
/**
|
|
@@ -461,17 +527,28 @@ declare const _IconPosition: {
|
|
|
461
527
|
type IconPosition = typeof _IconPosition[keyof typeof _IconPosition];
|
|
462
528
|
interface IconedTextOptions extends ChartTextOptions {
|
|
463
529
|
/**
|
|
530
|
+
* 이이콘 표시 위치<br/>
|
|
531
|
+
*
|
|
464
532
|
* @default 'default'
|
|
465
533
|
*/
|
|
466
534
|
iconPosition?: IconPosition;
|
|
467
535
|
imageList?: string;
|
|
468
536
|
iconRoot?: string;
|
|
469
537
|
/**
|
|
538
|
+
* 아이콘과 텍스트 사이의 간격.<br/>
|
|
539
|
+
*
|
|
470
540
|
* @default 2
|
|
471
541
|
*/
|
|
472
542
|
iconGap?: number;
|
|
473
|
-
|
|
474
|
-
|
|
543
|
+
/**
|
|
544
|
+
* 아이콘 이미지 너비.<br/>
|
|
545
|
+
*/
|
|
546
|
+
iconWidth?: number;
|
|
547
|
+
/**
|
|
548
|
+
* 아이콘 이미지 높이<br/>
|
|
549
|
+
* 지정하지 않으면 16 픽셀로 설정된다.
|
|
550
|
+
*/
|
|
551
|
+
iconHeight?: number;
|
|
475
552
|
}
|
|
476
553
|
interface DataPointCallbackArgs {
|
|
477
554
|
series: object;
|
|
@@ -491,6 +568,7 @@ interface DataPointCallbackArgs {
|
|
|
491
568
|
xValue: any;
|
|
492
569
|
yValue: any;
|
|
493
570
|
zValue: any;
|
|
571
|
+
labelIndex: number;
|
|
494
572
|
source: any;
|
|
495
573
|
}
|
|
496
574
|
|
|
@@ -515,15 +593,19 @@ declare const _AnnotationScope: {
|
|
|
515
593
|
};
|
|
516
594
|
type AnnotationScope = typeof _AnnotationScope[keyof typeof _AnnotationScope];
|
|
517
595
|
/**
|
|
518
|
-
*
|
|
596
|
+
* 차트 {@page config.base.series 시리즈}나 {@page config.base.gauge 게이지}로
|
|
597
|
+
* 표현이 부족하거나 특별히 강조할 내용이 있을 때,
|
|
598
|
+
* 보조로 표시할 수 있는 {@page config.annotation.text 텍스트}나
|
|
599
|
+
* {@page config.annotation.image 이미지} 또는 {@page config.annotation.shape 도형}.<br/>
|
|
519
600
|
*
|
|
520
601
|
* @config chart.annotation[base]
|
|
521
602
|
*/
|
|
522
603
|
interface AnnotationOptions extends ChartItemOptions {
|
|
523
604
|
type?: AnnotationType;
|
|
524
605
|
/**
|
|
525
|
-
* true로 지정하면
|
|
606
|
+
* true로 지정하면 시리즈나 게이지들 위에 표시된다.<br/>
|
|
526
607
|
*
|
|
608
|
+
* @default false
|
|
527
609
|
*/
|
|
528
610
|
front?: boolean;
|
|
529
611
|
/**
|
|
@@ -536,13 +618,11 @@ interface AnnotationOptions extends ChartItemOptions {
|
|
|
536
618
|
/**
|
|
537
619
|
* 어노테이션 배치 기준이 되는 차트 구성 요소.<br/>
|
|
538
620
|
* 현재, 같은 영역(body 혹은 chart)에 포함된 {@page config.base.gauge 게이지}나 다른 어노테이션의 {@page name 이름}을 지정할 수 있다.
|
|
539
|
-
*
|
|
540
621
|
*/
|
|
541
622
|
anchor?: string;
|
|
542
623
|
/**
|
|
543
624
|
* 수평 배치.<br/>
|
|
544
625
|
*
|
|
545
|
-
*
|
|
546
626
|
* @default 'left' anchor가 지정되면 'center', 아니면 'left'
|
|
547
627
|
*/
|
|
548
628
|
align?: Align;
|
|
@@ -571,7 +651,6 @@ interface AnnotationOptions extends ChartItemOptions {
|
|
|
571
651
|
/**
|
|
572
652
|
* 회전 각도.<br/>
|
|
573
653
|
* 0 ~ 360 사이의 값으로 지정한다.
|
|
574
|
-
*
|
|
575
654
|
*/
|
|
576
655
|
rotation?: number;
|
|
577
656
|
/**
|
|
@@ -584,61 +663,56 @@ interface AnnotationOptions extends ChartItemOptions {
|
|
|
584
663
|
/**
|
|
585
664
|
* 배경 스타일.<br/>
|
|
586
665
|
* 경계 및 배경 색, padding 스타일을 지정할 수 있다.
|
|
587
|
-
*
|
|
588
666
|
*/
|
|
589
667
|
backgroundStyle?: SVGStyleOrClass;
|
|
590
668
|
/**
|
|
591
669
|
* true로 지정하면 상위 영역을 벗어난 부분도 표시되게 한다.<br/>
|
|
592
670
|
* body에 포함된 경우 body 영역,
|
|
593
671
|
* chart에 포함되고 scope이 'chart'일 때 chart 영역.
|
|
594
|
-
*
|
|
595
672
|
*/
|
|
596
673
|
noClip?: boolean;
|
|
597
674
|
/**
|
|
598
675
|
* body 어노테이션일 경우,
|
|
599
676
|
* x 축을 기준으로 지정하는 수평(inverted일 때 수직) 위치.<br/>
|
|
600
677
|
* chart에 지정된 어노테이션에서는 무시된다.
|
|
601
|
-
*
|
|
602
678
|
*/
|
|
603
679
|
x1?: number | Date;
|
|
604
680
|
/**
|
|
605
681
|
* body 어노테이션일 경우,
|
|
606
682
|
* x 축을 기준으로 지정하는 수평(inverted일 때 수직) 위치.<br/>
|
|
607
683
|
* chart에 지정된 어노테이션에서는 무시된다.
|
|
608
|
-
*
|
|
609
684
|
*/
|
|
610
685
|
x2?: number | Date;
|
|
611
686
|
/**
|
|
612
687
|
* body 어노테이션일 경우,
|
|
613
688
|
* y 축을 기준으로 지정하는 수직(inverted일 때 수평) 위치.<br/>
|
|
614
689
|
* chart에 지정된 어노테이션에서는 무시된다.
|
|
615
|
-
*
|
|
616
690
|
*/
|
|
617
691
|
y1?: number | Date;
|
|
618
692
|
/**
|
|
619
693
|
* body 어노테이션일 경우,
|
|
620
694
|
* y 축을 기준으로 지정하는 수직(inverted일 때 수평) 위치.<br/>
|
|
621
695
|
* chart에 지정된 어노테이션에서는 무시된다.
|
|
622
|
-
*
|
|
623
696
|
*/
|
|
624
697
|
y2?: number | Date;
|
|
625
698
|
/**
|
|
626
699
|
* Annotation 너비.<br/>
|
|
627
700
|
* 픽셀 단위의 고정 값이나, plot 영역에 대한 상태 크기롤 지정할 수 있다.
|
|
628
|
-
*
|
|
629
701
|
*/
|
|
630
702
|
width?: PercentSize;
|
|
631
703
|
/**
|
|
632
704
|
* Annotation 높이.<br/>
|
|
633
705
|
* 픽셀 단위의 고정 값이나, plot 영역에 대한 상태 크기롤 지정할 수 있다.
|
|
634
|
-
*
|
|
635
706
|
*/
|
|
636
707
|
height?: PercentSize;
|
|
637
708
|
}
|
|
638
709
|
declare const ImageAnnotationType = "image";
|
|
639
710
|
/**
|
|
640
|
-
* 이미지
|
|
711
|
+
* 이미지 어노테이션.<br/>
|
|
712
|
+
* {@page op.AnnotationOptions#type}은 'image'이다.<br/>
|
|
641
713
|
*
|
|
714
|
+
* // TODO #fiddle annotation/image-annotation Image Annotation
|
|
715
|
+
* @css 'rct-image-annotation'
|
|
642
716
|
* @config chart.annotation[type=image]
|
|
643
717
|
*/
|
|
644
718
|
interface ImageAnnotationOptions extends AnnotationOptions {
|
|
@@ -693,8 +767,13 @@ declare const _ShapeAnnotationShape: {
|
|
|
693
767
|
};
|
|
694
768
|
type ShapeAnnotationShape = typeof _ShapeAnnotationShape[keyof typeof _ShapeAnnotationShape];
|
|
695
769
|
/**
|
|
696
|
-
* Shape
|
|
770
|
+
* Shape 어노테이션.<br/>
|
|
771
|
+
* {@page op.AnnotationOptions#type}은 'shape'이다.<br/>
|
|
772
|
+
* {@page shape} 속성에 표시할 도형 모양을 지정하거나,
|
|
773
|
+
* {@page path}에 SVG path를 직접 지정할 수 있다.
|
|
697
774
|
*
|
|
775
|
+
* // TODO #fiddle annotation/shape-annotation Shape Annotation
|
|
776
|
+
* @css 'rct-shape-annotation'
|
|
698
777
|
* @config chart.annotation[type=shape]
|
|
699
778
|
*/
|
|
700
779
|
interface ShapeAnnotationOptions extends AnnotationOptions {
|
|
@@ -728,8 +807,11 @@ interface ShapeAnnotationOptions extends AnnotationOptions {
|
|
|
728
807
|
}
|
|
729
808
|
declare const TextAnnotationType = "text";
|
|
730
809
|
/**
|
|
731
|
-
*
|
|
810
|
+
* 텍스트 어노테이션.<br/>
|
|
811
|
+
* {@page op.AnnotationOptions#type}은 'text'이다.<br/>
|
|
732
812
|
*
|
|
813
|
+
* // TODO #fiddle annotation/text-annotation Text Annotation
|
|
814
|
+
* @css 'rct-text-annotation'
|
|
733
815
|
* @config chart.annotation[type=text]
|
|
734
816
|
*/
|
|
735
817
|
interface TextAnnotationOptions extends AnnotationOptions {
|
|
@@ -1037,6 +1119,9 @@ declare class RcElement extends RcObject {
|
|
|
1037
1119
|
appendDom(dom: Node): Node;
|
|
1038
1120
|
insertDom(dom: Node, before: Node): Node;
|
|
1039
1121
|
clearDom(): void;
|
|
1122
|
+
containsClass(selector: string): boolean;
|
|
1123
|
+
addClass(selector: string): this;
|
|
1124
|
+
removeClass(selector: string): this;
|
|
1040
1125
|
private _saveStyle;
|
|
1041
1126
|
private _saveClass;
|
|
1042
1127
|
saveStyles(): void;
|
|
@@ -1171,7 +1256,22 @@ declare const _PointItemPosition: {
|
|
|
1171
1256
|
};
|
|
1172
1257
|
type PointItemPosition = typeof _PointItemPosition[keyof typeof _PointItemPosition];
|
|
1173
1258
|
/**
|
|
1174
|
-
*
|
|
1259
|
+
* 시리즈 데이터포인트들의 label 옵션.<br/>
|
|
1260
|
+
* {@page config.base.series}의 'pointLabel' 항목으로 설정한다.
|
|
1261
|
+
*
|
|
1262
|
+
* ```js
|
|
1263
|
+
* const config = {
|
|
1264
|
+
* series: {
|
|
1265
|
+
* pointLabel: {
|
|
1266
|
+
* visible: true,
|
|
1267
|
+
* suffix: '%',
|
|
1268
|
+
* style: {
|
|
1269
|
+
* fontWeight: 'bold',
|
|
1270
|
+
* },
|
|
1271
|
+
* }
|
|
1272
|
+
* }
|
|
1273
|
+
* };
|
|
1274
|
+
* ```
|
|
1175
1275
|
*/
|
|
1176
1276
|
interface DataPointLabelOptions extends IconedTextOptions {
|
|
1177
1277
|
/**
|
|
@@ -1274,7 +1374,8 @@ declare const _TrendLineType: {
|
|
|
1274
1374
|
};
|
|
1275
1375
|
type TrendLineType = typeof _TrendLineType[keyof typeof _TrendLineType];
|
|
1276
1376
|
/**
|
|
1277
|
-
* 시리즈 추세선
|
|
1377
|
+
* 시리즈 추세선 옵션.<br/>
|
|
1378
|
+
* {@page config.base.series}의 'trendLine' 항목으로 설정한다.
|
|
1278
1379
|
*/
|
|
1279
1380
|
interface TrendlineOptions extends ChartItemOptions {
|
|
1280
1381
|
/**
|
|
@@ -1308,7 +1409,8 @@ interface TrendlineOptions extends ChartItemOptions {
|
|
|
1308
1409
|
/**
|
|
1309
1410
|
* 시리즈는 {@page data}로 지정된 값들을 데이터포인트로 표시하는 차트의 핵심 구성 요소이다.<br/>
|
|
1310
1411
|
* 차트 설정의 다른 부분이나 API에 참조하기 위해서는 {@page name}을 반드시 지정해야 햔다.
|
|
1311
|
-
* 차트 생성 시
|
|
1412
|
+
* 차트 생성 시 {@page config.series.#type} 을 지정하지 않으면 {@page config.series.bar 'bar'} 시리즈로 생성된다.<br/>
|
|
1413
|
+
*
|
|
1312
1414
|
* @config chart.series[base]
|
|
1313
1415
|
*/
|
|
1314
1416
|
interface SeriesOptions extends ChartItemOptions {
|
|
@@ -1327,11 +1429,12 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1327
1429
|
*/
|
|
1328
1430
|
label?: string;
|
|
1329
1431
|
/**
|
|
1330
|
-
* 데이터포인트 label
|
|
1432
|
+
* 데이터포인트 label 옵션.<br/>
|
|
1433
|
+
* 단순히 boolean 값으로 설정하면 {@page visible} 속성에 적용된다.
|
|
1331
1434
|
*/
|
|
1332
1435
|
pointLabel?: DataPointLabelOptions | boolean;
|
|
1333
1436
|
/**
|
|
1334
|
-
* 추세선
|
|
1437
|
+
* 추세선 옵션.<br/>
|
|
1335
1438
|
*/
|
|
1336
1439
|
trendline?: TrendlineOptions;
|
|
1337
1440
|
/**
|
|
@@ -1459,15 +1562,15 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1459
1562
|
*/
|
|
1460
1563
|
hoverEffect?: 'none' | 'default';
|
|
1461
1564
|
/**
|
|
1462
|
-
* 데이터포인트 위에 마우스가 있을 때 적용되는 스타일셋 혹은 class selector
|
|
1565
|
+
* 데이터포인트 위에 마우스가 있을 때 적용되는 스타일셋 혹은 class selector.<br/>
|
|
1463
1566
|
*/
|
|
1464
1567
|
hoverStyle?: SVGStyleOrClass;
|
|
1465
1568
|
/**
|
|
1466
|
-
*
|
|
1569
|
+
* 데이터포인트의 동적 스타일 콜백.<br/>
|
|
1467
1570
|
*/
|
|
1468
1571
|
pointStyleCallback?: PointStyleCallback;
|
|
1469
1572
|
/**
|
|
1470
|
-
* 데이터포인트들이 새로 로드된 후
|
|
1573
|
+
* 데이터포인트들이 새로 로드된 후 호출된다.<br/>
|
|
1471
1574
|
*/
|
|
1472
1575
|
onPointsLoaded?: (series: object, firstTime: boolean) => void;
|
|
1473
1576
|
/**
|
|
@@ -1584,11 +1687,16 @@ declare const _SeriesGroupLayout: {
|
|
|
1584
1687
|
readonly FILL: "fill";
|
|
1585
1688
|
};
|
|
1586
1689
|
type SeriesGroupLayout = typeof _SeriesGroupLayout[keyof typeof _SeriesGroupLayout];
|
|
1690
|
+
/**
|
|
1691
|
+
* 같은 종류의 단일 시리즈들을 여러 개 묶어서 표시한다.<br/>
|
|
1692
|
+
*
|
|
1693
|
+
* @config chart.seriesGroup[base]
|
|
1694
|
+
*/
|
|
1587
1695
|
interface SeriesGroupOptions<T extends SeriesOptions = SeriesOptions> extends ChartItemOptions {
|
|
1588
1696
|
row?: number;
|
|
1589
1697
|
col?: number;
|
|
1590
1698
|
/**
|
|
1591
|
-
* 시리즈
|
|
1699
|
+
* 단일 시리즈 옵션 배열.
|
|
1592
1700
|
*/
|
|
1593
1701
|
children?: T[];
|
|
1594
1702
|
/**
|
|
@@ -1650,6 +1758,9 @@ interface SeriesGroupOptions<T extends SeriesOptions = SeriesOptions> extends Ch
|
|
|
1650
1758
|
}
|
|
1651
1759
|
declare const LineSeriesGroupType = "linegroup";
|
|
1652
1760
|
/**
|
|
1761
|
+
* Line 시리즈그룹.<br/>
|
|
1762
|
+
* {@page op.SeriesOptions#type}은 'linegroup'이다.<br/>
|
|
1763
|
+
*
|
|
1653
1764
|
* @config chart.series[type=linegroup]
|
|
1654
1765
|
*/
|
|
1655
1766
|
interface LineSeriesGroupOptions extends SeriesGroupOptions<LineSeriesOptions> {
|
|
@@ -1664,6 +1775,9 @@ interface LineSeriesGroupOptions extends SeriesGroupOptions<LineSeriesOptions> {
|
|
|
1664
1775
|
}
|
|
1665
1776
|
declare const AreaSeriesGroupType = "areagroup";
|
|
1666
1777
|
/**
|
|
1778
|
+
* Area 시리즈그룹.<br/>
|
|
1779
|
+
* {@page op.SeriesOptions#type}은 'areagroup'이다.<br/>
|
|
1780
|
+
*
|
|
1667
1781
|
* @config chart.series[type=areagroup]
|
|
1668
1782
|
*/
|
|
1669
1783
|
interface AreaSeriesGroupOptions extends SeriesGroupOptions<AreaSeriesOptions> {
|
|
@@ -1698,17 +1812,23 @@ interface BarSeriesGroupBaseOptions<T extends BarSeriesBaseOptions> extends Clus
|
|
|
1698
1812
|
*/
|
|
1699
1813
|
baseValue?: number;
|
|
1700
1814
|
}
|
|
1815
|
+
/**
|
|
1816
|
+
* {@page config.series.dumbbell} 시리즈 등 데이터포인트 뷰에 표시되는 마커 옵션.<br/>
|
|
1817
|
+
*/
|
|
1701
1818
|
interface SeriesMarkerOptions extends ChartItemOptions {
|
|
1702
1819
|
/**
|
|
1703
1820
|
* 명시적으로 지정하지 않으면 typeIndex에 따라 Shapes 중 하나로 돌아가면서 설정된다.
|
|
1704
|
-
*
|
|
1705
1821
|
*/
|
|
1706
1822
|
shape?: Shape;
|
|
1707
1823
|
/**
|
|
1708
1824
|
* {@page shape}의 반지름.
|
|
1709
|
-
*
|
|
1710
1825
|
*/
|
|
1711
1826
|
radius?: number;
|
|
1827
|
+
/**
|
|
1828
|
+
* 데이터포인트 마커의 동적 스타일 콜백.<br/>
|
|
1829
|
+
* 이 콜백에서 리턴되는 스타일이 가장 우선적으로 적용된다.
|
|
1830
|
+
*/
|
|
1831
|
+
styleCallback?: PointStyleCallback;
|
|
1712
1832
|
}
|
|
1713
1833
|
interface MarkerSeriesOptions extends SeriesOptions {
|
|
1714
1834
|
/**
|
|
@@ -1794,11 +1914,15 @@ interface LineSeriesMarkerOptions extends SeriesMarkerOptions {
|
|
|
1794
1914
|
hintDistance?: number;
|
|
1795
1915
|
}
|
|
1796
1916
|
/**
|
|
1797
|
-
*
|
|
1798
|
-
*
|
|
1799
|
-
*
|
|
1917
|
+
* 라인 시리즈 계열의 설정 옵션 기반(base).<br/>
|
|
1918
|
+
* //포인트 label들은 PointItemPosition.HEAD, FOOT, INSIDE에 위치할 수 있다.
|
|
1919
|
+
* //기본값은 AUTO(HEAD)이다.
|
|
1920
|
+
* //pointLabel.align으로 수평 정렬을 설정할 수있다.
|
|
1800
1921
|
*/
|
|
1801
1922
|
interface LineSeriesBaseOptions extends SeriesOptions {
|
|
1923
|
+
/**
|
|
1924
|
+
* marker 옵션.<br/>
|
|
1925
|
+
*/
|
|
1802
1926
|
marker?: LineSeriesMarkerOptions;
|
|
1803
1927
|
/**
|
|
1804
1928
|
* null인 y값을 {@page baseValue}로 간주한다.
|
|
@@ -1807,32 +1931,46 @@ interface LineSeriesBaseOptions extends SeriesOptions {
|
|
|
1807
1931
|
*/
|
|
1808
1932
|
nullAsBase?: boolean;
|
|
1809
1933
|
}
|
|
1934
|
+
/**
|
|
1935
|
+
* {@page config.series.pie} 시리즈나 {@page config.seriesfunnel} 시리즈 설정 옵션들의 기반(base).<br/>
|
|
1936
|
+
*/
|
|
1810
1937
|
interface WidgetSeriesOptions extends SeriesOptions {
|
|
1811
1938
|
/**
|
|
1939
|
+
* body 영역을 기준으로 {@page config.series.pie 'pie'},
|
|
1940
|
+
* {@page config.series.funnel 'funnel'} 시리즈들의 수평 중심 위치<br/>
|
|
1941
|
+
* 숫자나 body 영역 너비에 대한 상대값을 '%'로 지정할 수 있다.
|
|
1942
|
+
*
|
|
1812
1943
|
* @default '50%'
|
|
1813
1944
|
*/
|
|
1814
1945
|
centerX?: PercentSize;
|
|
1815
1946
|
/**
|
|
1816
|
-
* @
|
|
1947
|
+
* body 영역을 기준으로 {@page config.series.pie 'pie'},
|
|
1948
|
+
* {@page config.series.funnel 'funnel'} 시리즈들의 수직 중심 위치<br/>
|
|
1949
|
+
* 숫자나 body 영역 높이에 대한 상대값을 '%'로 지정할 수 있다.
|
|
1950
|
+
|
|
1951
|
+
* @default '50%'
|
|
1817
1952
|
*/
|
|
1818
1953
|
centerY?: PercentSize;
|
|
1819
|
-
center?: PercentSize;
|
|
1820
1954
|
/**
|
|
1821
|
-
*
|
|
1955
|
+
* {@link centerX}, {@link centerY}를 지정하지 않으면 이 속성값을 사용한다.<br/>
|
|
1956
|
+
* 즉, 이 속성으로 두 속성값을 동시에 지정할 수 있다.
|
|
1822
1957
|
*/
|
|
1823
|
-
|
|
1958
|
+
center?: PercentSize;
|
|
1824
1959
|
/**
|
|
1825
|
-
*
|
|
1960
|
+
* true로 지정하면 {@page config.series.pie 'pie'},
|
|
1961
|
+
* {@page config.series.funnel 'funnel'} 시리즈들의 데이터포인트별 legend 항목을 표시한다.<br/>
|
|
1826
1962
|
*
|
|
1963
|
+
* @default false
|
|
1827
1964
|
*/
|
|
1828
1965
|
legendByPoint?: boolean;
|
|
1829
1966
|
}
|
|
1830
1967
|
declare const BarRangeSeriesType = "barrange";
|
|
1831
1968
|
/**
|
|
1832
|
-
* BarRange
|
|
1969
|
+
* BarRange 시리즈.<br/>
|
|
1970
|
+
* {@page op.SeriesOptions#type}은 'barrange'이다.<br/>
|
|
1833
1971
|
* 수평 또는 수직 막대로 여러 값들의 범위들을 **비교**하는 데 사용한다.
|
|
1834
1972
|
* 막대의 길이가 값의 범위를 표시한다.<br/>
|
|
1835
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [category](/config/config/xAxis/category)이다.<br
|
|
1973
|
+
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [category](/config/config/xAxis/category)이다.<br/>
|
|
1836
1974
|
*
|
|
1837
1975
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
1838
1976
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.<br/>
|
|
@@ -1879,11 +2017,13 @@ interface BarRangeSeriesOptions extends LowRangedSeriesOptions {
|
|
|
1879
2017
|
declare const BarSeriesType = "bar";
|
|
1880
2018
|
/**
|
|
1881
2019
|
* Bar 시리즈.<br/>
|
|
2020
|
+
* {@page op.SeriesOptions#type}은 'bar'이다.
|
|
2021
|
+
* 차트의 기본 시리즈 타입이므로 차트의 {@page config.#type 기본 시리즈 타입}이 명시적으로 설정되지 않으면 생략할 수 있다.<br/>
|
|
1882
2022
|
* 수평 또는 수직 막대로 여러 값들을 **비교**하는 데 사용한다.
|
|
1883
2023
|
* 막대의 길이가 y값을 나타낸다.<br/>
|
|
1884
|
-
*
|
|
2024
|
+
* x축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 {@page config.xAxis.category}이다.<br/>
|
|
1885
2025
|
*
|
|
1886
|
-
* {@page data}는 아래 형식들로 전달할 수
|
|
2026
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
1887
2027
|
*
|
|
1888
2028
|
* ###### 단일값 또는 단일값 배열
|
|
1889
2029
|
* |형식|설명|
|
|
@@ -1900,6 +2040,7 @@ declare const BarSeriesType = "bar";
|
|
|
1900
2040
|
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
1901
2041
|
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
1902
2042
|
*
|
|
2043
|
+
* @css 'rct-bar-series'
|
|
1903
2044
|
* @config chart.series[type=bar]
|
|
1904
2045
|
*/
|
|
1905
2046
|
interface BarSeriesOptions extends BarSeriesBaseOptions {
|
|
@@ -1919,6 +2060,9 @@ interface BarSeriesOptions extends BarSeriesBaseOptions {
|
|
|
1919
2060
|
}
|
|
1920
2061
|
declare const BarSeriesGroupType = "bargroup";
|
|
1921
2062
|
/**
|
|
2063
|
+
* Bar 시리즈그룹.<br/>
|
|
2064
|
+
* {@page op.SeriesOptions#type}은 'bargroup'이다.<br/>
|
|
2065
|
+
*
|
|
1922
2066
|
* @config chart.series[type=bargroup]
|
|
1923
2067
|
*/
|
|
1924
2068
|
interface BarSeriesGroupOptions extends BarSeriesGroupBaseOptions<BarSeriesOptions> {
|
|
@@ -1926,6 +2070,9 @@ interface BarSeriesGroupOptions extends BarSeriesGroupBaseOptions<BarSeriesOptio
|
|
|
1926
2070
|
}
|
|
1927
2071
|
declare const PieSeriesGroupType = "piegroup";
|
|
1928
2072
|
/**
|
|
2073
|
+
* Pie 시리즈그룹.<br/>
|
|
2074
|
+
* {@page op.SeriesOptions#type}은 'piegroup'이다.<br/>
|
|
2075
|
+
*
|
|
1929
2076
|
* @config chart.series[type=piegroup]
|
|
1930
2077
|
*/
|
|
1931
2078
|
interface PieSeriesGroupOptions extends SeriesGroupOptions<PieSeriesOptions> {
|
|
@@ -2026,10 +2173,10 @@ declare const _LineStepDirection: {
|
|
|
2026
2173
|
type LineStepDirection = typeof _LineStepDirection[keyof typeof _LineStepDirection];
|
|
2027
2174
|
/**
|
|
2028
2175
|
* Line 시리즈.<br/>
|
|
2029
|
-
*
|
|
2176
|
+
* {@page op.SeriesOptions#type}은 'line'이다.<br/>
|
|
2030
2177
|
* 주로 시간이나 다른 축 변수에 의한 데이터의 **변화** 또는 **경향**(pattern)을 보여주는 데 사용한다.
|
|
2031
2178
|
* 데이터포인트의 값에 해당하는 지점에 표시되는 데이터포인트 마커들을 연결한 선으로 표시되며,
|
|
2032
|
-
* 기본 x축은 [linear](/config/config/xAxis/linear)이다.<br
|
|
2179
|
+
* 기본 x축은 [linear](/config/config/xAxis/linear)이다.<br/>
|
|
2033
2180
|
*
|
|
2034
2181
|
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2035
2182
|
*
|
|
@@ -2089,8 +2236,27 @@ interface LineSeriesOptions extends LineSeriesBaseOptions {
|
|
|
2089
2236
|
}
|
|
2090
2237
|
declare const SplineSeriesType = "spline";
|
|
2091
2238
|
/**
|
|
2239
|
+
* Spline 시리즈.<br/>
|
|
2240
|
+
* {@page op.SeriesOptions#type}은 'spline'이다.<br/>
|
|
2092
2241
|
* {@page lineType} 설정을 무시하고 항상 'spline'으로 표시되는 것 외에는 {@page config.series.line line} 시리즈와 동일하다.<br/>
|
|
2093
2242
|
*
|
|
2243
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2244
|
+
*
|
|
2245
|
+
* ###### 단일값 또는 단일값 배열
|
|
2246
|
+
* |형식|설명|
|
|
2247
|
+
* |---|---|
|
|
2248
|
+
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2249
|
+
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
2250
|
+
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2251
|
+
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
2252
|
+
*
|
|
2253
|
+
* ###### json 배열
|
|
2254
|
+
* |Series 속성|설명 |
|
|
2255
|
+
* |---|---|
|
|
2256
|
+
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
2257
|
+
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
2258
|
+
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
2259
|
+
*
|
|
2094
2260
|
* @config chart.series[type=spline]
|
|
2095
2261
|
*/
|
|
2096
2262
|
interface SplineSeriesOptions extends LineSeriesOptions {
|
|
@@ -2104,6 +2270,7 @@ interface SplineSeriesOptions extends LineSeriesOptions {
|
|
|
2104
2270
|
}
|
|
2105
2271
|
/**
|
|
2106
2272
|
* Area 시리즈.<br/>
|
|
2273
|
+
* {@page op.SeriesOptions#type}은 'area'이다.<br/>
|
|
2107
2274
|
* 대부분 {@page config.series.line} 시리즈와 동일하고 라인 아래 부분을 별도의 색상으로 채운다.
|
|
2108
2275
|
*
|
|
2109
2276
|
* *{@page data}는 아래 형식들로 전달할 수 있다.
|
|
@@ -2141,10 +2308,11 @@ interface AreaSeriesOptions extends LineSeriesOptions {
|
|
|
2141
2308
|
declare const BellCurveSeriesType = "bellcurve";
|
|
2142
2309
|
/**
|
|
2143
2310
|
* BellCurve 시리즈.<br/>
|
|
2311
|
+
* {@page op.SeriesOptions#type}은 'bellcurve'이다.<br/>
|
|
2144
2312
|
* {@page source} 시리즈 데이터포인트들의 값을 바탕으로
|
|
2145
|
-
* {@page https://ko.wikipedia.org/wiki/정규_분포 정규분포} 곡선을 표시한다.<br
|
|
2313
|
+
* {@page https://ko.wikipedia.org/wiki/정규_분포 정규분포} 곡선을 표시한다.<br/>
|
|
2146
2314
|
*
|
|
2147
|
-
* {@page data}는 아래 형식들로 전달할 수
|
|
2315
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2148
2316
|
*
|
|
2149
2317
|
* ###### 단일값 또는 단일값 배열
|
|
2150
2318
|
* |형식|설명|
|
|
@@ -2189,12 +2357,12 @@ interface BellCurveSeriesOptions extends AreaSeriesOptions {
|
|
|
2189
2357
|
declare const BoxPlotSeriesType = "boxplot";
|
|
2190
2358
|
/**
|
|
2191
2359
|
* {@page https://en.wikipedia.org/wiki/Box_plot BoxPlot} 시리즈.<br/>
|
|
2192
|
-
*
|
|
2360
|
+
* {@page op.SeriesOptions#type}은 'boxplot'이다.<br/>
|
|
2361
|
+
* 주요 값들의 대략적인 범위 및 분포를 표시하는 시리즈.<br/>
|
|
2193
2362
|
*
|
|
2194
2363
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2195
2364
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
2196
2365
|
*
|
|
2197
|
-
* <br/>
|
|
2198
2366
|
* ###### 단일값 또는 단일값 배열
|
|
2199
2367
|
* |형식|설명|
|
|
2200
2368
|
* |---|---|
|
|
@@ -2265,9 +2433,10 @@ type BubbleSizeMode = typeof _BubbleSizeMode[keyof typeof _BubbleSizeMode];
|
|
|
2265
2433
|
declare const BubbleSeriesType = "bubble";
|
|
2266
2434
|
/**
|
|
2267
2435
|
* 버블 시리즈.<br/>
|
|
2436
|
+
* {@page op.SeriesOptions#type}은 'bubble'이다.<br/>
|
|
2268
2437
|
* x, y로 지정되는 위치와 z로 지정되는 크기 사이의 관계를 표시한다.
|
|
2269
2438
|
* 주로 원의 크기가 데이터포인트의 중요도를 나타낸다.<br/>
|
|
2270
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [linear](/config/config/xAxis/linear)이다.<br
|
|
2439
|
+
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [linear](/config/config/xAxis/linear)이다.<br/>
|
|
2271
2440
|
*
|
|
2272
2441
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2273
2442
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
@@ -2319,18 +2488,20 @@ interface BubbleSeriesOptions extends MarkerSeriesOptions {
|
|
|
2319
2488
|
}
|
|
2320
2489
|
declare const BumpSeriesType = "bump";
|
|
2321
2490
|
/**
|
|
2322
|
-
*
|
|
2323
|
-
*
|
|
2324
|
-
* 포함된 시리즈들의
|
|
2491
|
+
* Bump 시리즈그룹.<br/>
|
|
2492
|
+
* {@page op.SeriesOptions#type}은 'bump'이다.<br/>
|
|
2493
|
+
* 포함된 시리즈들의 y값들을 비교해서 순위대로 시리즈를 표시한다.
|
|
2494
|
+
* 즉, 포함된 시리즈들의 x값이 동일한 데이터포인트들의 y값들을 비교해서 각자의 순위를 yValue로 재설정하여 표시한다.
|
|
2325
2495
|
*
|
|
2326
2496
|
* @config chart.series[type=bump]
|
|
2327
2497
|
*/
|
|
2328
|
-
interface BumpSeriesGroupOptions extends SeriesGroupOptions {
|
|
2498
|
+
interface BumpSeriesGroupOptions extends SeriesGroupOptions<LineSeriesMarkerOptions> {
|
|
2329
2499
|
type?: typeof BumpSeriesType;
|
|
2330
2500
|
}
|
|
2331
2501
|
/**
|
|
2332
2502
|
* Candlestick 시리즈.<br/>
|
|
2333
|
-
*
|
|
2503
|
+
* {@page op.SeriesOptions#type}은 'candlestick'이다.<br/>
|
|
2504
|
+
* 주식을 비롯한 유가증권과 파생상품, 환율 등의 가격 움직임을 보여주는 시리즈.<br/>
|
|
2334
2505
|
*
|
|
2335
2506
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2336
2507
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.<br/>
|
|
@@ -2404,34 +2575,38 @@ interface CircleBarPointLabelOptions extends DataPointLabelOptions {
|
|
|
2404
2575
|
declare const CircleBarSeriesType = "circlebar";
|
|
2405
2576
|
/**
|
|
2406
2577
|
* CirleBar 시리즈.<br/>
|
|
2578
|
+
* {@page op.SeriesOptions#type}은 'circlebar'이다.<br/>
|
|
2407
2579
|
* 직사각형 대신 원형 막대로 여러 값들을 **비교**하는 데 사용한다.
|
|
2408
|
-
* 원 지름이 y값을
|
|
2409
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은
|
|
2580
|
+
* 원 지름이 y값을 나타낸다.
|
|
2581
|
+
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 {@page config.xAxis.category 카테고리축}이다.<br/>
|
|
2410
2582
|
*
|
|
2411
|
-
*{@page data}는 아래 형식들로 전달할 수
|
|
2412
|
-
*
|
|
2413
|
-
* ###### 단일값 또는 단일값 배열
|
|
2414
|
-
* |형식|설명|
|
|
2415
|
-
* |---|---|
|
|
2416
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2417
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
2418
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2419
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
2420
|
-
*
|
|
2421
|
-
* ###### json 배열
|
|
2422
|
-
* |Series 속성|설명 |
|
|
2423
|
-
* |---|---|
|
|
2424
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
2425
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
2426
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
2427
|
-
*
|
|
2428
|
-
* @config chart.series[type=circlebar]
|
|
2583
|
+
*{@page data}는 아래 형식들로 전달할 수 있다.
|
|
2584
|
+
*
|
|
2585
|
+
* ###### 단일값 또는 단일값 배열
|
|
2586
|
+
* |형식|설명|
|
|
2587
|
+
* |---|---|
|
|
2588
|
+
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2589
|
+
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
2590
|
+
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2591
|
+
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
2592
|
+
*
|
|
2593
|
+
* ###### json 배열
|
|
2594
|
+
* |Series 속성|설명 |
|
|
2595
|
+
* |---|---|
|
|
2596
|
+
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
2597
|
+
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
2598
|
+
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
2599
|
+
*
|
|
2600
|
+
* @config chart.series[type=circlebar]
|
|
2429
2601
|
*/
|
|
2430
2602
|
interface CircleBarSeriesOptions extends BarSeriesBaseOptions {
|
|
2431
2603
|
type?: typeof CircleBarSeriesType;
|
|
2432
2604
|
}
|
|
2433
2605
|
declare const CircleBarSeriesGroupType = "circlebargroup";
|
|
2434
2606
|
/**
|
|
2607
|
+
* CircleBar 시리즈그룹.<br/>
|
|
2608
|
+
* {@page op.SeriesOptions#type}은 'circlebargroup'이다.<br/>
|
|
2609
|
+
*
|
|
2435
2610
|
* @config chart.series[type=circlebargroup]
|
|
2436
2611
|
*/
|
|
2437
2612
|
interface CircleBarSeriesGroupOptions extends BarSeriesGroupBaseOptions<CircleBarSeriesOptions> {
|
|
@@ -2442,20 +2617,21 @@ interface DumbbellSeriesMarkerOptions extends SeriesMarkerOptions {
|
|
|
2442
2617
|
* @override
|
|
2443
2618
|
* @default 4
|
|
2444
2619
|
*/
|
|
2445
|
-
radius
|
|
2620
|
+
radius?: number;
|
|
2446
2621
|
/**
|
|
2447
2622
|
* @override
|
|
2448
2623
|
* @default 'circle'
|
|
2449
2624
|
*/
|
|
2450
|
-
shape
|
|
2625
|
+
shape?: Shape;
|
|
2451
2626
|
}
|
|
2452
2627
|
declare const DumbbellSeriesType = "dumbbell";
|
|
2453
2628
|
/**
|
|
2454
2629
|
* Dumbbell 시리즈.<br/>
|
|
2630
|
+
* {@page op.SeriesOptions#type}은 'dumbbell'이다.<br/>
|
|
2455
2631
|
* Lollipop 시리즈의 변종으로 시간에 따른 두 값의 변화를 표시하는 등,
|
|
2456
2632
|
* 두 그룹 간의 차이나 관계를 표시하는 데 사용될 수 있다.
|
|
2457
2633
|
* 예를 들어, 두 기간 동안의 성장률, 두 그룹 간의 판매량 차이 변화 등을 보여 주는데 유용하다.<br/>
|
|
2458
|
-
* 양 끝 두 개의 원이나 점 등을 선분으로 연결하여 표시한다.<br
|
|
2634
|
+
* 양 끝 두 개의 원이나 점 등을 선분으로 연결하여 표시한다.<br/>
|
|
2459
2635
|
*
|
|
2460
2636
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2461
2637
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
@@ -2479,19 +2655,21 @@ declare const DumbbellSeriesType = "dumbbell";
|
|
|
2479
2655
|
*
|
|
2480
2656
|
* @config chart.series[type=dumbbell]
|
|
2481
2657
|
*/
|
|
2482
|
-
interface DumbbellSeriesOptions extends
|
|
2658
|
+
interface DumbbellSeriesOptions extends LowRangedSeriesOptions {
|
|
2483
2659
|
type?: typeof DumbbellSeriesType;
|
|
2484
|
-
|
|
2485
|
-
|
|
2660
|
+
marker?: DumbbellSeriesMarkerOptions;
|
|
2661
|
+
lowMarker?: DumbbellSeriesMarkerOptions;
|
|
2486
2662
|
}
|
|
2487
2663
|
declare const EqualizerSeriesType = "equalizer";
|
|
2488
2664
|
/**
|
|
2489
|
-
*
|
|
2665
|
+
* Eqaulizer 시리즈.<br/>
|
|
2666
|
+
* {@page op.SeriesOptions#type}은 'equalizer'이다.<br/>
|
|
2667
|
+
* Bar를 여러 개의 segment로 나눠 표시한다.
|
|
2490
2668
|
* 수평 또는 수직 막대로 여러 값들을 **비교**하는 데 사용한다.
|
|
2491
2669
|
* 막대의 길이가 y값을 나타낸다.<br/>
|
|
2492
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은
|
|
2670
|
+
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 {@page config.xAxis.category 카테고리축}이다.<br/>
|
|
2493
2671
|
*
|
|
2494
|
-
* {@page data}는 아래 형식들로 전달할 수
|
|
2672
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2495
2673
|
*
|
|
2496
2674
|
* ###### 단일값 또는 단일값 배열
|
|
2497
2675
|
* |형식|설명|
|
|
@@ -2525,7 +2703,8 @@ interface LowRangedSeriesOptions extends RangedSeriesOptions {
|
|
|
2525
2703
|
declare const ErrorBarSeriesType = "errorbar";
|
|
2526
2704
|
/**
|
|
2527
2705
|
* ErrorBar 시리즈.<br/>
|
|
2528
|
-
*
|
|
2706
|
+
* {@page op.SeriesOptions#type}은 'errorbar'이다.<br/>
|
|
2707
|
+
* 오류(차)를 나타내는 막대를 표시한다.<br/>
|
|
2529
2708
|
*
|
|
2530
2709
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2531
2710
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
@@ -2564,6 +2743,28 @@ interface ErrorBarSeriesOptions extends LowRangedSeriesOptions {
|
|
|
2564
2743
|
}
|
|
2565
2744
|
declare const FunnelSeriesType = "funnel";
|
|
2566
2745
|
/**
|
|
2746
|
+
* Funnel 시리즈.<br/>
|
|
2747
|
+
* {@page op.SeriesOptions#type}은 'funnel'이다.<br/>
|
|
2748
|
+
*
|
|
2749
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2750
|
+
*
|
|
2751
|
+
* ###### 단일값 또는 단일값 배열
|
|
2752
|
+
* |형식|설명|
|
|
2753
|
+
* |---|---|
|
|
2754
|
+
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2755
|
+
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
2756
|
+
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2757
|
+
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
2758
|
+
*
|
|
2759
|
+
* ###### json 배열
|
|
2760
|
+
* |Series 속성|설명 |
|
|
2761
|
+
* |---|---|
|
|
2762
|
+
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
2763
|
+
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
2764
|
+
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
2765
|
+
*
|
|
2766
|
+
* // TODO #fiddle series/funnel-series Funnel Series
|
|
2767
|
+
* @css 'rct-funnel-series'
|
|
2567
2768
|
* @config chart.series[type=funnel]
|
|
2568
2769
|
*/
|
|
2569
2770
|
interface FunnelSeriesOptions extends WidgetSeriesOptions {
|
|
@@ -2597,8 +2798,9 @@ interface FunnelSeriesOptions extends WidgetSeriesOptions {
|
|
|
2597
2798
|
declare const HeatmapSeriesType = "heatmap";
|
|
2598
2799
|
/**
|
|
2599
2800
|
* Heatmap 시리즈.<br/>
|
|
2801
|
+
* {@page op.SeriesOptions#type}은 'heatmap'이다.<br/>
|
|
2600
2802
|
* 숫자 대신 색상으로 값들을 table에 표시한다.<br/>
|
|
2601
|
-
* 차트나 split pane에 하나의 heatmap만 존재할 수 있다.<br
|
|
2803
|
+
* 차트나 split pane에 하나의 heatmap만 존재할 수 있다.<br/>
|
|
2602
2804
|
*
|
|
2603
2805
|
* //[셀 색상]
|
|
2604
2806
|
* //1. color-axis가 연결되면 거기에서 색을 가져온다.
|
|
@@ -2646,6 +2848,27 @@ declare const _BinsNumber: {
|
|
|
2646
2848
|
type BinsNumber = typeof _BinsNumber[keyof typeof _BinsNumber];
|
|
2647
2849
|
declare const HistogramSeriesType = "histogram";
|
|
2648
2850
|
/**
|
|
2851
|
+
* Histogram 시리즈.<br/>
|
|
2852
|
+
* {@page op.SeriesOptions#type}은 'histogram'이다.<br/>
|
|
2853
|
+
*
|
|
2854
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2855
|
+
*
|
|
2856
|
+
* ###### 단일값 또는 단일값 배열
|
|
2857
|
+
* |형식|설명|
|
|
2858
|
+
* |---|---|
|
|
2859
|
+
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2860
|
+
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
2861
|
+
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
2862
|
+
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
2863
|
+
*
|
|
2864
|
+
* ###### json 배열
|
|
2865
|
+
* |Series 속성|설명 |
|
|
2866
|
+
* |---|---|
|
|
2867
|
+
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
2868
|
+
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
2869
|
+
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
2870
|
+
*
|
|
2871
|
+
* @css 'rct-histogram-series'
|
|
2649
2872
|
* @config chart.series[type=histogram]
|
|
2650
2873
|
*/
|
|
2651
2874
|
interface HistogramSeriesOptions extends SeriesOptions {
|
|
@@ -2665,8 +2888,8 @@ interface HistogramSeriesOptions extends SeriesOptions {
|
|
|
2665
2888
|
declare const ArearangeSeriesType = "arearange";
|
|
2666
2889
|
/**
|
|
2667
2890
|
* AreaRange 시리즈.<br/>
|
|
2891
|
+
* {@page op.SeriesOptions#type}은 'arearange'이다.<br/>
|
|
2668
2892
|
*
|
|
2669
|
-
* <br/>
|
|
2670
2893
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2671
2894
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
2672
2895
|
*
|
|
@@ -2734,11 +2957,12 @@ interface LollipopSeriesMarkerOptions extends SeriesMarkerOptions {
|
|
|
2734
2957
|
declare const LollipopSeriesType = "lollipop";
|
|
2735
2958
|
/**
|
|
2736
2959
|
* Lollipop(막대 사탕) 시리즈.<br/>
|
|
2960
|
+
* {@page op.SeriesOptions#type}은 'lollipop'이다.<br/>
|
|
2737
2961
|
* 기능적으로는 bar 시리즈와 동일하지만, 대부분의 데이터포인트 값들이 최대값에 가까운 곳에 몰려 있는 경우에
|
|
2738
2962
|
* 활용 가능하다. bar 시리즈 표현하면 시각적으로 구분하기 쉽지 않기 때문이다.
|
|
2739
|
-
* 특히, bar가 겹치더라도 데이터포인트들이 쉽게 구분된다.<br
|
|
2963
|
+
* 특히, bar가 겹치더라도 데이터포인트들이 쉽게 구분된다.<br/>
|
|
2740
2964
|
*
|
|
2741
|
-
* {@page data}는 아래 형식들로 전달할 수
|
|
2965
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2742
2966
|
*
|
|
2743
2967
|
* ###### 단일값 또는 단일값 배열
|
|
2744
2968
|
* |형식|설명|
|
|
@@ -2764,11 +2988,12 @@ interface LollipopSeriesOptions extends BasedSeriesOptions {
|
|
|
2764
2988
|
declare const OhlcSeriesType = "ohlc";
|
|
2765
2989
|
/**
|
|
2766
2990
|
* Ohlc 시리즈.<br/>
|
|
2991
|
+
* {@page op.SeriesOptions#type}은 'ohlc'이다.<br/>
|
|
2767
2992
|
* 시가-고가-저가-종가 차트.
|
|
2768
|
-
* 시간 경과에 따른 가격의 움직임을 설명하는 데 사용된다.<br
|
|
2993
|
+
* 시간 경과에 따른 가격의 움직임을 설명하는 데 사용된다.<br/>
|
|
2769
2994
|
*
|
|
2770
|
-
* {@page data}는 아래 형식들로 전달할 수
|
|
2771
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이
|
|
2995
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2996
|
+
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.<br/>
|
|
2772
2997
|
* [주의] high와 y값은 동일한 값이다.
|
|
2773
2998
|
*
|
|
2774
2999
|
* ###### 단일값 또는 단일값 배열
|
|
@@ -2798,8 +3023,26 @@ interface OhlcSeriesOptions extends CandlestickSeriesOptions {
|
|
|
2798
3023
|
declare const ParetoSeriesType = "pareto";
|
|
2799
3024
|
/**
|
|
2800
3025
|
* Pareto 시리즈<br/>
|
|
3026
|
+
* {@page op.SeriesOptions#type}은 'pareto'이다.<br/>
|
|
2801
3027
|
* 참조하는 원본 시리즈의 누적 비율을 표시한다.<br/>
|
|
2802
3028
|
* {@page source}로 지정된 시리즈의 데이터포인트 값들로 부터 누적 포인트들을 계산해서 표시한다.
|
|
3029
|
+
*
|
|
3030
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
3031
|
+
*
|
|
3032
|
+
* ###### 단일값 또는 단일값 배열
|
|
3033
|
+
* |형식|설명|
|
|
3034
|
+
* |---|---|
|
|
3035
|
+
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
3036
|
+
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
3037
|
+
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
3038
|
+
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
3039
|
+
*
|
|
3040
|
+
* ###### json 배열
|
|
3041
|
+
* |Series 속성|설명 |
|
|
3042
|
+
* |---|---|
|
|
3043
|
+
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
3044
|
+
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
3045
|
+
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
2803
3046
|
*
|
|
2804
3047
|
* @config chart.series[type=pareto]
|
|
2805
3048
|
*/
|
|
@@ -2820,37 +3063,41 @@ interface ParetoSeriesOptions extends LineSeriesBaseOptions {
|
|
|
2820
3063
|
curved?: boolean;
|
|
2821
3064
|
}
|
|
2822
3065
|
/**
|
|
2823
|
-
*
|
|
2824
|
-
*
|
|
2825
|
-
*
|
|
2826
|
-
*
|
|
3066
|
+
* {@page config.sereies.pie 'pie'} 시리즈와 같은 원형 시리즈에 대한 설정 옵션<br/>
|
|
3067
|
+
* 직교 좌표계가 표시된 경우, {@page config.body body} 영역을 기준으로
|
|
3068
|
+
* {@link size}, {@link centerX}, {@link centerY}가 적용된다.<br/>
|
|
3069
|
+
* //TODO: 현재 PieSeris만 계승하고 있다. 추후 PieSeries에 합칠 것.
|
|
2827
3070
|
*/
|
|
2828
3071
|
interface RadialSeriesOptions extends WidgetSeriesOptions {
|
|
2829
3072
|
/**
|
|
2830
|
-
* 시리즈 원호의
|
|
2831
|
-
* 픽셀 크기나
|
|
3073
|
+
* 시리즈 원호의 반지름.<br/>
|
|
3074
|
+
* 픽셀 크기나 {@page config.body body} 영역 크기에 대한 상대적 크기로 지정할 수 있다.
|
|
2832
3075
|
* '50%'로 지정하면 plot 영역의 width나 height중 작은 크기와 동일한 반지름으로 표시된다.
|
|
2833
3076
|
*
|
|
3077
|
+
* @default '40%
|
|
2834
3078
|
*/
|
|
2835
3079
|
radius?: PercentSize;
|
|
2836
3080
|
/**
|
|
2837
|
-
* 시리즈 원호 시작
|
|
3081
|
+
* 시리즈 원호 시작 각도.<br/>
|
|
2838
3082
|
* 지정하지 않거나 잘못된 값이면 0으로 계산된다.
|
|
2839
3083
|
* 0은 시계의 12시 위치다.
|
|
2840
3084
|
*
|
|
3085
|
+
* @default 0
|
|
2841
3086
|
*/
|
|
2842
3087
|
startAngle?: number;
|
|
2843
3088
|
/**
|
|
2844
|
-
* 시리즈 원호 전체
|
|
3089
|
+
* 시리즈 원호 전체 각도.<br/>
|
|
2845
3090
|
* 0 ~ 360 사이의 값으로 지정해야 한다.
|
|
2846
3091
|
* 범위를 벗어난 값은 범위 안으로 조정된다.
|
|
2847
3092
|
* 지정하지 않거나 잘못된 값이면 360으로 계산된다.
|
|
2848
3093
|
*
|
|
3094
|
+
* @default 360
|
|
2849
3095
|
*/
|
|
2850
3096
|
totalAngle?: number;
|
|
2851
3097
|
/**
|
|
2852
|
-
* true면 시계 방향으로
|
|
3098
|
+
* true면 시계 방향으로 회전한다.<br/>
|
|
2853
3099
|
*
|
|
3100
|
+
* @default true
|
|
2854
3101
|
*/
|
|
2855
3102
|
clockwise?: boolean;
|
|
2856
3103
|
}
|
|
@@ -2866,9 +3113,10 @@ interface PieSeriesLabelOptions extends DataPointLabelOptions {
|
|
|
2866
3113
|
declare const PieSeriesType = "pie";
|
|
2867
3114
|
/**
|
|
2868
3115
|
* Pie 시리즈<br/>
|
|
3116
|
+
* {@page op.SeriesOptions#type}은 'pie'이다.<br/>
|
|
2869
3117
|
* 모든 데이터포인트 값들의 합에 대한 데이터포인트의 상대적 값 비율을 원호로 표시한다.<br/>
|
|
2870
3118
|
*
|
|
2871
|
-
* {@page data}는 아래 형식들로 전달할 수
|
|
3119
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2872
3120
|
*
|
|
2873
3121
|
* ###### 단일값 또는 단일값 배열
|
|
2874
3122
|
* |형식|설명|
|
|
@@ -2939,9 +3187,10 @@ interface PieSeriesOptions extends RadialSeriesOptions {
|
|
|
2939
3187
|
declare const ScatterSeriesType = "scatter";
|
|
2940
3188
|
/**
|
|
2941
3189
|
* Scatter 시리즈.<br/>
|
|
2942
|
-
*
|
|
3190
|
+
* {@page op.SeriesOptions#type}은 'scatter'이다.<br/>
|
|
3191
|
+
* 데이터포인트를 shape로 표시되는 점 하나로 표시한다.<br/>
|
|
2943
3192
|
*
|
|
2944
|
-
* {@page data}는 아래 형식들로 전달할 수
|
|
3193
|
+
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2945
3194
|
*
|
|
2946
3195
|
* ###### 단일값 또는 단일값 배열
|
|
2947
3196
|
* |형식|설명|
|
|
@@ -3028,7 +3277,8 @@ declare const _TreemapAlgorithm: {
|
|
|
3028
3277
|
type TreemapAlgorithm = typeof _TreemapAlgorithm[keyof typeof _TreemapAlgorithm];
|
|
3029
3278
|
declare const TreemapSeriesType = "treemap";
|
|
3030
3279
|
/**
|
|
3031
|
-
*
|
|
3280
|
+
* Treemap 시리즈.<br/>
|
|
3281
|
+
* {@page op.SeriesOptions#type}은 'treemap'이다.<br/>
|
|
3032
3282
|
* 차트나 split pane에 하나의 treemap만 존재할 수 있다.<br/>
|
|
3033
3283
|
*
|
|
3034
3284
|
* //1. 본래 하드 드라이브의 파일 분포 상태를 표시하기 위해 고안됨.
|
|
@@ -3155,7 +3405,8 @@ type ArrowHead = typeof _ArrowHead[keyof typeof _ArrowHead];
|
|
|
3155
3405
|
declare const VectorSeriesType = "vector";
|
|
3156
3406
|
/**
|
|
3157
3407
|
* Vector 시리즈.<br/>
|
|
3158
|
-
*
|
|
3408
|
+
* {@page op.SeriesOptions#type}은 'vector'이다.<br/>
|
|
3409
|
+
* x, y로 지정된 데이터포인트에 길이과 방향을 갖는 화살표를 표시한다.<br/>
|
|
3159
3410
|
*
|
|
3160
3411
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
3161
3412
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
@@ -3224,7 +3475,8 @@ interface RangedSeriesOptions extends ClusterableSeriesOptions {
|
|
|
3224
3475
|
declare const WaterfallSeriesType = "waterfall";
|
|
3225
3476
|
/**
|
|
3226
3477
|
* 폭포(Waterfall) 시리즈.<br/>
|
|
3227
|
-
*
|
|
3478
|
+
* {@page op.SeriesOptions#type}은 'waterfall'이다.<br/>
|
|
3479
|
+
* 순서대로 추가되는 증가/감소 값들의 누적 상태를 표시하는 데 사용된다.<br/>
|
|
3228
3480
|
*
|
|
3229
3481
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
3230
3482
|
*
|
|
@@ -3277,10 +3529,23 @@ type LineSeriesOptionsType = typeof LineSeriesTypes[keyof typeof LineSeriesTypes
|
|
|
3277
3529
|
type SeriesOptionsType = SeriesOptions | SeriesGroupOptions | BarRangeSeriesOptions | BarSeriesOptions | BarSeriesGroupOptions | BellCurveSeriesOptions | BoxPlotSeriesOptions | BubbleSeriesOptions | BumpSeriesGroupOptions | CandlestickSeriesOptions | CircleBarSeriesOptions | DumbbellSeriesOptions | EqualizerSeriesOptions | ErrorBarSeriesOptions | FunnelSeriesOptions | HeatmapSeriesOptions | HistogramSeriesOptions | AreaRangeSeriesOptions | AreaSeriesOptions | LineSeriesOptions | LineSeriesGroupOptions | SplineSeriesOptions | LollipopSeriesOptions | OhlcSeriesOptions | ParetoSeriesOptions | PieSeriesOptions | PieSeriesGroupOptions | ScatterSeriesOptions | TreemapSeriesOptions | VectorSeriesOptions | WaterfallSeriesOptions;
|
|
3278
3530
|
|
|
3279
3531
|
/**
|
|
3280
|
-
* 차트 제목(title) 설정
|
|
3532
|
+
* 차트 제목(title) 설정 옵션.<br/>
|
|
3281
3533
|
* 기본적으로 차트 중앙 상단에 표시되지만 {@page align}, {@page verticalAlign} 등으로 위치를 변경할 수 있다.<br/>
|
|
3534
|
+
* 별도 설정이 없으면 'Title' 문자열이 표시된다. 또, {@page config.subtitle 부제목}을 별도로 표시할 수 있다.
|
|
3535
|
+
*
|
|
3536
|
+
* ```js
|
|
3537
|
+
* const config = {
|
|
3538
|
+
* title: {
|
|
3539
|
+
* text: '2024 년간 자료 현황',
|
|
3540
|
+
* align: 'left',
|
|
3541
|
+
* ...
|
|
3542
|
+
* },
|
|
3543
|
+
* };
|
|
3544
|
+
* ```
|
|
3545
|
+
*
|
|
3282
3546
|
* {@page guide.title 타이틀 개요} 페이지를 참조한다.
|
|
3283
3547
|
*
|
|
3548
|
+
* @css 'rct-title'
|
|
3284
3549
|
* @config chart.title
|
|
3285
3550
|
*/
|
|
3286
3551
|
interface TitleOptions extends ChartItemOptions {
|
|
@@ -3365,10 +3630,23 @@ declare const _SubtitlePosition: {
|
|
|
3365
3630
|
};
|
|
3366
3631
|
type SubtitlePosition = typeof _SubtitlePosition[keyof typeof _SubtitlePosition];
|
|
3367
3632
|
/**
|
|
3368
|
-
* 차트 부제목
|
|
3369
|
-
* 기본적으로
|
|
3370
|
-
*
|
|
3633
|
+
* 차트 제목 주위에 표시되는 부제목 옵션.<br/>
|
|
3634
|
+
* 기본적으로 주제목(title)의 설정을 따르고, 몇가지 속성들이 추가된다.<br/>
|
|
3635
|
+
* 별도 설정이 없으면 표시되지 않는다.
|
|
3371
3636
|
*
|
|
3637
|
+
* ```js
|
|
3638
|
+
* const config = {
|
|
3639
|
+
* title: {},
|
|
3640
|
+
* subtitle: {
|
|
3641
|
+
* visible: true,
|
|
3642
|
+
* text: '출처: UN Data, 2020',
|
|
3643
|
+
* },
|
|
3644
|
+
* };
|
|
3645
|
+
* ```
|
|
3646
|
+
*
|
|
3647
|
+
* {@page guide.title 제목 개요} 페이지를 참조한다.
|
|
3648
|
+
*
|
|
3649
|
+
* @css 'rct-subtitle'
|
|
3372
3650
|
* @config chart.subtitle
|
|
3373
3651
|
*/
|
|
3374
3652
|
interface SubtitleOptions extends TitleOptions {
|
|
@@ -3396,11 +3674,22 @@ interface SubtitleOptions extends TitleOptions {
|
|
|
3396
3674
|
text?: string;
|
|
3397
3675
|
}
|
|
3398
3676
|
/**
|
|
3677
|
+
* 차트 전체에 영향을 미치는 옵션들.<br/>
|
|
3678
|
+
*
|
|
3679
|
+
* ```js
|
|
3680
|
+
* const config = {
|
|
3681
|
+
* options: {
|
|
3682
|
+
* theme: 'dark',
|
|
3683
|
+
* },
|
|
3684
|
+
* };
|
|
3685
|
+
* ```
|
|
3686
|
+
*
|
|
3399
3687
|
* @config chart.options
|
|
3400
3688
|
*/
|
|
3401
3689
|
interface ChartOptionsOptions extends ChartItemOptions {
|
|
3402
3690
|
/**
|
|
3403
|
-
* theme
|
|
3691
|
+
* theme 이름.<br/>
|
|
3692
|
+
* **realreport-style.css**에 기본 theme이 정의되어 있다.
|
|
3404
3693
|
*/
|
|
3405
3694
|
theme?: string;
|
|
3406
3695
|
/**
|
|
@@ -3424,6 +3713,27 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
3424
3713
|
* @default true
|
|
3425
3714
|
*/
|
|
3426
3715
|
animatable?: boolean;
|
|
3716
|
+
/**
|
|
3717
|
+
* javascript에서 숫자 단위로 전달되는 날짜값은 기본적으로 local이 아니라 new Date 기준이다.
|
|
3718
|
+
* 그러므로 보통 숫자로 지정된 날짜값은 utc 값이다.
|
|
3719
|
+
* local 기준으로 표시하기 위해, 숫자로 지정된 날짜값에 더해야 하는 시간을 분단위로 지정한다.<br/>
|
|
3720
|
+
* ex) 한국은 -9 * 60
|
|
3721
|
+
*
|
|
3722
|
+
* 명시적으로 지정하지 않으면 현재 위치에 따른 값으로 자동 설정된다.<br/>
|
|
3723
|
+
* [주의] 차트 로딩 후 변경할 수 없다.
|
|
3724
|
+
*
|
|
3725
|
+
* @default 지역 시간의 timezone offset.
|
|
3726
|
+
*/
|
|
3727
|
+
timeOffset?: number;
|
|
3728
|
+
/**
|
|
3729
|
+
* 한 주의 시작 요일.<br/>
|
|
3730
|
+
* ex) 0: 일요일, 1: 월요일
|
|
3731
|
+
*
|
|
3732
|
+
* [주의] 차트 로딩 후 변경할 수 없다.
|
|
3733
|
+
*
|
|
3734
|
+
* @default 0
|
|
3735
|
+
*/
|
|
3736
|
+
startOfWeek?: number;
|
|
3427
3737
|
/**
|
|
3428
3738
|
* x축 값이 설정되지 않은 시리즈 첫번째 데이터 point에 설정되는 x값.<br/>
|
|
3429
3739
|
* 이 후에는 {@page xStep}씩 증가시키면서 설정한다.
|
|
@@ -3478,53 +3788,65 @@ interface ZoomButtonOptions extends ChartItemOptions {
|
|
|
3478
3788
|
visible?: boolean;
|
|
3479
3789
|
}
|
|
3480
3790
|
/**
|
|
3481
|
-
* 시리즈
|
|
3482
|
-
*
|
|
3791
|
+
* {@page config.base.series 시리즈}나 {@page config.base.gauge 게이지}들이 그려지는 영역 설정 옵션.<br/>
|
|
3792
|
+
*
|
|
3793
|
+
* ```js
|
|
3794
|
+
* const chart = {
|
|
3795
|
+
* body: {
|
|
3796
|
+
* radius: '40%',
|
|
3797
|
+
* circular: false,
|
|
3798
|
+
* },
|
|
3799
|
+
* };
|
|
3800
|
+
* ```
|
|
3483
3801
|
*
|
|
3802
|
+
* @css 'rct-body'
|
|
3484
3803
|
* @config chart.body
|
|
3485
3804
|
*/
|
|
3486
3805
|
interface BodyOptions extends ChartItemOptions {
|
|
3487
3806
|
/**
|
|
3488
|
-
*
|
|
3489
|
-
* @default undefined
|
|
3490
|
-
*/
|
|
3491
|
-
visible?: boolean;
|
|
3492
|
-
/**
|
|
3493
|
-
* 차트가 극좌표(polar)일 때 반지름.
|
|
3807
|
+
* 차트가 극좌표(polar)일 때 반지름.<br/>
|
|
3494
3808
|
*
|
|
3809
|
+
* @default '45%'
|
|
3495
3810
|
*/
|
|
3496
3811
|
radius?: PercentSize;
|
|
3497
3812
|
/**
|
|
3498
|
-
* 차트가 극좌표(polar)일 때 중심 x
|
|
3813
|
+
* 차트가 극좌표(polar)일 때 중심 x 좌표.<br/>
|
|
3499
3814
|
*
|
|
3815
|
+
* @default '50%'
|
|
3500
3816
|
*/
|
|
3501
3817
|
centerX?: PercentSize;
|
|
3502
3818
|
/**
|
|
3503
|
-
* 차트가 극좌표(polar)일 때 중심 y
|
|
3819
|
+
* 차트가 극좌표(polar)일 때 중심 y 좌표.<br/>
|
|
3504
3820
|
*
|
|
3821
|
+
* @default '50%'
|
|
3505
3822
|
*/
|
|
3506
3823
|
centerY?: PercentSize;
|
|
3507
3824
|
/**
|
|
3508
|
-
* false이면 polar 차트일 때, x 축선과 y축 그리드 선들을 다각형으로
|
|
3825
|
+
* false이면 polar 차트일 때, x 축선과 y축 그리드 선들을 다각형으로 표시한다.<br/>
|
|
3509
3826
|
*
|
|
3827
|
+
* @default true
|
|
3510
3828
|
*/
|
|
3511
3829
|
circular?: boolean;
|
|
3512
3830
|
/**
|
|
3513
|
-
* 배경 이미지 설정
|
|
3514
|
-
*
|
|
3831
|
+
* 배경 이미지 설정 옵션.<br/>
|
|
3515
3832
|
*/
|
|
3516
3833
|
image?: BackgroundImageOptions;
|
|
3517
3834
|
/**
|
|
3518
3835
|
* plot 영역 마우스 드래깅을 통한 zooming 방식.
|
|
3519
3836
|
*
|
|
3837
|
+
* @default 'none'
|
|
3520
3838
|
*/
|
|
3521
3839
|
zoomType?: 'none' | 'x' | 'y' | 'both';
|
|
3522
3840
|
/**
|
|
3523
|
-
* Zoom 리셋 버튼 설정
|
|
3524
|
-
*
|
|
3841
|
+
* Zoom 리셋 버튼 설정 옵션.<br/>
|
|
3525
3842
|
*/
|
|
3526
3843
|
zoomButton?: ZoomButtonOptions;
|
|
3527
|
-
|
|
3844
|
+
/**
|
|
3845
|
+
* body 영역 내에 표시되는 어노테이션 옵션.<br/>
|
|
3846
|
+
* 옵션 객체 또는 옵션 객체 배열로 여러 어노테이션을 설정할 수 있다.<br/>
|
|
3847
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 'annotations' 설정이 존재하면 load 후 이 속성으로 설정한다.
|
|
3848
|
+
*/
|
|
3849
|
+
annotation?: AnnotationOptionsType | AnnotationOptionsType[];
|
|
3528
3850
|
}
|
|
3529
3851
|
interface PaneBodyOptions$1 extends BodyOptions {
|
|
3530
3852
|
}
|
|
@@ -3533,11 +3855,12 @@ interface NavigiatorHandleOptions extends ChartItemOptions {
|
|
|
3533
3855
|
interface NavigiatorMaskOptions extends ChartItemOptions {
|
|
3534
3856
|
}
|
|
3535
3857
|
/**
|
|
3536
|
-
* 시리즈 내비게이터
|
|
3537
|
-
* 내비게이터에 표시되는 시리즈는 기본적으로 'area' 시리즈로 표시되지만,
|
|
3538
|
-
* 'line', 'area',
|
|
3858
|
+
* 시리즈 내비게이터 설정 옵션.<br/>
|
|
3859
|
+
* 내비게이터에 표시되는 시리즈는 기본적으로 {@page config.series.area 'area'} 시리즈로 표시되지만,
|
|
3860
|
+
* {@page config.series.line 'line'}, {@page config.series.area 'area'},
|
|
3861
|
+
* {@page config.series.bara 'bar'} 시리즈로 지정할 수도 있다.<br/>
|
|
3539
3862
|
* 내비게이터의 x축 종류는 명시적으로 설정하지 않으면 소스 시리즈의 x축 type을 따라간다.
|
|
3540
|
-
* y축은 항상 'linear'로 생성된다.
|
|
3863
|
+
* y축은 항상 {@page config.yAxis.linear 'linear'}로 생성된다.
|
|
3541
3864
|
*
|
|
3542
3865
|
* @config chart.seriesNavigator
|
|
3543
3866
|
*/
|
|
@@ -3602,26 +3925,77 @@ interface SeriesNavigatorOptions extends ChartItemOptions {
|
|
|
3602
3925
|
gapFar?: number;
|
|
3603
3926
|
}
|
|
3604
3927
|
/**
|
|
3605
|
-
* 차트 개발 제작자 등을 표시하는
|
|
3606
|
-
*
|
|
3928
|
+
* 차트 개발 제작자 등을 표시하는 크레딧 영역 설정 옵션.<br/>
|
|
3929
|
+
* 기본적으로 오른쪽 아래 모서리에 RealChart 버전을 작게 표시한다.<br/>
|
|
3930
|
+
*
|
|
3931
|
+
* ```js
|
|
3932
|
+
* const config = {
|
|
3933
|
+
* options: {
|
|
3934
|
+
* credits: {
|
|
3935
|
+
* text: 'UN Data',
|
|
3936
|
+
* url: 'https://data.un.org'
|
|
3937
|
+
* },
|
|
3938
|
+
* },
|
|
3939
|
+
* };
|
|
3940
|
+
* ```
|
|
3941
|
+
*
|
|
3942
|
+
* ***className *** 'rct-credits'
|
|
3607
3943
|
*/
|
|
3608
3944
|
interface CreditsOptions extends ChartItemOptions {
|
|
3609
3945
|
/**
|
|
3610
|
-
* 제작자 이름 등 표시
|
|
3946
|
+
* 제작자 이름 등 표시 텍스트.<br/>
|
|
3947
|
+
*
|
|
3948
|
+
* @default 'RealChart v1.0'
|
|
3611
3949
|
*/
|
|
3612
3950
|
text?: string;
|
|
3613
3951
|
/**
|
|
3614
|
-
* 영역을 클릭했을
|
|
3952
|
+
* 영역을 클릭했을 때, 이 속성에 지정한 곳으로 새 페이지를 연다.<br/>
|
|
3953
|
+
*
|
|
3954
|
+
* @default 'https://realchart.co.kr'
|
|
3615
3955
|
*/
|
|
3616
3956
|
url?: string;
|
|
3617
3957
|
/**
|
|
3618
|
-
* true로 지정하면 별도의 영역을 차지하지 않고 차트 본체 내부에
|
|
3958
|
+
* true로 지정하면 별도의 영역을 차지하지 않고 차트 본체 내부에 위치한다.<br/>
|
|
3959
|
+
* {@page align}이 'center'이고 {@page verticalAlign}이 'middle'일 때도
|
|
3960
|
+
* 본체 내부에 표시된다.
|
|
3961
|
+
*
|
|
3962
|
+
* @default false
|
|
3619
3963
|
*/
|
|
3620
3964
|
floating?: boolean;
|
|
3965
|
+
/**
|
|
3966
|
+
* 차트 영역 내에서 credits의 수평 정렬.<br/>
|
|
3967
|
+
*
|
|
3968
|
+
* @default 'right'
|
|
3969
|
+
*/
|
|
3621
3970
|
align?: Align;
|
|
3971
|
+
/**
|
|
3972
|
+
* 차트 영역 내에서 credits의 수직 정렬.<br/>
|
|
3973
|
+
*
|
|
3974
|
+
* @default 'bottom'
|
|
3975
|
+
*/
|
|
3622
3976
|
verticalAlign?: VerticalAlign;
|
|
3977
|
+
/**
|
|
3978
|
+
* 설정에 따라 정해진 표시 위치에서 떨어진 수평 간격.<br/>
|
|
3979
|
+
* {@page floating}이 true가 아니고,
|
|
3980
|
+
* 오른쪽 중앙에 표시되는 경우에는 credits 표시 영역 계산 시 너비에 포함된다.
|
|
3981
|
+
*
|
|
3982
|
+
* @default 2
|
|
3983
|
+
*/
|
|
3623
3984
|
offsetX?: number;
|
|
3985
|
+
/**
|
|
3986
|
+
* 설정에 따라 정해진 표시 위치에서 떨어진 수직 간격.<br/>
|
|
3987
|
+
* {@page floating}이 true가 아니고,
|
|
3988
|
+
* 중앙에 표시되는 경우가 아니면 credits 표시 영역 계산 시 높이에 포함된다.
|
|
3989
|
+
*
|
|
3990
|
+
* @default 1
|
|
3991
|
+
*/
|
|
3624
3992
|
offsetY?: number;
|
|
3993
|
+
/**
|
|
3994
|
+
* {@link floating}이 true가 아니고, 오른쪽 아래 또는 오른쪽 가운데에 표시될 때,
|
|
3995
|
+
* 차튼 나머지 영역과의 간격.<br/>
|
|
3996
|
+
*
|
|
3997
|
+
* @default 4
|
|
3998
|
+
*/
|
|
3625
3999
|
gap?: number;
|
|
3626
4000
|
}
|
|
3627
4001
|
/**
|
|
@@ -3661,8 +4035,7 @@ declare const _PointHoverScope: {
|
|
|
3661
4035
|
};
|
|
3662
4036
|
type PointHoverScope = typeof _PointHoverScope[keyof typeof _PointHoverScope];
|
|
3663
4037
|
/**
|
|
3664
|
-
* 데이터포인트에 마우수가 올라갈 때 처리하는 방식 설정
|
|
3665
|
-
*
|
|
4038
|
+
* 데이터포인트에 마우수가 올라갈 때 처리하는 방식 설정 옵션.<br/>
|
|
3666
4039
|
*/
|
|
3667
4040
|
interface PointHoveringOptions extends ChartItemOptions {
|
|
3668
4041
|
/**
|
|
@@ -3698,8 +4071,10 @@ declare const _TooltipScope: {
|
|
|
3698
4071
|
};
|
|
3699
4072
|
type TooltipScope = typeof _TooltipScope[keyof typeof _TooltipScope];
|
|
3700
4073
|
/**
|
|
3701
|
-
*
|
|
4074
|
+
* 데이터포인트 뷰에 마우스가 올라가면 표시되는 툴팁 상자 옵션.<br/>
|
|
4075
|
+
* {@page guide.tooltip 툴팁 개요} 페이지를 참조한다.
|
|
3702
4076
|
*
|
|
4077
|
+
* @css 'rct-tooltip'
|
|
3703
4078
|
* @config chart.tooltip
|
|
3704
4079
|
*/
|
|
3705
4080
|
interface TooltipOptions extends ChartItemOptions {
|
|
@@ -4034,6 +4409,7 @@ declare class TextElement extends RcElement {
|
|
|
4034
4409
|
setContrast(target: Element, darkStyle: SVGStyleOrClass, brightStyle: SVGStyleOrClass): TextElement;
|
|
4035
4410
|
clearDom(): void;
|
|
4036
4411
|
setStyles(styles: any): boolean;
|
|
4412
|
+
applyStyles(styles: any): void;
|
|
4037
4413
|
setStyle(prop: string, value: string): boolean;
|
|
4038
4414
|
getBBox(): IRect;
|
|
4039
4415
|
getBBoundsTest(): IRect;
|
|
@@ -4087,8 +4463,8 @@ declare class SvgRichText {
|
|
|
4087
4463
|
}
|
|
4088
4464
|
|
|
4089
4465
|
/**
|
|
4090
|
-
* {@page Series 시리즈}, {@page rc.Axis 축}, {@page rc.Legend legend}
|
|
4091
|
-
* {@page updateOptions}등의 공통 메소드들이
|
|
4466
|
+
* {@page Series 시리즈}, {@page rc.Axis 축}, {@page rc.Legend legend} 등, 차트 구성 요소 모델들의 기반 클래스.<br/>
|
|
4467
|
+
* {@page updateOptions}등의 공통 메소드들이 구현되어 있다.
|
|
4092
4468
|
*/
|
|
4093
4469
|
declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends RcObject {
|
|
4094
4470
|
static readonly REFRESHED = "refreshed";
|
|
@@ -4289,6 +4665,11 @@ declare abstract class ChartItemCollection<T extends ChartItem> {
|
|
|
4289
4665
|
abstract load(src: any, inBody?: boolean): void;
|
|
4290
4666
|
updateOptions(source: any, render: boolean): void;
|
|
4291
4667
|
}
|
|
4668
|
+
/**
|
|
4669
|
+
* {@page rc.Title 타이틀}, {@page rc.DataPointLabel 데이터포인트 라벨} 등,
|
|
4670
|
+
* 차트에 표시되는 텍스트 설정 모델들의 기반 클래스.<br/>
|
|
4671
|
+
* 설정 {@link options} 모델은 {@page op.ChartTextOptions}이다.
|
|
4672
|
+
*/
|
|
4292
4673
|
declare abstract class ChartText<OP extends ChartTextOptions> extends ChartItem<OP> {
|
|
4293
4674
|
static defaults: ChartTextOptions;
|
|
4294
4675
|
private _outlineThickness;
|
|
@@ -4303,14 +4684,21 @@ declare abstract class ChartText<OP extends ChartTextOptions> extends ChartItem<
|
|
|
4303
4684
|
private _setNumberSymbols;
|
|
4304
4685
|
private _setNumberFormat;
|
|
4305
4686
|
private _setText;
|
|
4687
|
+
/** @internal */
|
|
4306
4688
|
setText(value: string): void;
|
|
4689
|
+
/** @internal */
|
|
4307
4690
|
buildSvg(view: TextElement, outline: TextElement, maxWidth: number, maxHeight: number, target: any, domain: IRichTextDomain): void;
|
|
4691
|
+
/** @internal */
|
|
4308
4692
|
prepareRich(text: string): void;
|
|
4309
4693
|
protected _doSetSimple(src: any): boolean;
|
|
4310
4694
|
protected _doApply(options: ChartTextOptions): void;
|
|
4311
4695
|
private $_getNumberText;
|
|
4312
4696
|
protected _getText(text: string, value: any, useSymbols: boolean, forceSymbols: boolean): string;
|
|
4313
4697
|
}
|
|
4698
|
+
/**
|
|
4699
|
+
* 텍스트 주위에 이미지 아이콘이 표시되는 {@link rc.ChartText 차트 텍스트} 모델.<br/>
|
|
4700
|
+
* 설정 {@link options} 모델은 {@page op.IconedTextOptions}이다.
|
|
4701
|
+
*/
|
|
4314
4702
|
declare abstract class IconedText<OP extends IconedTextOptions = IconedTextOptions> extends ChartText<OP> {
|
|
4315
4703
|
static defaults: IconedTextOptions;
|
|
4316
4704
|
private _images;
|
|
@@ -4392,11 +4780,13 @@ declare const _LegendLocation: {
|
|
|
4392
4780
|
};
|
|
4393
4781
|
type LegendLocation = typeof _LegendLocation[keyof typeof _LegendLocation];
|
|
4394
4782
|
/**
|
|
4395
|
-
* 차트 시리즈
|
|
4396
|
-
*
|
|
4783
|
+
* 차트 시리즈 구성 등을 직관적으로 이해할 수 있도록 도와주는 범례 설정 옵션.<br/>
|
|
4784
|
+
* 시리즈나 데이터포인트 등의 이름과 심볼을 같이 표시할 수 있다.<br/>
|
|
4785
|
+
* {@page visible} 기본값이 undefined이고,
|
|
4397
4786
|
* 따로 지정하지 않으면 시리즈가 둘 이상 포함돼야 legend가 표시된다.<br/>
|
|
4398
4787
|
* {@page guide.legend 범례 개요} 페이지를 참조한다.
|
|
4399
4788
|
*
|
|
4789
|
+
* @css 'rct-legend' legend 기본 class.
|
|
4400
4790
|
* @config chart.legend
|
|
4401
4791
|
*/
|
|
4402
4792
|
interface LegendOptions extends ChartItemOptions {
|
|
@@ -4404,7 +4794,7 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
4404
4794
|
* @override
|
|
4405
4795
|
*
|
|
4406
4796
|
* 명시적 true로 지정하고 항목이 하나라도 존재하거나,
|
|
4407
|
-
* 명시적 false가 아닌 경우 항목이 둘 이상이면
|
|
4797
|
+
* 명시적 false가 아닌 경우 항목이 둘 이상이면 표시된다.<br/>
|
|
4408
4798
|
*
|
|
4409
4799
|
* @fiddle common/legend-visible Legend Visible
|
|
4410
4800
|
* @default undefined
|
|
@@ -4415,114 +4805,127 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
4415
4805
|
*/
|
|
4416
4806
|
reversed?: boolean;
|
|
4417
4807
|
/**
|
|
4418
|
-
* 표시
|
|
4808
|
+
* 표시 위치.<br/>
|
|
4419
4809
|
*
|
|
4810
|
+
* @default 'bottom'
|
|
4420
4811
|
*/
|
|
4421
4812
|
location?: LegendLocation;
|
|
4422
4813
|
/**
|
|
4423
|
-
* item 배치
|
|
4814
|
+
* item 배치 방향.<br/>
|
|
4424
4815
|
*
|
|
4816
|
+
* @default 'auto'
|
|
4425
4817
|
*/
|
|
4426
4818
|
layout?: LegendLayout;
|
|
4427
4819
|
/**
|
|
4428
|
-
* legend 정렬
|
|
4820
|
+
* legend 정렬 기준.<br/>
|
|
4429
4821
|
*
|
|
4822
|
+
* @default 'body'
|
|
4430
4823
|
*/
|
|
4431
4824
|
alignBase?: AlignBase;
|
|
4432
4825
|
/**
|
|
4433
4826
|
* {@page location}이 'body'가 아닐 때,
|
|
4434
|
-
* legend view와 나머지 chart 영역 사이의 gap
|
|
4827
|
+
* legend view와 나머지 chart 영역 사이의 gap.<br/>
|
|
4435
4828
|
*
|
|
4829
|
+
* @default 6 (픽셀)
|
|
4436
4830
|
*/
|
|
4437
4831
|
gap?: number;
|
|
4438
4832
|
/**
|
|
4439
|
-
* legend 아이템들 사이의
|
|
4833
|
+
* legend 아이템들 사이의 간격.<br/>
|
|
4440
4834
|
*
|
|
4835
|
+
* @default 8 (픽셀)
|
|
4441
4836
|
*/
|
|
4442
4837
|
itemGap?: number;
|
|
4443
4838
|
/**
|
|
4444
|
-
* marker 표시
|
|
4839
|
+
* marker 표시 여부.<br/>
|
|
4445
4840
|
*
|
|
4841
|
+
* @default true
|
|
4446
4842
|
*/
|
|
4447
4843
|
markerVisible?: boolean;
|
|
4448
4844
|
/**
|
|
4449
|
-
* marker
|
|
4845
|
+
* marker 크기.<br/>
|
|
4450
4846
|
*
|
|
4451
|
-
* @default 10
|
|
4847
|
+
* @default 10 (픽셀).
|
|
4452
4848
|
*/
|
|
4453
4849
|
markerSize?: number;
|
|
4454
4850
|
/**
|
|
4455
|
-
* marker와 text사이의
|
|
4851
|
+
* marker와 text사이의 간격.<br/>
|
|
4456
4852
|
*
|
|
4853
|
+
* @default 4 (픽셀).
|
|
4457
4854
|
*/
|
|
4458
4855
|
markerGap?: number;
|
|
4459
4856
|
/**
|
|
4460
|
-
* 배경 스타일
|
|
4857
|
+
* 배경 스타일 셋.<br/>
|
|
4461
4858
|
* 배경 색상 및 경계선 스타일을 지정할 수 있다.
|
|
4462
|
-
*
|
|
4463
4859
|
*/
|
|
4464
4860
|
backgroundStyle?: SVGStyleOrClass;
|
|
4465
4861
|
/**
|
|
4466
|
-
* 한 줄 당 표시할 최대 legend 항목
|
|
4467
|
-
*
|
|
4862
|
+
* 한 줄 당 표시할 최대 legend 항목 수.<br/>
|
|
4468
4863
|
*/
|
|
4469
4864
|
itemsPerLine?: number;
|
|
4470
4865
|
/**
|
|
4471
|
-
* 라인 사이의
|
|
4866
|
+
* 라인 사이의 간격.<br/>
|
|
4472
4867
|
*
|
|
4868
|
+
* @default 4 (픽셀).
|
|
4473
4869
|
*/
|
|
4474
4870
|
lineGap?: number;
|
|
4475
4871
|
/**
|
|
4476
4872
|
* 수평 {@page layout 배치}일 때,
|
|
4477
|
-
* 최대 너비를 픽셀 단위의 크기 혹은 body 너비에 대한 상대 길이를 '%'로
|
|
4478
|
-
*
|
|
4873
|
+
* 최대 너비를 픽셀 단위의 크기 혹은 body 너비에 대한 상대 길이를 '%'로 지정한다.<br/>
|
|
4479
4874
|
*/
|
|
4480
4875
|
maxWidth?: PercentSize;
|
|
4481
4876
|
/**
|
|
4482
4877
|
* 수직 {@page layout 배치}일 때,
|
|
4483
|
-
* 최대 높이를 픽셀 단위의 크기 혹은 body 높이에 대한 상대 길이를 '%'로
|
|
4484
|
-
*
|
|
4878
|
+
* 최대 높이를 픽셀 단위의 크기 혹은 body 높이에 대한 상대 길이를 '%'로 지정한다.<br/>
|
|
4485
4879
|
*/
|
|
4486
4880
|
maxHeight?: PercentSize;
|
|
4487
4881
|
/**
|
|
4488
|
-
* 수평
|
|
4882
|
+
* 수평 배치.<br/>
|
|
4489
4883
|
* 값을 지정하지 않으면, 기본값이 {@page location}이 'body'일 때는 'left',
|
|
4490
|
-
* 'left', 'right'일 때는 'center'
|
|
4491
|
-
*
|
|
4884
|
+
* 'left', 'right'일 때는 'center'이다.<br/>
|
|
4492
4885
|
*/
|
|
4493
4886
|
align?: Align;
|
|
4494
4887
|
/**
|
|
4495
|
-
* 수직
|
|
4888
|
+
* 수직 배치.<br/>
|
|
4496
4889
|
* 값을 지정하지 않으면, 기본값이 {@page location}이 'body'일 때는 'top',
|
|
4497
|
-
* 'top', 'bottom'일 때는 'middle'
|
|
4498
|
-
*
|
|
4890
|
+
* 'top', 'bottom'일 때는 'middle'이다.<br/>
|
|
4499
4891
|
*/
|
|
4500
4892
|
verticalAlign?: VerticalAlign;
|
|
4501
4893
|
/**
|
|
4502
|
-
* 범례와 body 혹은 차트 경계 사이의 수평
|
|
4894
|
+
* 범례와 body 혹은 차트 경계 사이의 수평 간격.<br/>
|
|
4503
4895
|
*
|
|
4896
|
+
* @default 0
|
|
4504
4897
|
*/
|
|
4505
4898
|
offsetX?: number;
|
|
4506
4899
|
/**
|
|
4507
|
-
* 범례와 body 혹은 차트 경계 사이의 수직
|
|
4900
|
+
* 범례와 body 혹은 차트 경계 사이의 수직 간격.<br/>
|
|
4508
4901
|
*
|
|
4902
|
+
* @default 0
|
|
4509
4903
|
*/
|
|
4510
4904
|
offsetY?: number;
|
|
4511
4905
|
/**
|
|
4512
|
-
* 한 라인의 item들이 배치되는
|
|
4906
|
+
* 한 라인의 item들이 배치되는 위치.<br/>
|
|
4513
4907
|
*
|
|
4908
|
+
* @default 'center'
|
|
4514
4909
|
*/
|
|
4515
4910
|
itemsAlign?: LegendItemsAlign;
|
|
4516
4911
|
/**
|
|
4517
|
-
* 범례 항목의 텍스트에도 marker와 동일한 색상을
|
|
4518
|
-
*
|
|
4912
|
+
* 범례 항목의 텍스트에도 marker와 동일한 색상을 적용한다.<br/>
|
|
4519
4913
|
*/
|
|
4520
4914
|
useTextColor?: boolean;
|
|
4521
4915
|
/**
|
|
4522
|
-
* 시리즈가 연결된 범례 아이템에 마우스가 올라가면 나머지 시리즈들을 반투명 처리해서
|
|
4916
|
+
* 시리즈가 연결된 범례 아이템에 마우스가 올라가면 나머지 시리즈들을 반투명 처리해서
|
|
4917
|
+
* 연결된 시리즈를 강조한다.<br/>
|
|
4523
4918
|
*
|
|
4919
|
+
* @default true
|
|
4524
4920
|
*/
|
|
4525
4921
|
seriesHovering?: boolean;
|
|
4922
|
+
/**
|
|
4923
|
+
* 데이터포인트 연결된 범례 아이템에 마우스가 올라가면 시리즈의 나머지 데이터포인트들을 반투명 처리해서
|
|
4924
|
+
* 연결된 데이터포인트를 강조한다.<br/>
|
|
4925
|
+
*
|
|
4926
|
+
* @default true
|
|
4927
|
+
*/
|
|
4928
|
+
pointHovering?: boolean;
|
|
4526
4929
|
}
|
|
4527
4930
|
|
|
4528
4931
|
/**
|
|
@@ -4549,7 +4952,6 @@ interface ILegendSource {
|
|
|
4549
4952
|
declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
4550
4953
|
legend: Legend;
|
|
4551
4954
|
source: ILegendSource;
|
|
4552
|
-
static readonly MARKER_SIZE = 10;
|
|
4553
4955
|
constructor(legend: Legend, source: ILegendSource);
|
|
4554
4956
|
text(): string;
|
|
4555
4957
|
}
|
|
@@ -4585,6 +4987,7 @@ declare class Legend extends Widget<LegendOptions> {
|
|
|
4585
4987
|
getLayout(): LegendLayout;
|
|
4586
4988
|
getMaxWidth(domain: number): number;
|
|
4587
4989
|
getMaxHeight(domain: number): number;
|
|
4990
|
+
getMarkerSize(): number;
|
|
4588
4991
|
protected _isVisible(): boolean;
|
|
4589
4992
|
protected _doApply(options: LegendOptions): void;
|
|
4590
4993
|
protected _doPrepareRender(chart: IChart): void;
|
|
@@ -4599,8 +5002,8 @@ interface ITooltipOwner {
|
|
|
4599
5002
|
getTooltipContext(level: TooltipScope, series: ISeries, point: DataPoint): ITooltipContext;
|
|
4600
5003
|
}
|
|
4601
5004
|
/**
|
|
4602
|
-
* Tooltip
|
|
4603
|
-
* 설정 {@link options}
|
|
5005
|
+
* Tooltip 모델.<br/>
|
|
5006
|
+
* 설정 {@link options}은 {@page op.TooltipOptions}이고,
|
|
4604
5007
|
* {@page config.tooltip} 항목으로 설정한다.
|
|
4605
5008
|
* ```js
|
|
4606
5009
|
* const config = {
|
|
@@ -4762,7 +5165,6 @@ interface ISeries extends IPlottingItem {
|
|
|
4762
5165
|
displayName(): string;
|
|
4763
5166
|
initPoints(source: any[]): DataPoint[];
|
|
4764
5167
|
getPoints(): DataPointCollection;
|
|
4765
|
-
isVisible(p: DataPoint): boolean;
|
|
4766
5168
|
followPointer(): boolean;
|
|
4767
5169
|
isMarker(): boolean;
|
|
4768
5170
|
}
|
|
@@ -4927,17 +5329,15 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4927
5329
|
private $_prepareViewRanges;
|
|
4928
5330
|
pointValuesPrepared(axis: IAxis): void;
|
|
4929
5331
|
reference(other: Series, axis: IAxis): void;
|
|
4930
|
-
isVisible(point: DataPoint): boolean;
|
|
4931
5332
|
getLegendSources(list: ILegendSource[]): void;
|
|
4932
5333
|
getLabelPosition(p: PointItemPosition): PointItemPosition;
|
|
4933
5334
|
getLabelOff(off: number): number;
|
|
4934
5335
|
referBy(ref: Series): void;
|
|
4935
5336
|
setPointVisible(p: DataPoint, visible: boolean): void;
|
|
4936
|
-
protected _createPointArgs(): DataPointCallbackArgs;
|
|
4937
5337
|
protected _preparePointArgs(args: DataPointCallbackArgs): void;
|
|
4938
|
-
|
|
4939
|
-
getPointText(p: DataPoint, label: any): string;
|
|
4940
|
-
getPointStyle(p: DataPoint):
|
|
5338
|
+
_getPointCallbackArgs(args: DataPointCallbackArgs, p: DataPoint): void;
|
|
5339
|
+
getPointText(p: DataPoint, index: number, label: any): string;
|
|
5340
|
+
getPointStyle(p: DataPoint): SVGStyleOrClass;
|
|
4941
5341
|
getPointLabelStyle(p: DataPoint): any;
|
|
4942
5342
|
pointClicked(p: DataPoint): boolean;
|
|
4943
5343
|
pointHovered(p: DataPoint): void;
|
|
@@ -5049,6 +5449,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5049
5449
|
protected _doPrepareRender(): void;
|
|
5050
5450
|
protected _setViewRange(p: DataPoint, axis: 'x' | 'y' | 'z'): void;
|
|
5051
5451
|
_defViewRangeValue(): 'x' | 'y' | 'z';
|
|
5452
|
+
protected _canSort(): boolean;
|
|
5052
5453
|
}
|
|
5053
5454
|
type PlottingItem = Series | SeriesGroup;
|
|
5054
5455
|
/**
|
|
@@ -5087,12 +5488,14 @@ declare class PlottingItemCollection extends ChartItemCollection<PlottingItem> {
|
|
|
5087
5488
|
private $_add;
|
|
5088
5489
|
}
|
|
5089
5490
|
/**
|
|
5090
|
-
*
|
|
5491
|
+
* dumbbell 시리즈 등에 표시되는 마커.
|
|
5091
5492
|
*/
|
|
5092
5493
|
declare abstract class SeriesMarker<OP extends SeriesMarkerOptions = {}> extends ChartItem<OP> {
|
|
5093
5494
|
series: Series;
|
|
5094
5495
|
static defaults: SeriesMarkerOptions;
|
|
5496
|
+
private _args;
|
|
5095
5497
|
constructor(series: Series);
|
|
5498
|
+
getMarkerStyle(p: DataPoint): any;
|
|
5096
5499
|
}
|
|
5097
5500
|
declare class WidgetSeriesPoint extends DataPoint implements ILegendSource {
|
|
5098
5501
|
_calcedColor: string;
|
|
@@ -5120,10 +5523,8 @@ declare abstract class WidgetSeries<OP extends WidgetSeriesOptions = {}> extends
|
|
|
5120
5523
|
canMaxPadding(axis: IAxis, max: number): boolean;
|
|
5121
5524
|
}
|
|
5122
5525
|
/**
|
|
5123
|
-
* 직교 좌표계가 표시된 경우, plot area 영역을 기준으로 size, centerX, centerY가
|
|
5124
|
-
*
|
|
5125
|
-
* TODO: 현재 PieSeris만 계승하고 있다. 추후 PieSeries에 합칠 것.
|
|
5126
|
-
*
|
|
5526
|
+
* 직교 좌표계가 표시된 경우, plot area 영역을 기준으로 size, centerX, centerY가 적용된다.<br/>
|
|
5527
|
+
* //TODO: 현재 PieSeris만 계승하고 있다. 추후 PieSeries에 합칠 것.
|
|
5127
5528
|
*/
|
|
5128
5529
|
declare abstract class RadialSeries<OP extends RadialSeriesOptions = RadialSeriesOptions> extends WidgetSeries<OP> {
|
|
5129
5530
|
static defaults: RadialSeriesOptions;
|
|
@@ -5311,7 +5712,8 @@ declare abstract class DataPoint {
|
|
|
5311
5712
|
assignTo(proxy?: any): any;
|
|
5312
5713
|
getProp(fld: string | number): any;
|
|
5313
5714
|
parse(series: ISeries): void;
|
|
5314
|
-
|
|
5715
|
+
getPointLabel(index: number): any;
|
|
5716
|
+
getPointText(index: number): string;
|
|
5315
5717
|
swap(): void;
|
|
5316
5718
|
updateValues(series: ISeries, values: any): any;
|
|
5317
5719
|
getTooltip(param: string): any;
|
|
@@ -5364,10 +5766,12 @@ declare class DataPointCollection {
|
|
|
5364
5766
|
declare class RangedPoint extends DataPoint {
|
|
5365
5767
|
low: any;
|
|
5366
5768
|
lowValue: number;
|
|
5769
|
+
lowLabel: any;
|
|
5367
5770
|
get high(): number;
|
|
5368
5771
|
get highValue(): number;
|
|
5369
5772
|
labelCount(): number;
|
|
5370
|
-
|
|
5773
|
+
getPointLabel(index: number): any;
|
|
5774
|
+
getPointText(index: number): any;
|
|
5371
5775
|
protected _assignTo(proxy: any): any;
|
|
5372
5776
|
protected _valuesChangd(prev: any): boolean;
|
|
5373
5777
|
protected _readArray(series: LowRangedSeries, v: any[]): void;
|
|
@@ -5443,41 +5847,57 @@ interface IAxis {
|
|
|
5443
5847
|
isBreak(pos: number): boolean;
|
|
5444
5848
|
}
|
|
5445
5849
|
/**
|
|
5446
|
-
* {@page
|
|
5850
|
+
* 축 {@page AxisTitle 타이틀}, {@page AxisLink line}, {@page AxisTick tick} 등,
|
|
5851
|
+
* {@page Axis 축} 구성 요소 모델들의 기반(base) 클래스.<br/>
|
|
5447
5852
|
*/
|
|
5448
5853
|
declare abstract class AxisItem<OP extends AxisItemOptions> extends ChartItem<OP> {
|
|
5449
5854
|
readonly axis: Axis;
|
|
5450
5855
|
constructor(axis: Axis);
|
|
5451
5856
|
}
|
|
5452
5857
|
/**
|
|
5453
|
-
* 축 선(line)
|
|
5454
|
-
* {@page options} 모델은 {@page op.AxisLineOptions}
|
|
5858
|
+
* 축 선(line) 모델.<br/>
|
|
5859
|
+
* {@page options 옵션} 모델은 {@page op.AxisLineOptions}이고,
|
|
5860
|
+
* {@page config.base.axis.line 'line'} 항목으로 설정한다.
|
|
5861
|
+
*
|
|
5862
|
+
* ```js
|
|
5863
|
+
* const config = {
|
|
5864
|
+
* xAxis: {
|
|
5865
|
+
* line: {
|
|
5866
|
+
* style: {
|
|
5867
|
+
* stroke: 'red',
|
|
5868
|
+
* strokeDasharray: '4'
|
|
5869
|
+
* },
|
|
5870
|
+
* },
|
|
5871
|
+
* },
|
|
5872
|
+
* };
|
|
5873
|
+
* ```
|
|
5455
5874
|
*/
|
|
5456
|
-
declare class AxisLine extends AxisItem<
|
|
5875
|
+
declare class AxisLine<OP extends AxisLineOptions = AxisLineOptions> extends AxisItem<OP> {
|
|
5457
5876
|
static defaults: AxisLineOptions;
|
|
5458
5877
|
protected _isVisible(): boolean;
|
|
5459
5878
|
protected _doSetSimple(src: any): boolean;
|
|
5460
5879
|
}
|
|
5461
5880
|
/**
|
|
5462
|
-
* 축 타이틀
|
|
5463
|
-
* {@page options} 모델은 {@page op.AxisTitleOptions}
|
|
5881
|
+
* 축 타이틀 모델.<br/>
|
|
5882
|
+
* {@page options 옵션} 모델은 {@page op.AxisTitleOptions}이고,
|
|
5883
|
+
* {@page config.base.axis#title} 항목으로 설정한다.
|
|
5884
|
+
*
|
|
5885
|
+
* ```js
|
|
5886
|
+
* const config = {
|
|
5887
|
+
* xAxis: {
|
|
5888
|
+
* title: {
|
|
5889
|
+
* text: '서울시 년간 강우량',
|
|
5890
|
+
* style: {
|
|
5891
|
+
* fontSize: '30px',
|
|
5892
|
+
* },
|
|
5893
|
+
* },
|
|
5894
|
+
* },
|
|
5895
|
+
* };
|
|
5896
|
+
* ```
|
|
5464
5897
|
*/
|
|
5465
5898
|
declare class AxisTitle extends AxisItem<AxisTitleOptions> {
|
|
5466
5899
|
static defaults: AxisTitleOptions;
|
|
5467
5900
|
private _rotation;
|
|
5468
|
-
/**
|
|
5469
|
-
* 타이틀을 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
|
|
5470
|
-
*
|
|
5471
|
-
* @config
|
|
5472
|
-
*/
|
|
5473
|
-
writingMode: WritingMode;
|
|
5474
|
-
/**
|
|
5475
|
-
* 텍스트 문자 방향을 지정한다.
|
|
5476
|
-
* 세로 모드의 텍스트에만 적용된다.
|
|
5477
|
-
*
|
|
5478
|
-
* @config
|
|
5479
|
-
*/
|
|
5480
|
-
textOrientation: TextOrientation;
|
|
5481
5901
|
getRotation(): number;
|
|
5482
5902
|
protected _isVisible(): boolean;
|
|
5483
5903
|
protected _doSetSimple(src: any): boolean;
|
|
@@ -5501,7 +5921,7 @@ declare class AxisGridRows extends AxisItem<AxisGridRowsOptions> {
|
|
|
5501
5921
|
* Axis tick의 위치에 수평 혹은 수직선으로 plot 영역을 구분 표시한다.<br/>
|
|
5502
5922
|
* {@page visible} 기본값이 undefined인데,
|
|
5503
5923
|
* visible이 undefined나 null로 지정되면, 축 위치에 따라 visible 여부가 결정된다.
|
|
5504
|
-
* {@page options} 모델은 {@page op.AxisGridOptions}이다.
|
|
5924
|
+
* {@page options 옵션} 모델은 {@page op.AxisGridOptions}이다.
|
|
5505
5925
|
*/
|
|
5506
5926
|
declare abstract class AxisGrid<OP extends AxisGridOptions = AxisGridOptions> extends AxisItem<OP> {
|
|
5507
5927
|
static defaults: AxisGridOptions;
|
|
@@ -5539,8 +5959,22 @@ declare abstract class AxisGuide<OP extends AxisGuideOptions = AxisGuideOptions>
|
|
|
5539
5959
|
canConstainedTo(row: number, col: number): boolean;
|
|
5540
5960
|
}
|
|
5541
5961
|
/**
|
|
5542
|
-
*
|
|
5543
|
-
*
|
|
5962
|
+
* 축 tick 표시 방식과 tick 위치 마다 표시되는 선(line) 등에 대한 모델들의 기반(base) 클래스.<br/>
|
|
5963
|
+
* 축 종류에 따라 다양한 설정 속성들이 존재한다.
|
|
5964
|
+
* {@page options 옵션} 모델은 {@page op.AxisTickOptions}이고,
|
|
5965
|
+
* {@page config.base.axis#tick 'tick'} 항목으로 설정한다.<br/>
|
|
5966
|
+
* 별도 설정이 없으면 표시되지 않는다.
|
|
5967
|
+
*
|
|
5968
|
+
* ```js
|
|
5969
|
+
* const config = {
|
|
5970
|
+
* xAxis: {
|
|
5971
|
+
* tick: {
|
|
5972
|
+
* visible: true,
|
|
5973
|
+
* length: 10
|
|
5974
|
+
* }
|
|
5975
|
+
* },
|
|
5976
|
+
* };
|
|
5977
|
+
* ```
|
|
5544
5978
|
*/
|
|
5545
5979
|
declare abstract class AxisTick<OP extends AxisTickOptions = AxisTickOptions> extends AxisItem<OP> {
|
|
5546
5980
|
static defaults: AxisTickOptions;
|
|
@@ -5548,8 +5982,22 @@ declare abstract class AxisTick<OP extends AxisTickOptions = AxisTickOptions> ex
|
|
|
5548
5982
|
protected _doSetSimple(src: any): boolean;
|
|
5549
5983
|
}
|
|
5550
5984
|
/**
|
|
5551
|
-
* 축 label
|
|
5552
|
-
* {@page options} 모델은 {@page op.AxisLabelOptions}
|
|
5985
|
+
* 축 label 모델.<br/>
|
|
5986
|
+
* {@page options 옵션} 모델은 {@page op.AxisLabelOptions}이고,
|
|
5987
|
+
* {@page config.base.axis.label 'label'} 항목으로 설정한다.
|
|
5988
|
+
*
|
|
5989
|
+
* ```js
|
|
5990
|
+
* const config = {
|
|
5991
|
+
* xAxis: {
|
|
5992
|
+
* label: {
|
|
5993
|
+
* rotation: -45,
|
|
5994
|
+
* style: {
|
|
5995
|
+
* fill: 'red',
|
|
5996
|
+
* },
|
|
5997
|
+
* },
|
|
5998
|
+
* },
|
|
5999
|
+
* };
|
|
6000
|
+
* ```
|
|
5553
6001
|
*
|
|
5554
6002
|
* //[겹치는 경우가 발생할 때]
|
|
5555
6003
|
* //1. step이 0보다 큰 값으로 설정되면 반영한다.
|
|
@@ -5580,9 +6028,20 @@ interface IAxisTick {
|
|
|
5580
6028
|
label: string;
|
|
5581
6029
|
}
|
|
5582
6030
|
/**
|
|
5583
|
-
* 축 스크롤바 모델.<br/>
|
|
5584
|
-
*
|
|
5585
|
-
* {@page options} 모델은 {@page op.AxisScrollBarOptions}
|
|
6031
|
+
* {@page rc.Axis 축} 스크롤바 모델.<br/>
|
|
6032
|
+
* 축이 {@page rc.Axis.isZoomed zoom} 상태일 때, 사용자가 스크롤 범위나 위치를 변경할 수 있다.<br/>
|
|
6033
|
+
* {@page options 옵션} 모델은 {@page op.AxisScrollBarOptions}이고,
|
|
6034
|
+
* {@page config.base.axis.scrollBar 'scrollBar'} 항목으로 설정한다.
|
|
6035
|
+
*
|
|
6036
|
+
* ```js
|
|
6037
|
+
* const config = {
|
|
6038
|
+
* xAxis: {
|
|
6039
|
+
* scrollBar: {
|
|
6040
|
+
* visible: true
|
|
6041
|
+
* },
|
|
6042
|
+
* },
|
|
6043
|
+
* };
|
|
6044
|
+
* ```
|
|
5586
6045
|
*/
|
|
5587
6046
|
declare class AxisScrollBar extends AxisItem<AxisScrollBarOptions> {
|
|
5588
6047
|
static defaults: AxisScrollBarOptions;
|
|
@@ -5608,14 +6067,29 @@ declare class AxisZoom {
|
|
|
5608
6067
|
resize(start: number, end: number, minSize: number): boolean;
|
|
5609
6068
|
}
|
|
5610
6069
|
/**
|
|
5611
|
-
* 부채꼴 polar 좌표계의 X
|
|
5612
|
-
* {@page
|
|
6070
|
+
* 전체 각도가 360도 보다 작은 부채꼴 {@page config.#polar} 좌표계의 X 축에서 원호의 양 끝과 중심에 연결되는 두 선분 모델.<br/>
|
|
6071
|
+
* {@page options 옵션} 모델은 {@page op.AxisSectorLineOptions}이고,
|
|
6072
|
+
* {@page config.base.axis#sectorLine 'sectorLine'} 항목으로 설정한다.<br/>
|
|
6073
|
+
*
|
|
6074
|
+
* ```js
|
|
6075
|
+
* const config = {
|
|
6076
|
+
* polar: true,
|
|
6077
|
+
* xAxis: {
|
|
6078
|
+
* totalAngle: 270,
|
|
6079
|
+
* sectorLine: {
|
|
6080
|
+
* strokeWidt: '2px'
|
|
6081
|
+
* },
|
|
6082
|
+
* }
|
|
6083
|
+
* };
|
|
6084
|
+
* ```
|
|
6085
|
+
*
|
|
6086
|
+
* {@page config.base.axis#startAngle startAngle}, {@page config.base.axis#totalAngle totalAngle}을 참조한다.
|
|
5613
6087
|
*/
|
|
5614
|
-
declare class AxisSectorLine extends AxisLine {
|
|
6088
|
+
declare class AxisSectorLine extends AxisLine<AxisSectorLineOptions> {
|
|
5615
6089
|
}
|
|
5616
6090
|
/**
|
|
5617
|
-
* 차트 축 모델들의 기반 클래스.<br/>
|
|
5618
|
-
* {@page options} 모델은 {@page op.AxisOptions}이다.<br/>
|
|
6091
|
+
* 차트 축 모델들의 기반(base) 클래스.<br/>
|
|
6092
|
+
* {@page options 옵션} 모델은 {@page op.AxisOptions}이다.<br/>
|
|
5619
6093
|
* 축은 시리즈 데이터포인트들이 표시될 위치를 지정하는 차트의 핵심 구성 요소이고,
|
|
5620
6094
|
* 축 설정에 따라 같은 데이터도 다양한 배치로 표현될 수 있다.<br/>
|
|
5621
6095
|
* 기본 적으로 카테고리 축과 연속 축으로 구별되며, 2차원 차트에 맞게 **x|y** 축을 구별해서 설정한다.
|
|
@@ -5774,9 +6248,26 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
5774
6248
|
getValue(value: any): number;
|
|
5775
6249
|
incStep(value: number, step: any): number;
|
|
5776
6250
|
contains(value: number): boolean;
|
|
6251
|
+
trimRange(from: number, to: number): [number, number];
|
|
6252
|
+
/**
|
|
6253
|
+
* zoom 상태를 제거한다.<br/>
|
|
6254
|
+
*/
|
|
5777
6255
|
resetZoom(): void;
|
|
5778
6256
|
_prepareZoom(): AxisZoom;
|
|
6257
|
+
/**
|
|
6258
|
+
* zoom 상태를 새로운 범위로 변경한다.<br/>
|
|
6259
|
+
*
|
|
6260
|
+
* @param start 표시할 시작 값.
|
|
6261
|
+
* @param end 표시할 끝 값.
|
|
6262
|
+
* @param minSize 최소 범위
|
|
6263
|
+
* @returns zoom 상태가 변경되면 true.
|
|
6264
|
+
*/
|
|
5779
6265
|
zoom(start: number, end: number, minSize?: number): boolean;
|
|
6266
|
+
/**
|
|
6267
|
+
* zoom 상태인 지 확인한다.<br/>
|
|
6268
|
+
*
|
|
6269
|
+
* @returns zoom 상태이면 true.
|
|
6270
|
+
*/
|
|
5780
6271
|
isZoomed(): boolean;
|
|
5781
6272
|
hasBreak(): boolean;
|
|
5782
6273
|
isBreak(pos: number): boolean;
|
|
@@ -5872,6 +6363,9 @@ declare const _AxisTitleAlign: {
|
|
|
5872
6363
|
type AxisTitleAlign = typeof _AxisTitleAlign[keyof typeof _AxisTitleAlign];
|
|
5873
6364
|
interface AxisItemOptions extends ChartItemOptions {
|
|
5874
6365
|
}
|
|
6366
|
+
/**
|
|
6367
|
+
* 축 타이틀 설정 옵션.<br/>
|
|
6368
|
+
*/
|
|
5875
6369
|
interface AxisTitleOptions extends AxisItemOptions {
|
|
5876
6370
|
/**
|
|
5877
6371
|
* 타이틀 텍스트.<br/>
|
|
@@ -5913,6 +6407,19 @@ interface AxisTitleOptions extends AxisItemOptions {
|
|
|
5913
6407
|
*
|
|
5914
6408
|
*/
|
|
5915
6409
|
backgroundStyle?: SVGStyleOrClass;
|
|
6410
|
+
/**
|
|
6411
|
+
* 타이틀을 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
|
|
6412
|
+
*
|
|
6413
|
+
* @config
|
|
6414
|
+
*/
|
|
6415
|
+
writingMode?: WritingMode;
|
|
6416
|
+
/**
|
|
6417
|
+
* 텍스트 문자 방향을 지정한다.
|
|
6418
|
+
* 세로 모드의 텍스트에만 적용된다.
|
|
6419
|
+
*
|
|
6420
|
+
* @config
|
|
6421
|
+
*/
|
|
6422
|
+
textOrientation?: TextOrientation;
|
|
5916
6423
|
}
|
|
5917
6424
|
/**
|
|
5918
6425
|
* 축 선(line) 설정 모델.<br/>
|
|
@@ -5934,7 +6441,19 @@ interface AxisLineOptions extends AxisItemOptions {
|
|
|
5934
6441
|
interface AxisSectorLineOptions extends AxisLineOptions {
|
|
5935
6442
|
}
|
|
5936
6443
|
/**
|
|
5937
|
-
*
|
|
6444
|
+
* 축 tick 표시 방식과 tick 위치 마다 표시되는 선(line) 등에 대한 설정 옵션 기반(base).<br/>
|
|
6445
|
+
* 축 종류에 따라 다양한 설정 속성들이 존재한다.
|
|
6446
|
+
*
|
|
6447
|
+
* ```js
|
|
6448
|
+
* const config = {
|
|
6449
|
+
* xAxis: {
|
|
6450
|
+
* tick: {
|
|
6451
|
+
* visible: true,
|
|
6452
|
+
* length: 10
|
|
6453
|
+
* }
|
|
6454
|
+
* },
|
|
6455
|
+
* };
|
|
6456
|
+
* ```
|
|
5938
6457
|
*/
|
|
5939
6458
|
interface AxisTickOptions extends AxisItemOptions {
|
|
5940
6459
|
/**
|
|
@@ -6261,14 +6780,21 @@ interface AxisGuideLabelOptions extends IconedTextOptions {
|
|
|
6261
6780
|
*/
|
|
6262
6781
|
offsetY?: number;
|
|
6263
6782
|
}
|
|
6783
|
+
type AxisGuideType = 'line' | 'range';
|
|
6264
6784
|
/**
|
|
6785
|
+
* 선분이나 영역으로 축 위의 특정한 값(들)을 구분 표시한다.<br/>
|
|
6265
6786
|
* 기본적으로 이 축에 연결된 모든 body에 모두 표시된다.
|
|
6266
6787
|
* col, row를 지정해서 특정 body에만 표시되도록 할 수 있다.
|
|
6267
6788
|
*/
|
|
6268
6789
|
interface AxisGuideOptions extends AxisItemOptions {
|
|
6790
|
+
/**
|
|
6791
|
+
* 가이드 종류.<br/>
|
|
6792
|
+
* //이 속성을 지정하지 않은 경우,
|
|
6793
|
+
* //{@page config.base.axis.guide}
|
|
6794
|
+
*/
|
|
6795
|
+
type?: AxisGuideType;
|
|
6269
6796
|
/**
|
|
6270
6797
|
* label 모델.
|
|
6271
|
-
*
|
|
6272
6798
|
*/
|
|
6273
6799
|
label?: AxisGuideLabelOptions;
|
|
6274
6800
|
/**
|
|
@@ -6285,6 +6811,21 @@ interface AxisGuideOptions extends AxisItemOptions {
|
|
|
6285
6811
|
zindex?: number;
|
|
6286
6812
|
col?: number | number[];
|
|
6287
6813
|
row?: number | number[];
|
|
6814
|
+
/**
|
|
6815
|
+
* type이 'line'일 때,
|
|
6816
|
+
* 가이드 선이 표시될 축 상의 위치에 해당하는 값.<br/>
|
|
6817
|
+
*/
|
|
6818
|
+
value?: number;
|
|
6819
|
+
/**
|
|
6820
|
+
* type이 'range'일 때,
|
|
6821
|
+
* 가이드 영역의 시작 값.<br/>
|
|
6822
|
+
*/
|
|
6823
|
+
startValue?: number;
|
|
6824
|
+
/**
|
|
6825
|
+
* type이 'range'일 때,
|
|
6826
|
+
* 가이드 영역의 끝 값.<br/>
|
|
6827
|
+
*/
|
|
6828
|
+
endValue?: number;
|
|
6288
6829
|
}
|
|
6289
6830
|
/**
|
|
6290
6831
|
* Axis tick의 위치에 수평 혹은 수직선으로 plot 영역을 구분 표시한다.\
|
|
@@ -6366,7 +6907,7 @@ interface CrosshairCallbackArgs {
|
|
|
6366
6907
|
}
|
|
6367
6908
|
type CrosshairChangeCallback = (args: CrosshairCallbackArgs) => void;
|
|
6368
6909
|
/**
|
|
6369
|
-
* 직선 또는 bar 형태로 축 위의 마우스 위치를 표시하는 구성 요소
|
|
6910
|
+
* 직선 또는 bar 형태로 축 위의 마우스 위치를 표시하는 구성 요소 옵션.<br/>
|
|
6370
6911
|
*/
|
|
6371
6912
|
interface CrosshairOptions extends ChartItemOptions {
|
|
6372
6913
|
/**
|
|
@@ -6498,9 +7039,21 @@ interface AxisScrollBarOptions extends AxisItemOptions {
|
|
|
6498
7039
|
}
|
|
6499
7040
|
type AxisType = 'category' | 'linear' | 'log' | 'time';
|
|
6500
7041
|
/**
|
|
7042
|
+
* 축 설정 옵션 기반(base).<br/>
|
|
7043
|
+
*
|
|
6501
7044
|
* @config chart.axis[base]
|
|
6502
7045
|
*/
|
|
6503
7046
|
interface AxisOptions extends ChartItemOptions {
|
|
7047
|
+
/**
|
|
7048
|
+
* 축 종류를 지정한다.<br/>
|
|
7049
|
+
* 이 속성값이 지정되지 않은 경우,
|
|
7050
|
+
*
|
|
7051
|
+
* - {@page config.xAxis.category#categories}가 설정되면 'category'
|
|
7052
|
+
* - x축이고 첫번째 시리즈가 category축에 연결 가능할 때 'category', 아니면 'linear'
|
|
7053
|
+
* - y축이면 첫번째 시리즈의 기본 y축 타입(대부분 'linear'), 아니면 'linear'
|
|
7054
|
+
*
|
|
7055
|
+
* 축으로 자동 설정된다.<br/>
|
|
7056
|
+
*/
|
|
6504
7057
|
type?: AxisType;
|
|
6505
7058
|
/**
|
|
6506
7059
|
*/
|
|
@@ -6529,12 +7082,18 @@ interface AxisOptions extends ChartItemOptions {
|
|
|
6529
7082
|
*/
|
|
6530
7083
|
grid?: AxisGridOptions | boolean;
|
|
6531
7084
|
/**
|
|
7085
|
+
* 가이드 옵션.<br/>
|
|
7086
|
+
* 옵션 객체 또는 옵션 객체 배열로 여러 가이드를 설정할 수 있다.<br/>
|
|
7087
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 'guides' 설정이 존재하면 load 후 이 속성으로 설정한다.
|
|
6532
7088
|
*/
|
|
6533
|
-
|
|
7089
|
+
guide?: AxisGuideOptions[];
|
|
6534
7090
|
/**
|
|
7091
|
+
* 직선 또는 bar 형태로 축 위의 마우스 위치를 표시하는 옵션.<br/>
|
|
6535
7092
|
*/
|
|
6536
7093
|
crosshair?: CrosshairOptions | boolean;
|
|
6537
7094
|
/**
|
|
7095
|
+
* zoom된 축에 표시할 수 있는 스크롤바 옵션.<br/>
|
|
7096
|
+
* // TODO #fiddle axis/scrollbar Axis ScrollBar
|
|
6538
7097
|
*/
|
|
6539
7098
|
scrollBar?: AxisScrollBarOptions | boolean;
|
|
6540
7099
|
/**
|
|
@@ -6766,7 +7325,7 @@ interface CategoryAxisOptions extends AxisOptions {
|
|
|
6766
7325
|
startOffset?: number;
|
|
6767
7326
|
}
|
|
6768
7327
|
/**
|
|
6769
|
-
* 연속 축의 {@page config.yAxis.linear#baseValue} 위치에 표시되는 선 설정
|
|
7328
|
+
* 연속 축의 {@page config.yAxis.linear#baseValue} 위치에 표시되는 선 설정 옵션.<br/>
|
|
6770
7329
|
* 기본적으로 표시되지 않는다.
|
|
6771
7330
|
*/
|
|
6772
7331
|
interface AxisBaseLineOptions extends AxisLineOptions {
|
|
@@ -6982,9 +7541,8 @@ interface TimeAxisLabelOptions extends ContinuousAxisLabelOptions {
|
|
|
6982
7541
|
}
|
|
6983
7542
|
interface TimeAxisTickOptions extends ContinuousAxisTickOptions {
|
|
6984
7543
|
/**
|
|
6985
|
-
* @
|
|
6986
|
-
*
|
|
6987
|
-
* 단위가 지정된 문자열로 지정하는 경우 값이 -1 이하이거나 1 이상이어야 한다. #141
|
|
7544
|
+
* @append
|
|
7545
|
+
* 단위가 지정된 문자열로 지정하는 경우 값이 -1 이하이거나 1 이상이어야 한다. // #141
|
|
6988
7546
|
*/
|
|
6989
7547
|
stepInterval: number;
|
|
6990
7548
|
}
|
|
@@ -7006,6 +7564,7 @@ interface TimeAxisOptions extends ContinuousAxisOptions {
|
|
|
7006
7564
|
* @default NaN
|
|
7007
7565
|
*/
|
|
7008
7566
|
baseValue?: number;
|
|
7567
|
+
tick?: TimeAxisTickOptions;
|
|
7009
7568
|
}
|
|
7010
7569
|
type AxisOptionsType = CategoryAxisOptions | LinearAxisOptions | LogAxisOptions | TimeAxisOptions;
|
|
7011
7570
|
|
|
@@ -7061,7 +7620,8 @@ interface ExporterOptions extends ChartItemOptions {
|
|
|
7061
7620
|
}
|
|
7062
7621
|
|
|
7063
7622
|
/**
|
|
7064
|
-
*
|
|
7623
|
+
* 단일 값을 다양한 방식으로 표시한다.<br/>
|
|
7624
|
+
* 또, 단일 계이지들을 여러 개 묶어서 관련된 값을 표시할 수도 있다.
|
|
7065
7625
|
*/
|
|
7066
7626
|
interface GaugeBaseOptions extends ChartItemOptions {
|
|
7067
7627
|
type?: GaugeType;
|
|
@@ -7123,7 +7683,8 @@ interface GaugeBaseOptions extends ChartItemOptions {
|
|
|
7123
7683
|
backgroundStyle?: SVGStyleOrClass;
|
|
7124
7684
|
}
|
|
7125
7685
|
/**
|
|
7126
|
-
*
|
|
7686
|
+
* 단일 값을 다양한 방식으로 표시한다.<br/>
|
|
7687
|
+
*
|
|
7127
7688
|
* @config chart.gauge[base]
|
|
7128
7689
|
*/
|
|
7129
7690
|
interface GaugeOptions extends GaugeBaseOptions {
|
|
@@ -7133,9 +7694,14 @@ interface GaugeOptions extends GaugeBaseOptions {
|
|
|
7133
7694
|
*/
|
|
7134
7695
|
duration?: number;
|
|
7135
7696
|
}
|
|
7697
|
+
/**
|
|
7698
|
+
* 같은 종류의 단일 계이지들을 여러 개 묶어서 관련된 값을 표시한다.<br/>
|
|
7699
|
+
*
|
|
7700
|
+
* @config chart.gaugeGroup[base]
|
|
7701
|
+
*/
|
|
7136
7702
|
interface GaugeGroupOptions<T extends ValueGaugeOptions = ValueGaugeOptions> extends GaugeBaseOptions {
|
|
7137
7703
|
/**
|
|
7138
|
-
* 게이지
|
|
7704
|
+
* 단일 게이지 옵션 배열.
|
|
7139
7705
|
*/
|
|
7140
7706
|
children?: T[];
|
|
7141
7707
|
/**
|
|
@@ -7363,7 +7929,8 @@ interface BulletValueBarOptions extends LinearValueBarOptions {
|
|
|
7363
7929
|
}
|
|
7364
7930
|
declare const BulletGaugeType = "bullet";
|
|
7365
7931
|
/**
|
|
7366
|
-
*
|
|
7932
|
+
* Bullet 게이지.<br/>
|
|
7933
|
+
* {@page op.GaugeOptions#type}은 'bullet'이다.<br/>
|
|
7367
7934
|
* 현재 값을 목표 값과 비교해서 표시한다.
|
|
7368
7935
|
* 또, {@page band}를 같이 표시하면, 여러 값 범위 중 어디에 속한 상태인 지를 나타낼 수 있다.
|
|
7369
7936
|
*
|
|
@@ -7394,7 +7961,6 @@ interface BulletGaugeOptions extends LinearGaugeBaseOptions {
|
|
|
7394
7961
|
/**
|
|
7395
7962
|
* 값 범위 목록.
|
|
7396
7963
|
* 범위별로 다른 스타일을 적용할 수 있다.
|
|
7397
|
-
*
|
|
7398
7964
|
*/
|
|
7399
7965
|
ranges?: ValueRange[];
|
|
7400
7966
|
/**
|
|
@@ -7406,6 +7972,12 @@ interface BulletGaugeOptions extends LinearGaugeBaseOptions {
|
|
|
7406
7972
|
rangeInclusive?: boolean;
|
|
7407
7973
|
}
|
|
7408
7974
|
declare const BulletGaugeGroupType = "bulletgroup";
|
|
7975
|
+
/**
|
|
7976
|
+
* Bullet 게이지그룹.<br/>
|
|
7977
|
+
* {@page op.GaugeOptions#type}은 'bulletgroup'이다.
|
|
7978
|
+
*
|
|
7979
|
+
* @config chart.gauge[type=bulletgroup]
|
|
7980
|
+
*/
|
|
7409
7981
|
interface BulletGaugeGroupOptions extends LinearGaugeGroupBaseOptions<BulletGaugeOptions> {
|
|
7410
7982
|
type?: typeof BulletGaugeGroupType;
|
|
7411
7983
|
/**
|
|
@@ -7835,8 +8407,9 @@ interface CircleGaugePinOptions extends ChartItemOptions {
|
|
|
7835
8407
|
}
|
|
7836
8408
|
declare const CircleGaugeType = "circle";
|
|
7837
8409
|
/**
|
|
7838
|
-
* 원형
|
|
7839
|
-
*
|
|
8410
|
+
* 원형 게이지.<br/>
|
|
8411
|
+
* {@page op.GaugeOptions#type}은 'circle'이다.<br/>
|
|
8412
|
+
* 지정된 최대 각도 내에서 현재 값의 비율을 원호로 표시한다.<br/>
|
|
7840
8413
|
*
|
|
7841
8414
|
* @config chart.gauge[type=circle]
|
|
7842
8415
|
*/
|
|
@@ -7874,6 +8447,12 @@ interface CircleGaugeOptions extends CircularGaugeOptions {
|
|
|
7874
8447
|
pin?: CircleGaugePinOptions | boolean;
|
|
7875
8448
|
}
|
|
7876
8449
|
declare const CircleGaugeGroupType = "circlegroup";
|
|
8450
|
+
/**
|
|
8451
|
+
* Circle 게이지그룹.<br/>
|
|
8452
|
+
* {@page op.GaugeOptions#type}은 'circlegroup'이다.
|
|
8453
|
+
*
|
|
8454
|
+
* @config chart.gauge[type=circlegroup]
|
|
8455
|
+
*/
|
|
7877
8456
|
interface CircleGaugeGroupOptions extends CircularGaugeGroupOptions {
|
|
7878
8457
|
type?: typeof CircleGaugeGroupType;
|
|
7879
8458
|
/**
|
|
@@ -7965,8 +8544,9 @@ interface ClockGaugeLabelOptions extends ChartTextOptions {
|
|
|
7965
8544
|
}
|
|
7966
8545
|
declare const ClockGaugeType = "clock";
|
|
7967
8546
|
/**
|
|
7968
|
-
* 시계
|
|
7969
|
-
*
|
|
8547
|
+
* 시계 게이지.<br/>
|
|
8548
|
+
* {@page op.GaugeOptions#type}은 'clock'이다.
|
|
8549
|
+
* 원형 아날로그 시계를 표시한다.<br/>
|
|
7970
8550
|
*
|
|
7971
8551
|
* @config chart.gauge[type=clock]
|
|
7972
8552
|
*/
|
|
@@ -8056,9 +8636,10 @@ interface ClockGaugeOptions extends GaugeOptions {
|
|
|
8056
8636
|
}
|
|
8057
8637
|
declare const LinearGaugeType = "linear";
|
|
8058
8638
|
/**
|
|
8059
|
-
* 선형
|
|
8639
|
+
* 선형 게이지.<br/>
|
|
8640
|
+
* {@page op.GaugeOptions#type}은 'linear'이다.<br/>
|
|
8060
8641
|
* 현재 값을 선형 막대로 표시한다.
|
|
8061
|
-
* 또, {@page band}를 같이 표시하면, 여러 값 범위 중 어디에 속한 상태인 지를 나타낼 수
|
|
8642
|
+
* 또, {@page band}를 같이 표시하면, 여러 값 범위 중 어디에 속한 상태인 지를 나타낼 수 있다.<br/>
|
|
8062
8643
|
*
|
|
8063
8644
|
* @config chart.gauge[type=linear]
|
|
8064
8645
|
*/
|
|
@@ -8076,6 +8657,12 @@ interface LinearGaugeOptions extends LinearGaugeBaseOptions {
|
|
|
8076
8657
|
band?: GaugeRangeBandOptions | boolean;
|
|
8077
8658
|
}
|
|
8078
8659
|
declare const LinearGaugeGroupType = "lineargroup";
|
|
8660
|
+
/**
|
|
8661
|
+
* 선형 게이지그룹.<br/>
|
|
8662
|
+
* {@page op.GaugeOptions#type}은 'lineargroup'이다.<br/>
|
|
8663
|
+
*
|
|
8664
|
+
* @config chart.gauge[type=lineargroup]
|
|
8665
|
+
*/
|
|
8079
8666
|
interface LinearGaugeGroupOptions extends LinearGaugeGroupBaseOptions<LinearGaugeOptions> {
|
|
8080
8667
|
type?: typeof LinearGaugeGroupType;
|
|
8081
8668
|
band?: GaugeRangeBandOptions;
|
|
@@ -8139,22 +8726,44 @@ interface SplitOptions extends ChartItemOptions {
|
|
|
8139
8726
|
}
|
|
8140
8727
|
|
|
8141
8728
|
/**
|
|
8729
|
+
* 차트 좌표계와 그 방향 및 시리즈와 게이지의 기본 타입을 결정하는 중요한 몇가지 속성들과
|
|
8730
|
+
* 하위 구성 요소들에 대한 옵션들을 설정한다.<br/>
|
|
8731
|
+
* 차트 생성 시 이 옵션 객체를 구성해서 전달해야 한다.
|
|
8732
|
+
*
|
|
8733
|
+
* ```js
|
|
8734
|
+
* const chart = RealChart.createChart(doc, 'div', {
|
|
8735
|
+
* .... // 여기에 설정한다.
|
|
8736
|
+
* });
|
|
8737
|
+
* ```
|
|
8738
|
+
*
|
|
8739
|
+
* {@page https://www.typescriptlang.org/ typescript} 환경에서는 타입을 명시적으로 지정하여
|
|
8740
|
+
* 개발 편집기의 typescript 지원을 받을 수 있으므로
|
|
8741
|
+
* 설정 객체를 별도로 정의할 수 있다.
|
|
8742
|
+
*
|
|
8743
|
+
* ```ts
|
|
8744
|
+
* const config: ChartConfiguration = {
|
|
8745
|
+
* ...
|
|
8746
|
+
* };
|
|
8747
|
+
* const chart = RealChart.createChart(doc, 'div', config);
|
|
8748
|
+
* ```
|
|
8749
|
+
*
|
|
8142
8750
|
* @config chart
|
|
8143
8751
|
*/
|
|
8144
8752
|
interface ChartConfiguration {
|
|
8145
8753
|
/**
|
|
8146
|
-
* 기본 시리즈 type.<br/>
|
|
8147
|
-
* {@page
|
|
8148
|
-
* 시리즈에 type을 지정하지 않으면 이 속성 type의 시리즈로 생성된다.<br/>
|
|
8754
|
+
* 기본 {@page config.base.series 시리즈} type.<br/>
|
|
8755
|
+
* 시리즈에 {@page config.base.series#type}을 지정하지 않으면 이 속성값의 시리즈로 생성된다.<br/>
|
|
8149
8756
|
* [주의] 차트 로딩 후 변경할 수 없다.
|
|
8150
8757
|
*
|
|
8758
|
+
* @default 'bar'
|
|
8151
8759
|
*/
|
|
8152
8760
|
type?: 'bar' | 'barrange' | 'bargroup' | 'bellcurve' | 'boxplot' | 'bubble' | 'bump' | 'candlestick' | 'circlebar' | 'circlebargroup' | 'dumbbell' | 'equalizer' | 'errorbar' | 'funnel' | 'heatmap' | 'histogram' | 'arearange' | 'area' | 'areagroup' | 'line' | 'linegroup' | 'spline' | 'lollipop' | 'ohlc' | 'pareto' | 'pie' | 'piegroup' | 'scatter' | 'treemap' | 'vector' | 'waterfall';
|
|
8153
8761
|
/**
|
|
8154
|
-
* 기본 게이지 type.<br/>
|
|
8762
|
+
* 기본 {@page config.base.gauge 게이지} type.<br/>
|
|
8155
8763
|
* 게이지에 type을 지정하지 않으면 이 속성 type의 시리즈로 생성된다.<br/>
|
|
8156
8764
|
* [주의] 차트 로딩 후 변경할 수 없다.
|
|
8157
8765
|
*
|
|
8766
|
+
* @default 'circle'
|
|
8158
8767
|
*/
|
|
8159
8768
|
gaugeType?: 'circle' | 'bullet' | 'clock' | 'linear';
|
|
8160
8769
|
/**
|
|
@@ -8169,51 +8778,90 @@ interface ChartConfiguration {
|
|
|
8169
8778
|
*
|
|
8170
8779
|
* [주의] 차트 로딩 후 변경할 수 없다.
|
|
8171
8780
|
*
|
|
8781
|
+
* @default false
|
|
8172
8782
|
*/
|
|
8173
8783
|
polar?: boolean;
|
|
8174
8784
|
/**
|
|
8175
8785
|
* {@page polar}가 아닌 기본 직교 좌표계일 때 true로 지정하면 x축이 수직, y축이 수평으로 배치된다.<br/>
|
|
8176
8786
|
* [주의] 차트 로딩 후 변경할 수 없다.
|
|
8177
8787
|
*
|
|
8788
|
+
* @default false
|
|
8178
8789
|
*/
|
|
8179
8790
|
inverted?: boolean;
|
|
8180
8791
|
/**
|
|
8181
|
-
*
|
|
8182
|
-
* 그러므로 보통 숫자로 지정된 날짜값은 utc 값이다.
|
|
8183
|
-
* local 기준으로 표시하기 위해, 숫자로 지정된 날짜값에 더해야 하는 시간을 분단위로 지정한다.<br/>
|
|
8184
|
-
* ex) 한국은 -9 * 60
|
|
8185
|
-
*
|
|
8186
|
-
* 명시적으로 지정하지 않으면 현재 위치에 따른 값으로 자동 설정된다.<br/>
|
|
8187
|
-
* [주의] 차트 로딩 후 변경할 수 없다.
|
|
8188
|
-
*
|
|
8792
|
+
* 이 차트 구성 설정에서 반복 사용할 수 있는 설정 모음.<br/>
|
|
8189
8793
|
*/
|
|
8190
|
-
|
|
8794
|
+
templates?: ConfigObject;
|
|
8191
8795
|
/**
|
|
8192
|
-
*
|
|
8193
|
-
* ex) 0: 일요일, 1: 월요일
|
|
8194
|
-
*
|
|
8195
|
-
* [주의] 차트 로딩 후 변경할 수 없다.
|
|
8196
|
-
*
|
|
8796
|
+
* 차트 전체에 영향을 미치는 옵션들.<br/>
|
|
8197
8797
|
*/
|
|
8198
|
-
startOfWeek?: number;
|
|
8199
|
-
templates?: ConfigObject;
|
|
8200
|
-
assets?: AssetOptionsType | AssetOptionsType[];
|
|
8201
8798
|
options?: ChartOptionsOptions;
|
|
8799
|
+
/**
|
|
8800
|
+
* Asset 목록.<br/>
|
|
8801
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'assets'** 설정이 존재하면 load 후 이 속성으로 설정한다.
|
|
8802
|
+
*/
|
|
8803
|
+
asset?: AssetOptionsType | AssetOptionsType[];
|
|
8804
|
+
/**
|
|
8805
|
+
* 차트 타이틀.<br/>
|
|
8806
|
+
*/
|
|
8202
8807
|
title?: TitleOptions | string;
|
|
8808
|
+
/**
|
|
8809
|
+
* 차트 제목 주위에 표시되는 부제목.<br/>
|
|
8810
|
+
*/
|
|
8203
8811
|
subtitle?: SubtitleOptions | string;
|
|
8812
|
+
/**
|
|
8813
|
+
* 차트 시리즈 구성 등을 직관적으로 이해할 수 있도록 도와주는 범례.<br/>
|
|
8814
|
+
* 시리즈나 데이터포인트 등의 이름과 심볼을 같이 표시할 수 있다.
|
|
8815
|
+
*/
|
|
8204
8816
|
legend?: LegendOptions | boolean;
|
|
8817
|
+
/**
|
|
8818
|
+
* 데이터포인트 뷰에 마우스가 올라가면 표시되는 툴팁 상자.<br/>
|
|
8819
|
+
* {@page guide.tooltip 툴팁 개요} 페이지를 참조한다.
|
|
8820
|
+
*/
|
|
8205
8821
|
tooltip?: TooltipOptions | boolean;
|
|
8822
|
+
/**
|
|
8823
|
+
* 시리즈 또는 시리즈 목록.<br/>
|
|
8824
|
+
*/
|
|
8206
8825
|
series?: SeriesOptionsType | SeriesOptionsType[];
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8826
|
+
/**
|
|
8827
|
+
* x축 또는 x축 목록.<br/>
|
|
8828
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'xAxes'** 항목이 존재하면
|
|
8829
|
+
* 그 항목을 이 속성으로 설정한다.
|
|
8830
|
+
*/
|
|
8831
|
+
xAxis?: AxisOptionsType | AxisOptionsType[];
|
|
8832
|
+
/**
|
|
8833
|
+
* y축 또는 y축 목록.<br/>
|
|
8834
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'yAxes'** 항목이 존재하면
|
|
8835
|
+
* 그 항목을 이 속성으로 설정한다.
|
|
8836
|
+
*/
|
|
8837
|
+
yAxis?: AxisOptionsType | AxisOptionsType[];
|
|
8838
|
+
/**
|
|
8839
|
+
* 게이지 또는 게이지 목록.<br/>
|
|
8840
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'gauges'** 항목이 존재하면
|
|
8841
|
+
* 그 항목을 이 속성으로 설정한다.
|
|
8842
|
+
*/
|
|
8843
|
+
gauge?: GaugeOptionsType | GaugeOptionsType[];
|
|
8844
|
+
/**
|
|
8845
|
+
* 어노테이션 또는 어노테이션 목록.<br/>
|
|
8846
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'annotations'** 항목이 존재하면
|
|
8847
|
+
* 그 항목을 이 속성으로 설정한다.
|
|
8848
|
+
*/
|
|
8849
|
+
annotation?: AnnotationOptionsType | AnnotationOptionsType[];
|
|
8850
|
+
/**
|
|
8851
|
+
* {@page config.base.series 시리즈}나 {@page config.base.gauge 게이지}들이 그려지는 영역.<br/>
|
|
8852
|
+
*/
|
|
8214
8853
|
body?: BodyOptions;
|
|
8215
|
-
|
|
8854
|
+
/**
|
|
8855
|
+
* 시리즈 내비게이터.<br/>
|
|
8856
|
+
*/
|
|
8216
8857
|
seriesNavigator?: SeriesNavigatorOptions | boolean;
|
|
8858
|
+
/**
|
|
8859
|
+
* 분할 모드 설정.<br/>
|
|
8860
|
+
*/
|
|
8861
|
+
split?: SplitOptions;
|
|
8862
|
+
/**
|
|
8863
|
+
* 내보내기 설정.<br/>
|
|
8864
|
+
*/
|
|
8217
8865
|
exporting?: ExporterOptions;
|
|
8218
8866
|
}
|
|
8219
8867
|
|
|
@@ -8600,8 +9248,8 @@ interface IPolar {
|
|
|
8600
9248
|
}
|
|
8601
9249
|
/**
|
|
8602
9250
|
* 시리즈 및 게이지들이 표시되는 영역 모델.<br/>
|
|
8603
|
-
*
|
|
8604
|
-
* {@page config.body} 항목으로 설정한다.
|
|
9251
|
+
* {@page options 옵션} 모델은 {@page op.BodyOptions}이고,
|
|
9252
|
+
* {@page config 차트 설정}에서 {@page config.body 'body'} 항목으로 설정한다.
|
|
8605
9253
|
* ```js
|
|
8606
9254
|
* const config = {
|
|
8607
9255
|
* body: {
|
|
@@ -8620,6 +9268,7 @@ declare class Body<OP extends BodyOptions = BodyOptions> extends ChartItem<OP> i
|
|
|
8620
9268
|
private _radius;
|
|
8621
9269
|
private _centerX;
|
|
8622
9270
|
private _centerY;
|
|
9271
|
+
private _anns;
|
|
8623
9272
|
private _image;
|
|
8624
9273
|
private _zoomButton;
|
|
8625
9274
|
_annotations: AnnotationCollection;
|
|
@@ -8645,7 +9294,6 @@ declare class Body<OP extends BodyOptions = BodyOptions> extends ChartItem<OP> i
|
|
|
8645
9294
|
getAnnotations(): Annotation[];
|
|
8646
9295
|
getAnnotation(name: string): Annotation;
|
|
8647
9296
|
contains(obj: GaugeBase | Series): boolean;
|
|
8648
|
-
protected _doLoadProp(prop: string, value: any): boolean;
|
|
8649
9297
|
protected _doApply(options: BodyOptions): void;
|
|
8650
9298
|
protected _doPrepareRender(chart: IChart): void;
|
|
8651
9299
|
}
|
|
@@ -8792,7 +9440,7 @@ declare class Split extends ChartItem<SplitOptions> {
|
|
|
8792
9440
|
|
|
8793
9441
|
/**
|
|
8794
9442
|
* 차트 제목(title) 모델.<br/>
|
|
8795
|
-
* 설정 {@
|
|
9443
|
+
* 설정 {@page options 옵션}은 {@page op.TitleOptions}이고,
|
|
8796
9444
|
* {@page config.title} 항목으로 설정한다.<br/>
|
|
8797
9445
|
* ```js
|
|
8798
9446
|
* const config = {
|
|
@@ -8854,6 +9502,7 @@ interface IChart {
|
|
|
8854
9502
|
xAxis: IAxis;
|
|
8855
9503
|
yAxis: IAxis;
|
|
8856
9504
|
_subtitle: Subtitle;
|
|
9505
|
+
_legend: Legend;
|
|
8857
9506
|
_tooltip: Tooltip;
|
|
8858
9507
|
_body: Body;
|
|
8859
9508
|
_split: Split;
|
|
@@ -8871,6 +9520,7 @@ interface IChart {
|
|
|
8871
9520
|
seriesByName(series: string): Series;
|
|
8872
9521
|
axisByName(axis: string): Axis;
|
|
8873
9522
|
getAxes(dir: SectionDir, visibleOnly: boolean): Axis[];
|
|
9523
|
+
seriesByPoint(point: DataPoint): Series;
|
|
8874
9524
|
_getGroupType(type: string): any;
|
|
8875
9525
|
_getSeriesType(type: string): any;
|
|
8876
9526
|
_getAxisType(type: string): any;
|
|
@@ -9082,8 +9732,8 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
9082
9732
|
|
|
9083
9733
|
/**
|
|
9084
9734
|
* Annotation 모델들의 기반 클래스.<br/>
|
|
9085
|
-
*
|
|
9086
|
-
* {@page config.annotation} 항목으로 설정한다.
|
|
9735
|
+
* {@page options 옵션} 모델은 {@page op.AnnotationOptions}이고,
|
|
9736
|
+
* {@page config 차트 설정}에서 {@page config.annotation 'annotation'} 항목으로 설정한다.
|
|
9087
9737
|
* ```js
|
|
9088
9738
|
* const config = {
|
|
9089
9739
|
* annotation: [{
|
|
@@ -9092,7 +9742,7 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
9092
9742
|
* }],
|
|
9093
9743
|
* };
|
|
9094
9744
|
* ```
|
|
9095
|
-
* 또, Chart.{@page rc.Chart
|
|
9745
|
+
* 또, Chart.{@page rc.Chart#getannotation getAnnotation}으로
|
|
9096
9746
|
* 모델 객체를 가져올 수 있다.
|
|
9097
9747
|
* ```js
|
|
9098
9748
|
* const annotation = chart.getAnnotation('image1');
|
|
@@ -9158,7 +9808,7 @@ declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptio
|
|
|
9158
9808
|
interface IAnnotationOwner {
|
|
9159
9809
|
chart: IChart;
|
|
9160
9810
|
options: {
|
|
9161
|
-
|
|
9811
|
+
annotation?: AnnotationOptions | AnnotationOptions[];
|
|
9162
9812
|
};
|
|
9163
9813
|
anchorByName(name: string): ChartItem;
|
|
9164
9814
|
}
|
|
@@ -9554,6 +10204,8 @@ declare class Globals {
|
|
|
9554
10204
|
* const chart = RealChart.createChart(documemt, 'div', config);
|
|
9555
10205
|
* ```
|
|
9556
10206
|
*
|
|
10207
|
+
* {@page config 차트 설정} 페이지를 참조한다.
|
|
10208
|
+
*
|
|
9557
10209
|
* @param config 설정 객체.
|
|
9558
10210
|
* @returns 매개 변수 객체를 그대로 리턴한다.
|
|
9559
10211
|
*/
|
|
@@ -9640,8 +10292,8 @@ declare class CategoryAxisGrid extends AxisGrid<AxisGridOptions> {
|
|
|
9640
10292
|
getPoints(axis: CategoryAxis): number[];
|
|
9641
10293
|
}
|
|
9642
10294
|
/**
|
|
9643
|
-
*
|
|
9644
|
-
* {@page op.AxisOptions#type}은
|
|
10295
|
+
* 카테고리 축 모델.<br/>
|
|
10296
|
+
* {@page op.AxisOptions#type}은 {@page config.xAxis.category 'category'}이고,
|
|
9645
10297
|
* {@page options 설정} 모델은 {@page op.CategoryAxisOptions}이다.
|
|
9646
10298
|
*/
|
|
9647
10299
|
declare class CategoryAxis extends Axis<CategoryAxisOptions> {
|
|
@@ -9757,8 +10409,8 @@ interface IAxisBreakSect {
|
|
|
9757
10409
|
len: number;
|
|
9758
10410
|
}
|
|
9759
10411
|
/**
|
|
9760
|
-
* 연속 축의 {@page config.yAxis.linear#baseValue} 위치에 표시되는 선
|
|
9761
|
-
* {@page options} 모델은 {@page op.AxisBaseLineOptions}이다.<br/>
|
|
10412
|
+
* 연속 축의 {@page config.yAxis.linear#baseValue} 위치에 표시되는 선(line) 모델.<br/>
|
|
10413
|
+
* {@page options 옵션} 모델은 {@page op.AxisBaseLineOptions}이다.<br/>
|
|
9762
10414
|
* 기본적으로 표시되지 않는다.
|
|
9763
10415
|
*/
|
|
9764
10416
|
declare class AxisBaseLine extends AxisLine {
|
|
@@ -9811,7 +10463,6 @@ declare abstract class ContinuousAxis<OP extends ContinuousAxisOptions = Continu
|
|
|
9811
10463
|
isBreak(pos: number): boolean;
|
|
9812
10464
|
protected _doApply(options: AxisOptions): void;
|
|
9813
10465
|
continuous(): boolean;
|
|
9814
|
-
contains(value: number): boolean;
|
|
9815
10466
|
isBased(): boolean;
|
|
9816
10467
|
protected _createGrid(): ContinuousAxisGrid;
|
|
9817
10468
|
protected _createTickModel(): ContinuousAxisTick;
|
|
@@ -9851,8 +10502,8 @@ declare abstract class ContinuousAxis<OP extends ContinuousAxisOptions = Continu
|
|
|
9851
10502
|
private $_mergeBreaks;
|
|
9852
10503
|
}
|
|
9853
10504
|
/**
|
|
9854
|
-
* 선형
|
|
9855
|
-
* {@page op.AxisOptions#type}은
|
|
10505
|
+
* 선형 연속 축 모델.<br/>
|
|
10506
|
+
* {@page op.AxisOptions#type}은 {@page config.yAxis.linear 'linear'}이고,
|
|
9856
10507
|
* {@page options 설정} 모델은 {@page op.LinearAxisOptions}이다.
|
|
9857
10508
|
*/
|
|
9858
10509
|
declare class LinearAxis extends ContinuousAxis<LinearAxisOptions> {
|
|
@@ -9896,8 +10547,8 @@ declare class TimeAxisLabel extends ContinuousAxisLabel<TimeAxisLabelOptions> {
|
|
|
9896
10547
|
getTick(index: number, v: any): string;
|
|
9897
10548
|
}
|
|
9898
10549
|
/**
|
|
9899
|
-
*
|
|
9900
|
-
* {@page op.AxisOptions#type}은
|
|
10550
|
+
* 날짜/시간 축 모델.<br/>
|
|
10551
|
+
* {@page op.AxisOptions#type}은 {@page config.xAxis.time 'time'}이고,
|
|
9901
10552
|
* {@page options 설정} 모델은 {@page op.TimeAxisOptions}이다.
|
|
9902
10553
|
*/
|
|
9903
10554
|
declare class TimeAxis extends ContinuousAxis<TimeAxisOptions> {
|
|
@@ -9935,7 +10586,7 @@ declare class LogAxisTick extends ContinuousAxisTick<LogAxisTickOptions> {
|
|
|
9935
10586
|
}
|
|
9936
10587
|
/**
|
|
9937
10588
|
* 로그축 모델.<br/>
|
|
9938
|
-
* {@page op.AxisOptions#type}은
|
|
10589
|
+
* {@page op.AxisOptions#type}은 {@page config.xAxis.log 'log'}이고,
|
|
9939
10590
|
* {@page options 설정} 모델은 {@page op.LogAxisOptions}이다.
|
|
9940
10591
|
*/
|
|
9941
10592
|
declare class LogAxis extends ContinuousAxis<LogAxisOptions> {
|
|
@@ -9987,9 +10638,11 @@ declare class LinePointLabel extends DataPointLabel<LinePointLabelOptions> {
|
|
|
9987
10638
|
getAlignOffset(): number;
|
|
9988
10639
|
}
|
|
9989
10640
|
/**
|
|
9990
|
-
*
|
|
9991
|
-
*
|
|
9992
|
-
*
|
|
10641
|
+
* 라인 시리즈 계열의 기반(base) 클래스.<br/>
|
|
10642
|
+
* {@page options 옵션} 모델은 {@page op.LineSeriesBaseOptions}이다.<br/>
|
|
10643
|
+
* //포인트 label들은 'head', 'foot', 'inside'에 위치할 수 있다.<br/>
|
|
10644
|
+
* //기본값은 'auto'('head'')이다.
|
|
10645
|
+
* //pointLabel.align으로 수평 정렬을 설정할 수있다.
|
|
9993
10646
|
*/
|
|
9994
10647
|
declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSeriesBaseOptions> extends Series<OP> {
|
|
9995
10648
|
static defaults: LineSeriesBaseOptions;
|
|
@@ -10000,7 +10653,6 @@ declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSer
|
|
|
10000
10653
|
[child: string]: ChartItemOptions;
|
|
10001
10654
|
}): void;
|
|
10002
10655
|
/**
|
|
10003
|
-
* @config
|
|
10004
10656
|
*/
|
|
10005
10657
|
get marker(): LineSeriesMarker;
|
|
10006
10658
|
getShape(p: LineSeriesPoint): Shape;
|
|
@@ -10036,8 +10688,8 @@ declare class LineSeriesFlag extends IconedText<LineSeriesFlagOptions> {
|
|
|
10036
10688
|
}
|
|
10037
10689
|
/**
|
|
10038
10690
|
* Line 시리즈.<br/>
|
|
10039
|
-
* {@page op.SeriesOptions#type}은
|
|
10040
|
-
* {@page options} 모델은 {@page op.LineSeriesOptions}이다.
|
|
10691
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.line 'line'}이고,
|
|
10692
|
+
* {@page options 옵션} 모델은 {@page op.LineSeriesOptions}이다.
|
|
10041
10693
|
*/
|
|
10042
10694
|
declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> extends LineSeriesBase<OP> {
|
|
10043
10695
|
static readonly type: string;
|
|
@@ -10055,10 +10707,10 @@ declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> exten
|
|
|
10055
10707
|
protected _doPrepareRender(): void;
|
|
10056
10708
|
}
|
|
10057
10709
|
/**
|
|
10058
|
-
* Spline
|
|
10710
|
+
* Spline 시리즈 모델.<br/>
|
|
10059
10711
|
* {@page lineType} 설정을 무시하고 항상 'spline'으로 표시되는 것 외에는
|
|
10060
10712
|
* {@page LineSeries} 시리즈와 동일하다.<br/>
|
|
10061
|
-
* {@page op.SeriesOptions#type}은
|
|
10713
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.spline 'spline'}이고,
|
|
10062
10714
|
* {@page options 설정} 모델은 {@page op.SplineSeriesOptions}이다.
|
|
10063
10715
|
*/
|
|
10064
10716
|
declare class SplineSeries extends LineSeries<SplineSeriesOptions> {
|
|
@@ -10070,10 +10722,10 @@ declare class AreaSeriesPoint extends LineSeriesPoint {
|
|
|
10070
10722
|
yLow: number;
|
|
10071
10723
|
}
|
|
10072
10724
|
/**
|
|
10073
|
-
* Area
|
|
10725
|
+
* Area 시리즈 모델.<br/>
|
|
10074
10726
|
* 대부분 {@page config.series.line 'line'} 시리즈와 동일하고 라인 아래 부분을 별도의 색상으로 채운다.<br/>
|
|
10075
|
-
* {@page
|
|
10076
|
-
* {@page options
|
|
10727
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.area 'area'}이고,
|
|
10728
|
+
* {@page options 옵션} 모델은 {@page opt.AreaSeriesOptions}이다.
|
|
10077
10729
|
*/
|
|
10078
10730
|
declare class AreaSeries<OP extends AreaSeriesOptions = AreaSeriesOptions> extends LineSeries<OP> {
|
|
10079
10731
|
static readonly type: string;
|
|
@@ -10112,9 +10764,9 @@ declare class AreaRangeSeriesPoint extends AreaSeriesPoint {
|
|
|
10112
10764
|
applyValueRate(prev: any, vr: number): void;
|
|
10113
10765
|
}
|
|
10114
10766
|
/**
|
|
10115
|
-
* AreaRange
|
|
10116
|
-
* {@page op.SeriesOptions#type}은
|
|
10117
|
-
* {@page options
|
|
10767
|
+
* AreaRange 시리즈 모델.<br/>
|
|
10768
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.arearange 'arearange'}이고,
|
|
10769
|
+
* {@page options 옵션} 모델은 {@page op.AreaRangeSeriesOptions}이다.
|
|
10118
10770
|
*/
|
|
10119
10771
|
declare class AreaRangeSeries extends LineSeriesBase<AreaRangeSeriesOptions> {
|
|
10120
10772
|
static readonly type = "arearange";
|
|
@@ -10126,7 +10778,9 @@ declare class AreaRangeSeries extends LineSeriesBase<AreaRangeSeriesOptions> {
|
|
|
10126
10778
|
protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
|
|
10127
10779
|
}
|
|
10128
10780
|
/**
|
|
10129
|
-
* Line
|
|
10781
|
+
* Line 시리즈그룹 모델.<br/>
|
|
10782
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.linegroup 'linegroup'}이고,
|
|
10783
|
+
* {@page options 옵션} 모델은 {@page op.LineSeriesGroupOptions}이다.
|
|
10130
10784
|
*/
|
|
10131
10785
|
declare class LineSeriesGroup extends SeriesGroup<LineSeries, LineSeriesGroupOptions> {
|
|
10132
10786
|
static readonly type = "linegroup";
|
|
@@ -10136,7 +10790,9 @@ declare class LineSeriesGroup extends SeriesGroup<LineSeries, LineSeriesGroupOpt
|
|
|
10136
10790
|
getBaseValue(axis: IAxis): number;
|
|
10137
10791
|
}
|
|
10138
10792
|
/**
|
|
10139
|
-
* Area 시리즈
|
|
10793
|
+
* Area 시리즈 그룹.<br/>
|
|
10794
|
+
* {@page op.SeriesOptions#type}은 **'areagroup'** 이고,
|
|
10795
|
+
* {@page options 옵션} 모델은 {@page op.BarSeriesGroupOptions}이다.
|
|
10140
10796
|
*/
|
|
10141
10797
|
declare class AreaSeriesGroup extends SeriesGroup<AreaSeries, AreaSeriesGroupOptions> {
|
|
10142
10798
|
static readonly type = "areagroup";
|
|
@@ -10147,6 +10803,10 @@ declare class AreaSeriesGroup extends SeriesGroup<AreaSeries, AreaSeriesGroupOpt
|
|
|
10147
10803
|
getBaseValue(axis: IAxis): number;
|
|
10148
10804
|
}
|
|
10149
10805
|
|
|
10806
|
+
/**
|
|
10807
|
+
* Bar 시리즈 계열의 기반(base) 모델.<br/>
|
|
10808
|
+
* {@page options 설정} 모델은 {@page op.BarSeriesBaseOptions}이다.
|
|
10809
|
+
*/
|
|
10150
10810
|
declare abstract class BarSeriesBase<OP extends BarSeriesBaseOptions = BarSeriesBaseOptions> extends BasedSeries<OP> {
|
|
10151
10811
|
static defaults: BarSeriesBaseOptions;
|
|
10152
10812
|
canCategorized(): boolean;
|
|
@@ -10155,8 +10815,8 @@ declare abstract class BarSeriesBase<OP extends BarSeriesBaseOptions = BarSeries
|
|
|
10155
10815
|
protected _getGroupBase(): number;
|
|
10156
10816
|
}
|
|
10157
10817
|
/**
|
|
10158
|
-
* Bar
|
|
10159
|
-
* {@page op.SeriesOptions#type}은
|
|
10818
|
+
* Bar 시리즈 모델.<br/>
|
|
10819
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.bar 'bar'}이고,
|
|
10160
10820
|
* {@page options 설정} 모델은 {@page op.BarSeriesOptions}이다.
|
|
10161
10821
|
*/
|
|
10162
10822
|
declare class BarSeries extends BarSeriesBase<BarSeriesOptions> {
|
|
@@ -10173,9 +10833,9 @@ declare abstract class BarSeriesGroupBase<T extends BarSeriesBase, OP extends Ba
|
|
|
10173
10833
|
protected _doPrepareSeries(series: T[]): void;
|
|
10174
10834
|
}
|
|
10175
10835
|
/**
|
|
10176
|
-
* Bar 시리즈
|
|
10177
|
-
* {@page op.SeriesOptions#type}은
|
|
10178
|
-
* {@page options} 모델은 {@page op.BarSeriesGroupOptions}이다.
|
|
10836
|
+
* Bar 시리즈 그룹.<br/>
|
|
10837
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.bargroup 'bargroup'}이고,
|
|
10838
|
+
* {@page options 옵션} 모델은 {@page op.BarSeriesGroupOptions}이다.
|
|
10179
10839
|
*/
|
|
10180
10840
|
declare class BarSeriesGroup extends BarSeriesGroupBase<BarSeries, BarSeriesGroupOptions> {
|
|
10181
10841
|
static readonly type = "bargroup";
|
|
@@ -10184,9 +10844,9 @@ declare class BarSeriesGroup extends BarSeriesGroupBase<BarSeries, BarSeriesGrou
|
|
|
10184
10844
|
}
|
|
10185
10845
|
|
|
10186
10846
|
/**
|
|
10187
|
-
* BarRange
|
|
10188
|
-
* {@page op.SeriesOptions#type}은
|
|
10189
|
-
* {@page options} 모델은 {@page op.BarRangeSeriesOptions}이다.
|
|
10847
|
+
* BarRange 시리즈 모델.<br/>
|
|
10848
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.barrange 'barrange'}이고,
|
|
10849
|
+
* {@page options 옵션} 모델은 {@page op.BarRangeSeriesOptions}이다.
|
|
10190
10850
|
*/
|
|
10191
10851
|
declare class BarRangeSeries extends LowRangedSeries<BarRangeSeriesOptions> {
|
|
10192
10852
|
static readonly type: string;
|
|
@@ -10203,7 +10863,7 @@ declare class BellCurveSeriesPoint extends AreaSeriesPoint {
|
|
|
10203
10863
|
}
|
|
10204
10864
|
/**
|
|
10205
10865
|
* BellCurve 시리즈.<br/>
|
|
10206
|
-
* {@page op.SeriesOptions#type}은
|
|
10866
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.bellcurve 'bellcurve'}이고,
|
|
10207
10867
|
* {@page options 설정} 모델은 {@page op.BellCurveSeriesOptions}이다.
|
|
10208
10868
|
*/
|
|
10209
10869
|
declare class BellCurveSeries extends AreaSeries<BellCurveSeriesOptions> {
|
|
@@ -10230,13 +10890,15 @@ declare class BoxPlotSeriesPoint extends DataPoint {
|
|
|
10230
10890
|
lowValue: number;
|
|
10231
10891
|
midValue: number;
|
|
10232
10892
|
highValue: number;
|
|
10893
|
+
minLabel: any;
|
|
10233
10894
|
get max(): number;
|
|
10234
10895
|
get maxValue(): number;
|
|
10235
10896
|
lowPos: number;
|
|
10236
10897
|
midPos: number;
|
|
10237
10898
|
highPos: number;
|
|
10238
10899
|
labelCount(): number;
|
|
10239
|
-
|
|
10900
|
+
getPointLabel(index: number): any;
|
|
10901
|
+
getPointText(index: number): any;
|
|
10240
10902
|
protected _assignTo(proxy: any): any;
|
|
10241
10903
|
protected _valuesChangd(prev: any): boolean;
|
|
10242
10904
|
protected _readArray(series: BoxPlotSeries, v: any[]): void;
|
|
@@ -10249,7 +10911,7 @@ declare class BoxPlotSeriesPoint extends DataPoint {
|
|
|
10249
10911
|
}
|
|
10250
10912
|
/**
|
|
10251
10913
|
* {@page https://en.wikipedia.org/wiki/Box_plot BoxPlot} 시리즈.<br/>
|
|
10252
|
-
* {@page op.SeriesOptions#type}은
|
|
10914
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.boxplot 'boxplot'}이고,
|
|
10253
10915
|
* {@page options 설정} 모델은 {@page op.BoxPlotSeriesOptions}이다.
|
|
10254
10916
|
*/
|
|
10255
10917
|
declare class BoxPlotSeries extends LowRangedSeries<BoxPlotSeriesOptions> {
|
|
@@ -10269,7 +10931,7 @@ declare class BoxPlotSeries extends LowRangedSeries<BoxPlotSeriesOptions> {
|
|
|
10269
10931
|
|
|
10270
10932
|
/**
|
|
10271
10933
|
* 버블 시리즈 모델.<br/>
|
|
10272
|
-
* {@page op.SeriesOptions#type}은
|
|
10934
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.bubble 'bubble'}이고,
|
|
10273
10935
|
* {@page options 설정} 모델은 {@page op.BubbleSeriesOptions}이다.
|
|
10274
10936
|
*/
|
|
10275
10937
|
declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
|
|
@@ -10300,7 +10962,7 @@ declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
|
|
|
10300
10962
|
|
|
10301
10963
|
/**
|
|
10302
10964
|
* Bump 시리즈.<br/>
|
|
10303
|
-
* {@page op.SeriesOptions#type}은
|
|
10965
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.bump 'bump'}이고,
|
|
10304
10966
|
* {@page options 설정} 모델은 {@page op.BumpSeriesGroupOptions}이다.
|
|
10305
10967
|
*/
|
|
10306
10968
|
declare class BumpSeriesGroup extends ConstraintSeriesGroup<LineSeries, BumpSeriesGroupOptions> {
|
|
@@ -10335,7 +10997,7 @@ declare class CandlestickSeriesPoint extends DataPoint {
|
|
|
10335
10997
|
}
|
|
10336
10998
|
/**
|
|
10337
10999
|
* Candlestick 시리즈.<br/>
|
|
10338
|
-
* {@page op.SeriesOptions#type}은
|
|
11000
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.candlestick 'candlestick'}이고,
|
|
10339
11001
|
* {@page options 설정} 모델은 {@page op.CandlestickSeriesOptions}이다.
|
|
10340
11002
|
*/
|
|
10341
11003
|
declare class CandlestickSeries<OP extends CandlestickSeriesOptions = CandlestickSeriesOptions> extends LowRangedSeries<OP> {
|
|
@@ -10352,7 +11014,7 @@ declare class CircelBarPointLabel extends DataPointLabel<DataPointLabelOptions>
|
|
|
10352
11014
|
}
|
|
10353
11015
|
/**
|
|
10354
11016
|
* CirleBar 시리즈.<br/>
|
|
10355
|
-
* {@page op.SeriesOptions#type}은
|
|
11017
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.circlebar 'circlebar'}이고,
|
|
10356
11018
|
* {@page options 설정} 모델은 {@page op.CircleBarSeriesOptions}이다.
|
|
10357
11019
|
*/
|
|
10358
11020
|
declare class CircleBarSeries extends BarSeriesBase<CircleBarSeriesOptions> {
|
|
@@ -10361,7 +11023,9 @@ declare class CircleBarSeries extends BarSeriesBase<CircleBarSeriesOptions> {
|
|
|
10361
11023
|
protected _createLabel(chart: IChart): CircelBarPointLabel;
|
|
10362
11024
|
}
|
|
10363
11025
|
/**
|
|
10364
|
-
* CircleBar 시리즈
|
|
11026
|
+
* CircleBar 시리즈 그룹.<br/>
|
|
11027
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.circlebargroup 'circlebargroup'}이고,
|
|
11028
|
+
* {@page options 설정} 모델은 {@page op.CircleBarSeriesGroupOptions}이다.
|
|
10365
11029
|
*/
|
|
10366
11030
|
declare class CircleBarSeriesGroup extends BarSeriesGroupBase<CircleBarSeries, CircleBarSeriesGroupOptions> implements IClusterable {
|
|
10367
11031
|
static readonly type = "circlebargroup";
|
|
@@ -10369,32 +11033,45 @@ declare class CircleBarSeriesGroup extends BarSeriesGroupBase<CircleBarSeries, C
|
|
|
10369
11033
|
protected _canContain(ser: Series): boolean;
|
|
10370
11034
|
}
|
|
10371
11035
|
|
|
11036
|
+
/**
|
|
11037
|
+
* [low, y]
|
|
11038
|
+
* [x, low, y]
|
|
11039
|
+
*/
|
|
11040
|
+
declare class DumbbellSeriesPoint extends RangedPoint {
|
|
11041
|
+
hPoint: number;
|
|
11042
|
+
radius: number;
|
|
11043
|
+
shape: Shape;
|
|
11044
|
+
lowRadius: number;
|
|
11045
|
+
lowShape: Shape;
|
|
11046
|
+
}
|
|
10372
11047
|
declare class DumbbellSeriesMarker extends SeriesMarker<DumbbellSeriesMarkerOptions> {
|
|
10373
11048
|
static defaults: DumbbellSeriesMarkerOptions;
|
|
10374
11049
|
}
|
|
10375
11050
|
/**
|
|
10376
11051
|
* Dumbbell 시리즈.<br/>
|
|
10377
|
-
* {@page op.SeriesOptions#type}은
|
|
11052
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.dumbbell 'dumbbell'}이고,
|
|
10378
11053
|
* {@page options 설정} 모델은 {@page op.DumbbellSeriesOptions}이다.
|
|
10379
11054
|
*/
|
|
10380
|
-
declare class DumbbellSeries extends
|
|
11055
|
+
declare class DumbbellSeries extends LowRangedSeries<DumbbellSeriesOptions> {
|
|
10381
11056
|
static readonly type = "dumbbell";
|
|
10382
11057
|
private _marker;
|
|
11058
|
+
private _lowMarker;
|
|
10383
11059
|
protected _doInitChildren(op: {
|
|
10384
11060
|
[child: string]: ChartItemOptions;
|
|
10385
11061
|
}): void;
|
|
10386
11062
|
get marker(): DumbbellSeriesMarker;
|
|
11063
|
+
get lowMarker(): DumbbellSeriesMarker;
|
|
10387
11064
|
canCategorized(): boolean;
|
|
11065
|
+
protected _getBottomValue(p: DumbbellSeriesPoint): number;
|
|
10388
11066
|
pointLabelCount(): number;
|
|
10389
11067
|
getLabelOff(off: number): number;
|
|
10390
11068
|
protected _createPoint(source: any): DataPoint;
|
|
10391
11069
|
protected _doPrepareRender(): void;
|
|
10392
|
-
collectValues(axis: IAxis, vals: number[]): void;
|
|
10393
11070
|
}
|
|
10394
11071
|
|
|
10395
11072
|
/**
|
|
10396
11073
|
* Bar를 여러 개의 segment로 나눠 표시하는 시리즈.<br/>
|
|
10397
|
-
* {@page op.SeriesOptions#type}은
|
|
11074
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.equalizer 'equalizer'}이고,
|
|
10398
11075
|
* {@page options 설정} 모델은 {@page op.EqualizerSeriesOptions}이다.
|
|
10399
11076
|
*/
|
|
10400
11077
|
declare class EqualizerSeries extends BasedSeries<EqualizerSeriesOptions> {
|
|
@@ -10410,7 +11087,7 @@ declare class EqualizerSeries extends BasedSeries<EqualizerSeriesOptions> {
|
|
|
10410
11087
|
|
|
10411
11088
|
/**
|
|
10412
11089
|
* ErrorBar 시리즈.<br/>
|
|
10413
|
-
* {@page op.SeriesOptions#type}은
|
|
11090
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.errorbar 'errorbar'}이고,
|
|
10414
11091
|
* {@page options 설정} 모델은 {@page op.ErrorbarSeriesOptions}이다.
|
|
10415
11092
|
*/
|
|
10416
11093
|
declare class ErrorBarSeries extends LowRangedSeries<ErrorBarSeriesOptions> {
|
|
@@ -10426,7 +11103,7 @@ declare class ErrorBarSeries extends LowRangedSeries<ErrorBarSeriesOptions> {
|
|
|
10426
11103
|
|
|
10427
11104
|
/**
|
|
10428
11105
|
* Funnel 시리즈 모델.<br/>
|
|
10429
|
-
* {@page op.SeriesOptions#type}은
|
|
11106
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.funnel 'funnel'}이고,
|
|
10430
11107
|
* {@page options 설정} 모델은 {@page op.FunnelSeriesOptions}이다.
|
|
10431
11108
|
*/
|
|
10432
11109
|
declare class FunnelSeries extends WidgetSeries<FunnelSeriesOptions> {
|
|
@@ -10448,7 +11125,7 @@ declare class FunnelSeries extends WidgetSeries<FunnelSeriesOptions> {
|
|
|
10448
11125
|
|
|
10449
11126
|
/**
|
|
10450
11127
|
* Heatmap 시리즈 모델.<br/>
|
|
10451
|
-
* {@page op.SeriesOptions#type}은
|
|
11128
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.heatmap 'heatmap'}이고,
|
|
10452
11129
|
* {@page options 설정} 모델은 {@page op.HeatmapSeriesOptions}이다.
|
|
10453
11130
|
*/
|
|
10454
11131
|
declare class HeatmapSeries extends Series<HeatmapSeriesOptions> {
|
|
@@ -10466,8 +11143,8 @@ declare class HeatmapSeries extends Series<HeatmapSeriesOptions> {
|
|
|
10466
11143
|
}
|
|
10467
11144
|
|
|
10468
11145
|
/**
|
|
10469
|
-
* [Histogram](https://en.wikipedia.org/wiki/Histogram)
|
|
10470
|
-
* {@page op.SeriesOptions#type}은
|
|
11146
|
+
* [Histogram](https://en.wikipedia.org/wiki/Histogram) 시리즈 모델.<br/>
|
|
11147
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.histogram 'histogram'}이고,
|
|
10471
11148
|
* {@page options 설정} 모델은 {@page op.HistogramSeriesOptions}이다.
|
|
10472
11149
|
*/
|
|
10473
11150
|
declare class HistogramSeries extends Series<HistogramSeriesOptions> {
|
|
@@ -10489,8 +11166,8 @@ declare class LollipopSeriesMarker extends SeriesMarker<LollipopSeriesMarkerOpti
|
|
|
10489
11166
|
static defaults: LollipopSeriesMarkerOptions;
|
|
10490
11167
|
}
|
|
10491
11168
|
/**
|
|
10492
|
-
* Lollipop(막대 사탕)
|
|
10493
|
-
* {@page op.SeriesOptions#type}은
|
|
11169
|
+
* Lollipop(막대 사탕) 시리즈 모델.<br/>
|
|
11170
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.lollipop 'lollipop'}이고,
|
|
10494
11171
|
* {@page options 설정} 모델은 {@page op.LollipopSeriesOptions}이다.
|
|
10495
11172
|
*/
|
|
10496
11173
|
declare class LollipopSeries extends BasedSeries<LollipopSeriesOptions> {
|
|
@@ -10507,8 +11184,8 @@ declare class LollipopSeries extends BasedSeries<LollipopSeriesOptions> {
|
|
|
10507
11184
|
}
|
|
10508
11185
|
|
|
10509
11186
|
/**
|
|
10510
|
-
*
|
|
10511
|
-
* {@page op.SeriesOptions#type}은
|
|
11187
|
+
* {@page https://en.wikipedia.org/wiki/Open-high-low-close_chart OHLC} 시리즈 모델.<br/>
|
|
11188
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.ohlc 'ohlc'}이고,
|
|
10512
11189
|
* {@page options 설정} 모델은 {@page op.OhlcSeriesOptions}이다.
|
|
10513
11190
|
*/
|
|
10514
11191
|
declare class OhlcSeries extends CandlestickSeries<OhlcSeriesOptions> {
|
|
@@ -10521,7 +11198,7 @@ declare class ParetoSeriesPoint extends LineSeriesPoint {
|
|
|
10521
11198
|
}
|
|
10522
11199
|
/**
|
|
10523
11200
|
* Pareto 시리즈<br/>
|
|
10524
|
-
* {@page op.SeriesOptions#type}은
|
|
11201
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.pareto 'pareto'}이고,
|
|
10525
11202
|
* {@page options 설정} 모델은 {@page op.ParetoSeriesOptions}이다.
|
|
10526
11203
|
*/
|
|
10527
11204
|
declare class ParetoSeries extends LineSeriesBase<ParetoSeriesOptions> {
|
|
@@ -10559,8 +11236,8 @@ declare class PieSeriesLabel extends DataPointLabel<PieSeriesLabelOptions> {
|
|
|
10559
11236
|
static defaults: PieSeriesLabelOptions;
|
|
10560
11237
|
}
|
|
10561
11238
|
/**
|
|
10562
|
-
* Pie
|
|
10563
|
-
* {@page op.SeriesOptions#type}은
|
|
11239
|
+
* Pie 시리즈 모델.<br/>
|
|
11240
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.pie 'pie'}이고,
|
|
10564
11241
|
* {@page options 설정} 모델은 {@page op.PieSeriesOptions}이다.
|
|
10565
11242
|
*/
|
|
10566
11243
|
declare class PieSeries extends RadialSeries<PieSeriesOptions> {
|
|
@@ -10596,7 +11273,9 @@ declare class PieSeries extends RadialSeries<PieSeriesOptions> {
|
|
|
10596
11273
|
protected _doPrepareRender(): void;
|
|
10597
11274
|
}
|
|
10598
11275
|
/**
|
|
10599
|
-
*
|
|
11276
|
+
* Pie 시리즈그룹 모델.<br/>
|
|
11277
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.piegroup 'piegroup'}이고,
|
|
11278
|
+
* {@page options 옵션} 모델은 {@page op.PieSeriesGroupOptions}이다.
|
|
10600
11279
|
*/
|
|
10601
11280
|
declare class PieSeriesGroup extends SeriesGroup<PieSeries, PieSeriesGroupOptions> {
|
|
10602
11281
|
static readonly type = "piegroup";
|
|
@@ -10618,7 +11297,7 @@ declare class ScatterSeriesPoint extends DataPoint {
|
|
|
10618
11297
|
}
|
|
10619
11298
|
/**
|
|
10620
11299
|
* Scatter 시리즈.<br/>
|
|
10621
|
-
* {@page op.SeriesOptions#type}은
|
|
11300
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.scatter 'scatter'}이고,
|
|
10622
11301
|
* {@page options 설정} 모델은 {@page op.ScatterSeriesOptions}이다.
|
|
10623
11302
|
*/
|
|
10624
11303
|
declare class ScatterSeries extends MarkerSeries<ScatterSeriesOptions> {
|
|
@@ -10692,7 +11371,7 @@ declare class TreeNode {
|
|
|
10692
11371
|
}
|
|
10693
11372
|
/**
|
|
10694
11373
|
* Treemap 시리즈.<br/>
|
|
10695
|
-
* {@page op.SeriesOptions#type}은
|
|
11374
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.treemap 'treemap'}이고,
|
|
10696
11375
|
* {@page options 설정} 모델은 {@page op.TreemapSeriesOptions}이다.
|
|
10697
11376
|
*/
|
|
10698
11377
|
declare class TreemapSeries extends Series<TreemapSeriesOptions> {
|
|
@@ -10730,8 +11409,8 @@ declare class TreemapSeries extends Series<TreemapSeriesOptions> {
|
|
|
10730
11409
|
}
|
|
10731
11410
|
|
|
10732
11411
|
/**
|
|
10733
|
-
* Vector
|
|
10734
|
-
* {@page op.SeriesOptions#type}은
|
|
11412
|
+
* Vector 시리즈 모델.<br/>
|
|
11413
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.vecotor 'vector'}이고,
|
|
10735
11414
|
* {@page options 설정} 모델은 {@page op.VectorSeriesOptions}이다.
|
|
10736
11415
|
*/
|
|
10737
11416
|
declare class VectorSeries extends Series<VectorSeriesOptions> {
|
|
@@ -10750,8 +11429,8 @@ declare class WaterfallSeriesPoint extends DataPoint {
|
|
|
10750
11429
|
parse(series: WaterfallSeries): void;
|
|
10751
11430
|
}
|
|
10752
11431
|
/**
|
|
10753
|
-
* 폭포(Waterfall)
|
|
10754
|
-
* {@page op.SeriesOptions#type}은
|
|
11432
|
+
* 폭포(Waterfall) 시리즈 모델.<br/>
|
|
11433
|
+
* {@page op.SeriesOptions#type}은 {@page config.series.waterfall 'waterfall'}이고,
|
|
10755
11434
|
* {@page options 설정} 모델은 {@page op.WaterfallSeriesOptions}이다.
|
|
10756
11435
|
*/
|
|
10757
11436
|
declare class WaterfallSeries extends RangedSeries<WaterfallSeriesOptions> {
|
|
@@ -11012,10 +11691,12 @@ declare abstract class LinearGaugeGroupBase<T extends LinearGaugeBase = LinearGa
|
|
|
11012
11691
|
/**
|
|
11013
11692
|
* 선형 그룹게이지 모델.<br/>
|
|
11014
11693
|
* {@page options} 모델은 {@page op.LinearGaugeGroupOptions}이다.
|
|
11694
|
+
*
|
|
11695
|
+
* @config chart.gauge[type=lineargroup]
|
|
11015
11696
|
*/
|
|
11016
11697
|
declare class LinearGaugeGroup extends LinearGaugeGroupBase<LinearGauge, LinearGaugeGroupOptions> {
|
|
11017
11698
|
static readonly type = "lineargroup";
|
|
11018
|
-
static readonly gaugeType = "
|
|
11699
|
+
static readonly gaugeType = "linear";
|
|
11019
11700
|
private _band;
|
|
11020
11701
|
protected _doInitChildren(op: {
|
|
11021
11702
|
[child: string]: ChartItemOptions;
|
|
@@ -11065,7 +11746,7 @@ declare class BulletValueBar extends LinearValueBar<BulletValueBarOptions> {
|
|
|
11065
11746
|
}
|
|
11066
11747
|
/**
|
|
11067
11748
|
* Bullet 게이지 모델.<br/>
|
|
11068
|
-
* {@page op.GaugeOptions#type}은
|
|
11749
|
+
* {@page op.GaugeOptions#type}은 {@page config.gauge.bullet 'bullet'}이고,
|
|
11069
11750
|
* {@page options 설정} 모델은 {@page op.BulletGaugeOptions}이다.
|
|
11070
11751
|
*/
|
|
11071
11752
|
declare class BulletGauge extends LinearGaugeBase<BulletGaugeOptions> {
|
|
@@ -11098,7 +11779,8 @@ declare class BulletGauge extends LinearGaugeBase<BulletGaugeOptions> {
|
|
|
11098
11779
|
getRanges(min: number, max: number, inclusive: boolean): ValueRange[];
|
|
11099
11780
|
}
|
|
11100
11781
|
/**
|
|
11101
|
-
* Bullet
|
|
11782
|
+
* Bullet 게이지그룹 모델.<br/>
|
|
11783
|
+
* {@page op.GaugeOptions#type}은 {@page config.gauge.bulletgroup 'bulletgroup'}이고,
|
|
11102
11784
|
* {@page options} 모델은 {@page op.BulletGaugeGroupOptions}이다.
|
|
11103
11785
|
*/
|
|
11104
11786
|
declare class BulletGaugeGroup extends LinearGaugeGroupBase<BulletGauge, BulletGaugeGroupOptions> {
|
|
@@ -11256,7 +11938,7 @@ declare class ClockGauge extends Gauge<ClockGaugeOptions> {
|
|
|
11256
11938
|
|
|
11257
11939
|
/**
|
|
11258
11940
|
* Text Annotation 모델.<br/>
|
|
11259
|
-
* {@page op.AnnotationOptions#type}은
|
|
11941
|
+
* {@page op.AnnotationOptions#type}은 {@page config.annotation.text 'text'}이고,,
|
|
11260
11942
|
* {@page options 설정} 모델은 {@page op.TextAnnotationOptions}이다.
|
|
11261
11943
|
*/
|
|
11262
11944
|
declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
|
|
@@ -11272,7 +11954,7 @@ declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
|
|
|
11272
11954
|
|
|
11273
11955
|
/**
|
|
11274
11956
|
* 이미지 Annotation 모델.<br/>
|
|
11275
|
-
* {@page op.AnnotationOptions#type}은
|
|
11957
|
+
* {@page op.AnnotationOptions#type}은 {@page config.annotation.image 'image'}이고,,
|
|
11276
11958
|
* {@page options 설정} 모델은 {@page op.ImageAnnotationOptions}이다.
|
|
11277
11959
|
*/
|
|
11278
11960
|
declare class ImageAnnotation extends Annotation<ImageAnnotationOptions> {
|
|
@@ -11283,7 +11965,7 @@ declare class ImageAnnotation extends Annotation<ImageAnnotationOptions> {
|
|
|
11283
11965
|
|
|
11284
11966
|
/**
|
|
11285
11967
|
* Shape Annotation 모델.<br/>
|
|
11286
|
-
* {@page op.AnnotationOptions#type}은
|
|
11968
|
+
* {@page op.AnnotationOptions#type}은 {@page config.annotation.shape 'shape'}이고,,
|
|
11287
11969
|
* {@page options 설정} 모델은 {@page op.ShapeAnnotationOptions}이다.
|
|
11288
11970
|
*/
|
|
11289
11971
|
declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|