realchart 1.1.5 → 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 +157 -103
- 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
|
@@ -290,7 +290,7 @@ declare const _ChartTextEffect: {
|
|
|
290
290
|
/**
|
|
291
291
|
* 텍스트 배경 상자를 표시한다.<br/>
|
|
292
292
|
* 배경 상자에 {@page backgroundStyle}이 적용된다.
|
|
293
|
-
* 스타일이 적용되지 않으면 기본 'rct-text-background'
|
|
293
|
+
* 스타일이 적용되지 않으면 기본 'rct-text-background'가 적용된다.
|
|
294
294
|
*/
|
|
295
295
|
readonly BACKGROUND: "background";
|
|
296
296
|
};
|
|
@@ -467,11 +467,10 @@ interface ChartTextOptions extends ChartItemOptions {
|
|
|
467
467
|
*/
|
|
468
468
|
backgroundStyle?: SVGStyleOrClass;
|
|
469
469
|
/**
|
|
470
|
-
* 텍스트가 data point 내부에 표시되는 경우 포인트 색상과 대조되도록
|
|
471
|
-
* <br>
|
|
470
|
+
* 텍스트가 data point 내부에 표시되는 경우 포인트 색상과 대조되도록 표시한다.<br/>
|
|
472
471
|
* 밝게 표시할 때는 {@page lightStyle}을 적용하고,
|
|
473
472
|
* 어둡게 표시할 때는 {@page darkStyle}이 적용된다.
|
|
474
|
-
*
|
|
473
|
+
* lightStyle이 지정되지 않으면 'rct-text-light'이,
|
|
475
474
|
* darkStyle이 지정되지 않으면 'rct-text-dark'가 기본 적용된다.
|
|
476
475
|
*
|
|
477
476
|
* @default true
|
|
@@ -594,15 +593,19 @@ declare const _AnnotationScope: {
|
|
|
594
593
|
};
|
|
595
594
|
type AnnotationScope = typeof _AnnotationScope[keyof typeof _AnnotationScope];
|
|
596
595
|
/**
|
|
597
|
-
*
|
|
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/>
|
|
598
600
|
*
|
|
599
601
|
* @config chart.annotation[base]
|
|
600
602
|
*/
|
|
601
603
|
interface AnnotationOptions extends ChartItemOptions {
|
|
602
604
|
type?: AnnotationType;
|
|
603
605
|
/**
|
|
604
|
-
* true로 지정하면
|
|
606
|
+
* true로 지정하면 시리즈나 게이지들 위에 표시된다.<br/>
|
|
605
607
|
*
|
|
608
|
+
* @default false
|
|
606
609
|
*/
|
|
607
610
|
front?: boolean;
|
|
608
611
|
/**
|
|
@@ -615,13 +618,11 @@ interface AnnotationOptions extends ChartItemOptions {
|
|
|
615
618
|
/**
|
|
616
619
|
* 어노테이션 배치 기준이 되는 차트 구성 요소.<br/>
|
|
617
620
|
* 현재, 같은 영역(body 혹은 chart)에 포함된 {@page config.base.gauge 게이지}나 다른 어노테이션의 {@page name 이름}을 지정할 수 있다.
|
|
618
|
-
*
|
|
619
621
|
*/
|
|
620
622
|
anchor?: string;
|
|
621
623
|
/**
|
|
622
624
|
* 수평 배치.<br/>
|
|
623
625
|
*
|
|
624
|
-
*
|
|
625
626
|
* @default 'left' anchor가 지정되면 'center', 아니면 'left'
|
|
626
627
|
*/
|
|
627
628
|
align?: Align;
|
|
@@ -650,7 +651,6 @@ interface AnnotationOptions extends ChartItemOptions {
|
|
|
650
651
|
/**
|
|
651
652
|
* 회전 각도.<br/>
|
|
652
653
|
* 0 ~ 360 사이의 값으로 지정한다.
|
|
653
|
-
*
|
|
654
654
|
*/
|
|
655
655
|
rotation?: number;
|
|
656
656
|
/**
|
|
@@ -663,54 +663,46 @@ interface AnnotationOptions extends ChartItemOptions {
|
|
|
663
663
|
/**
|
|
664
664
|
* 배경 스타일.<br/>
|
|
665
665
|
* 경계 및 배경 색, padding 스타일을 지정할 수 있다.
|
|
666
|
-
*
|
|
667
666
|
*/
|
|
668
667
|
backgroundStyle?: SVGStyleOrClass;
|
|
669
668
|
/**
|
|
670
669
|
* true로 지정하면 상위 영역을 벗어난 부분도 표시되게 한다.<br/>
|
|
671
670
|
* body에 포함된 경우 body 영역,
|
|
672
671
|
* chart에 포함되고 scope이 'chart'일 때 chart 영역.
|
|
673
|
-
*
|
|
674
672
|
*/
|
|
675
673
|
noClip?: boolean;
|
|
676
674
|
/**
|
|
677
675
|
* body 어노테이션일 경우,
|
|
678
676
|
* x 축을 기준으로 지정하는 수평(inverted일 때 수직) 위치.<br/>
|
|
679
677
|
* chart에 지정된 어노테이션에서는 무시된다.
|
|
680
|
-
*
|
|
681
678
|
*/
|
|
682
679
|
x1?: number | Date;
|
|
683
680
|
/**
|
|
684
681
|
* body 어노테이션일 경우,
|
|
685
682
|
* x 축을 기준으로 지정하는 수평(inverted일 때 수직) 위치.<br/>
|
|
686
683
|
* chart에 지정된 어노테이션에서는 무시된다.
|
|
687
|
-
*
|
|
688
684
|
*/
|
|
689
685
|
x2?: number | Date;
|
|
690
686
|
/**
|
|
691
687
|
* body 어노테이션일 경우,
|
|
692
688
|
* y 축을 기준으로 지정하는 수직(inverted일 때 수평) 위치.<br/>
|
|
693
689
|
* chart에 지정된 어노테이션에서는 무시된다.
|
|
694
|
-
*
|
|
695
690
|
*/
|
|
696
691
|
y1?: number | Date;
|
|
697
692
|
/**
|
|
698
693
|
* body 어노테이션일 경우,
|
|
699
694
|
* y 축을 기준으로 지정하는 수직(inverted일 때 수평) 위치.<br/>
|
|
700
695
|
* chart에 지정된 어노테이션에서는 무시된다.
|
|
701
|
-
*
|
|
702
696
|
*/
|
|
703
697
|
y2?: number | Date;
|
|
704
698
|
/**
|
|
705
699
|
* Annotation 너비.<br/>
|
|
706
700
|
* 픽셀 단위의 고정 값이나, plot 영역에 대한 상태 크기롤 지정할 수 있다.
|
|
707
|
-
*
|
|
708
701
|
*/
|
|
709
702
|
width?: PercentSize;
|
|
710
703
|
/**
|
|
711
704
|
* Annotation 높이.<br/>
|
|
712
705
|
* 픽셀 단위의 고정 값이나, plot 영역에 대한 상태 크기롤 지정할 수 있다.
|
|
713
|
-
*
|
|
714
706
|
*/
|
|
715
707
|
height?: PercentSize;
|
|
716
708
|
}
|
|
@@ -1127,6 +1119,9 @@ declare class RcElement extends RcObject {
|
|
|
1127
1119
|
appendDom(dom: Node): Node;
|
|
1128
1120
|
insertDom(dom: Node, before: Node): Node;
|
|
1129
1121
|
clearDom(): void;
|
|
1122
|
+
containsClass(selector: string): boolean;
|
|
1123
|
+
addClass(selector: string): this;
|
|
1124
|
+
removeClass(selector: string): this;
|
|
1130
1125
|
private _saveStyle;
|
|
1131
1126
|
private _saveClass;
|
|
1132
1127
|
saveStyles(): void;
|
|
@@ -1567,15 +1562,15 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1567
1562
|
*/
|
|
1568
1563
|
hoverEffect?: 'none' | 'default';
|
|
1569
1564
|
/**
|
|
1570
|
-
* 데이터포인트 위에 마우스가 있을 때 적용되는 스타일셋 혹은 class selector
|
|
1565
|
+
* 데이터포인트 위에 마우스가 있을 때 적용되는 스타일셋 혹은 class selector.<br/>
|
|
1571
1566
|
*/
|
|
1572
1567
|
hoverStyle?: SVGStyleOrClass;
|
|
1573
1568
|
/**
|
|
1574
|
-
*
|
|
1569
|
+
* 데이터포인트의 동적 스타일 콜백.<br/>
|
|
1575
1570
|
*/
|
|
1576
1571
|
pointStyleCallback?: PointStyleCallback;
|
|
1577
1572
|
/**
|
|
1578
|
-
* 데이터포인트들이 새로 로드된 후
|
|
1573
|
+
* 데이터포인트들이 새로 로드된 후 호출된다.<br/>
|
|
1579
1574
|
*/
|
|
1580
1575
|
onPointsLoaded?: (series: object, firstTime: boolean) => void;
|
|
1581
1576
|
/**
|
|
@@ -1692,11 +1687,16 @@ declare const _SeriesGroupLayout: {
|
|
|
1692
1687
|
readonly FILL: "fill";
|
|
1693
1688
|
};
|
|
1694
1689
|
type SeriesGroupLayout = typeof _SeriesGroupLayout[keyof typeof _SeriesGroupLayout];
|
|
1690
|
+
/**
|
|
1691
|
+
* 같은 종류의 단일 시리즈들을 여러 개 묶어서 표시한다.<br/>
|
|
1692
|
+
*
|
|
1693
|
+
* @config chart.seriesGroup[base]
|
|
1694
|
+
*/
|
|
1695
1695
|
interface SeriesGroupOptions<T extends SeriesOptions = SeriesOptions> extends ChartItemOptions {
|
|
1696
1696
|
row?: number;
|
|
1697
1697
|
col?: number;
|
|
1698
1698
|
/**
|
|
1699
|
-
* 시리즈
|
|
1699
|
+
* 단일 시리즈 옵션 배열.
|
|
1700
1700
|
*/
|
|
1701
1701
|
children?: T[];
|
|
1702
1702
|
/**
|
|
@@ -1812,17 +1812,23 @@ interface BarSeriesGroupBaseOptions<T extends BarSeriesBaseOptions> extends Clus
|
|
|
1812
1812
|
*/
|
|
1813
1813
|
baseValue?: number;
|
|
1814
1814
|
}
|
|
1815
|
+
/**
|
|
1816
|
+
* {@page config.series.dumbbell} 시리즈 등 데이터포인트 뷰에 표시되는 마커 옵션.<br/>
|
|
1817
|
+
*/
|
|
1815
1818
|
interface SeriesMarkerOptions extends ChartItemOptions {
|
|
1816
1819
|
/**
|
|
1817
1820
|
* 명시적으로 지정하지 않으면 typeIndex에 따라 Shapes 중 하나로 돌아가면서 설정된다.
|
|
1818
|
-
*
|
|
1819
1821
|
*/
|
|
1820
1822
|
shape?: Shape;
|
|
1821
1823
|
/**
|
|
1822
1824
|
* {@page shape}의 반지름.
|
|
1823
|
-
*
|
|
1824
1825
|
*/
|
|
1825
1826
|
radius?: number;
|
|
1827
|
+
/**
|
|
1828
|
+
* 데이터포인트 마커의 동적 스타일 콜백.<br/>
|
|
1829
|
+
* 이 콜백에서 리턴되는 스타일이 가장 우선적으로 적용된다.
|
|
1830
|
+
*/
|
|
1831
|
+
styleCallback?: PointStyleCallback;
|
|
1826
1832
|
}
|
|
1827
1833
|
interface MarkerSeriesOptions extends SeriesOptions {
|
|
1828
1834
|
/**
|
|
@@ -1914,6 +1920,9 @@ interface LineSeriesMarkerOptions extends SeriesMarkerOptions {
|
|
|
1914
1920
|
* //pointLabel.align으로 수평 정렬을 설정할 수있다.
|
|
1915
1921
|
*/
|
|
1916
1922
|
interface LineSeriesBaseOptions extends SeriesOptions {
|
|
1923
|
+
/**
|
|
1924
|
+
* marker 옵션.<br/>
|
|
1925
|
+
*/
|
|
1917
1926
|
marker?: LineSeriesMarkerOptions;
|
|
1918
1927
|
/**
|
|
1919
1928
|
* null인 y값을 {@page baseValue}로 간주한다.
|
|
@@ -2486,7 +2495,7 @@ declare const BumpSeriesType = "bump";
|
|
|
2486
2495
|
*
|
|
2487
2496
|
* @config chart.series[type=bump]
|
|
2488
2497
|
*/
|
|
2489
|
-
interface BumpSeriesGroupOptions extends SeriesGroupOptions {
|
|
2498
|
+
interface BumpSeriesGroupOptions extends SeriesGroupOptions<LineSeriesMarkerOptions> {
|
|
2490
2499
|
type?: typeof BumpSeriesType;
|
|
2491
2500
|
}
|
|
2492
2501
|
/**
|
|
@@ -2608,12 +2617,12 @@ interface DumbbellSeriesMarkerOptions extends SeriesMarkerOptions {
|
|
|
2608
2617
|
* @override
|
|
2609
2618
|
* @default 4
|
|
2610
2619
|
*/
|
|
2611
|
-
radius
|
|
2620
|
+
radius?: number;
|
|
2612
2621
|
/**
|
|
2613
2622
|
* @override
|
|
2614
2623
|
* @default 'circle'
|
|
2615
2624
|
*/
|
|
2616
|
-
shape
|
|
2625
|
+
shape?: Shape;
|
|
2617
2626
|
}
|
|
2618
2627
|
declare const DumbbellSeriesType = "dumbbell";
|
|
2619
2628
|
/**
|
|
@@ -2646,10 +2655,10 @@ declare const DumbbellSeriesType = "dumbbell";
|
|
|
2646
2655
|
*
|
|
2647
2656
|
* @config chart.series[type=dumbbell]
|
|
2648
2657
|
*/
|
|
2649
|
-
interface DumbbellSeriesOptions extends
|
|
2658
|
+
interface DumbbellSeriesOptions extends LowRangedSeriesOptions {
|
|
2650
2659
|
type?: typeof DumbbellSeriesType;
|
|
2651
|
-
|
|
2652
|
-
|
|
2660
|
+
marker?: DumbbellSeriesMarkerOptions;
|
|
2661
|
+
lowMarker?: DumbbellSeriesMarkerOptions;
|
|
2653
2662
|
}
|
|
2654
2663
|
declare const EqualizerSeriesType = "equalizer";
|
|
2655
2664
|
/**
|
|
@@ -3621,7 +3630,7 @@ declare const _SubtitlePosition: {
|
|
|
3621
3630
|
};
|
|
3622
3631
|
type SubtitlePosition = typeof _SubtitlePosition[keyof typeof _SubtitlePosition];
|
|
3623
3632
|
/**
|
|
3624
|
-
* 차트 부제목
|
|
3633
|
+
* 차트 제목 주위에 표시되는 부제목 옵션.<br/>
|
|
3625
3634
|
* 기본적으로 주제목(title)의 설정을 따르고, 몇가지 속성들이 추가된다.<br/>
|
|
3626
3635
|
* 별도 설정이 없으면 표시되지 않는다.
|
|
3627
3636
|
*
|
|
@@ -3779,7 +3788,7 @@ interface ZoomButtonOptions extends ChartItemOptions {
|
|
|
3779
3788
|
visible?: boolean;
|
|
3780
3789
|
}
|
|
3781
3790
|
/**
|
|
3782
|
-
* 시리즈
|
|
3791
|
+
* {@page config.base.series 시리즈}나 {@page config.base.gauge 게이지}들이 그려지는 영역 설정 옵션.<br/>
|
|
3783
3792
|
*
|
|
3784
3793
|
* ```js
|
|
3785
3794
|
* const chart = {
|
|
@@ -3846,11 +3855,12 @@ interface NavigiatorHandleOptions extends ChartItemOptions {
|
|
|
3846
3855
|
interface NavigiatorMaskOptions extends ChartItemOptions {
|
|
3847
3856
|
}
|
|
3848
3857
|
/**
|
|
3849
|
-
* 시리즈 내비게이터
|
|
3850
|
-
* 내비게이터에 표시되는 시리즈는 기본적으로 'area' 시리즈로 표시되지만,
|
|
3851
|
-
* '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/>
|
|
3852
3862
|
* 내비게이터의 x축 종류는 명시적으로 설정하지 않으면 소스 시리즈의 x축 type을 따라간다.
|
|
3853
|
-
* y축은 항상 'linear'로 생성된다.
|
|
3863
|
+
* y축은 항상 {@page config.yAxis.linear 'linear'}로 생성된다.
|
|
3854
3864
|
*
|
|
3855
3865
|
* @config chart.seriesNavigator
|
|
3856
3866
|
*/
|
|
@@ -4061,7 +4071,8 @@ declare const _TooltipScope: {
|
|
|
4061
4071
|
};
|
|
4062
4072
|
type TooltipScope = typeof _TooltipScope[keyof typeof _TooltipScope];
|
|
4063
4073
|
/**
|
|
4064
|
-
* 데이터포인트
|
|
4074
|
+
* 데이터포인트 뷰에 마우스가 올라가면 표시되는 툴팁 상자 옵션.<br/>
|
|
4075
|
+
* {@page guide.tooltip 툴팁 개요} 페이지를 참조한다.
|
|
4065
4076
|
*
|
|
4066
4077
|
* @css 'rct-tooltip'
|
|
4067
4078
|
* @config chart.tooltip
|
|
@@ -4769,8 +4780,9 @@ declare const _LegendLocation: {
|
|
|
4769
4780
|
};
|
|
4770
4781
|
type LegendLocation = typeof _LegendLocation[keyof typeof _LegendLocation];
|
|
4771
4782
|
/**
|
|
4772
|
-
* 차트 시리즈
|
|
4773
|
-
*
|
|
4783
|
+
* 차트 시리즈 구성 등을 직관적으로 이해할 수 있도록 도와주는 범례 설정 옵션.<br/>
|
|
4784
|
+
* 시리즈나 데이터포인트 등의 이름과 심볼을 같이 표시할 수 있다.<br/>
|
|
4785
|
+
* {@page visible} 기본값이 undefined이고,
|
|
4774
4786
|
* 따로 지정하지 않으면 시리즈가 둘 이상 포함돼야 legend가 표시된다.<br/>
|
|
4775
4787
|
* {@page guide.legend 범례 개요} 페이지를 참조한다.
|
|
4776
4788
|
*
|
|
@@ -4782,7 +4794,7 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
4782
4794
|
* @override
|
|
4783
4795
|
*
|
|
4784
4796
|
* 명시적 true로 지정하고 항목이 하나라도 존재하거나,
|
|
4785
|
-
* 명시적 false가 아닌 경우 항목이 둘 이상이면
|
|
4797
|
+
* 명시적 false가 아닌 경우 항목이 둘 이상이면 표시된다.<br/>
|
|
4786
4798
|
*
|
|
4787
4799
|
* @fiddle common/legend-visible Legend Visible
|
|
4788
4800
|
* @default undefined
|
|
@@ -4793,114 +4805,127 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
4793
4805
|
*/
|
|
4794
4806
|
reversed?: boolean;
|
|
4795
4807
|
/**
|
|
4796
|
-
* 표시
|
|
4808
|
+
* 표시 위치.<br/>
|
|
4797
4809
|
*
|
|
4810
|
+
* @default 'bottom'
|
|
4798
4811
|
*/
|
|
4799
4812
|
location?: LegendLocation;
|
|
4800
4813
|
/**
|
|
4801
|
-
* item 배치
|
|
4814
|
+
* item 배치 방향.<br/>
|
|
4802
4815
|
*
|
|
4816
|
+
* @default 'auto'
|
|
4803
4817
|
*/
|
|
4804
4818
|
layout?: LegendLayout;
|
|
4805
4819
|
/**
|
|
4806
|
-
* legend 정렬
|
|
4820
|
+
* legend 정렬 기준.<br/>
|
|
4807
4821
|
*
|
|
4822
|
+
* @default 'body'
|
|
4808
4823
|
*/
|
|
4809
4824
|
alignBase?: AlignBase;
|
|
4810
4825
|
/**
|
|
4811
4826
|
* {@page location}이 'body'가 아닐 때,
|
|
4812
|
-
* legend view와 나머지 chart 영역 사이의 gap
|
|
4827
|
+
* legend view와 나머지 chart 영역 사이의 gap.<br/>
|
|
4813
4828
|
*
|
|
4829
|
+
* @default 6 (픽셀)
|
|
4814
4830
|
*/
|
|
4815
4831
|
gap?: number;
|
|
4816
4832
|
/**
|
|
4817
|
-
* legend 아이템들 사이의
|
|
4833
|
+
* legend 아이템들 사이의 간격.<br/>
|
|
4818
4834
|
*
|
|
4835
|
+
* @default 8 (픽셀)
|
|
4819
4836
|
*/
|
|
4820
4837
|
itemGap?: number;
|
|
4821
4838
|
/**
|
|
4822
|
-
* marker 표시
|
|
4839
|
+
* marker 표시 여부.<br/>
|
|
4823
4840
|
*
|
|
4841
|
+
* @default true
|
|
4824
4842
|
*/
|
|
4825
4843
|
markerVisible?: boolean;
|
|
4826
4844
|
/**
|
|
4827
|
-
* marker
|
|
4845
|
+
* marker 크기.<br/>
|
|
4828
4846
|
*
|
|
4829
|
-
* @default 10
|
|
4847
|
+
* @default 10 (픽셀).
|
|
4830
4848
|
*/
|
|
4831
4849
|
markerSize?: number;
|
|
4832
4850
|
/**
|
|
4833
|
-
* marker와 text사이의
|
|
4851
|
+
* marker와 text사이의 간격.<br/>
|
|
4834
4852
|
*
|
|
4853
|
+
* @default 4 (픽셀).
|
|
4835
4854
|
*/
|
|
4836
4855
|
markerGap?: number;
|
|
4837
4856
|
/**
|
|
4838
|
-
* 배경 스타일
|
|
4857
|
+
* 배경 스타일 셋.<br/>
|
|
4839
4858
|
* 배경 색상 및 경계선 스타일을 지정할 수 있다.
|
|
4840
|
-
*
|
|
4841
4859
|
*/
|
|
4842
4860
|
backgroundStyle?: SVGStyleOrClass;
|
|
4843
4861
|
/**
|
|
4844
|
-
* 한 줄 당 표시할 최대 legend 항목
|
|
4845
|
-
*
|
|
4862
|
+
* 한 줄 당 표시할 최대 legend 항목 수.<br/>
|
|
4846
4863
|
*/
|
|
4847
4864
|
itemsPerLine?: number;
|
|
4848
4865
|
/**
|
|
4849
|
-
* 라인 사이의
|
|
4866
|
+
* 라인 사이의 간격.<br/>
|
|
4850
4867
|
*
|
|
4868
|
+
* @default 4 (픽셀).
|
|
4851
4869
|
*/
|
|
4852
4870
|
lineGap?: number;
|
|
4853
4871
|
/**
|
|
4854
4872
|
* 수평 {@page layout 배치}일 때,
|
|
4855
|
-
* 최대 너비를 픽셀 단위의 크기 혹은 body 너비에 대한 상대 길이를 '%'로
|
|
4856
|
-
*
|
|
4873
|
+
* 최대 너비를 픽셀 단위의 크기 혹은 body 너비에 대한 상대 길이를 '%'로 지정한다.<br/>
|
|
4857
4874
|
*/
|
|
4858
4875
|
maxWidth?: PercentSize;
|
|
4859
4876
|
/**
|
|
4860
4877
|
* 수직 {@page layout 배치}일 때,
|
|
4861
|
-
* 최대 높이를 픽셀 단위의 크기 혹은 body 높이에 대한 상대 길이를 '%'로
|
|
4862
|
-
*
|
|
4878
|
+
* 최대 높이를 픽셀 단위의 크기 혹은 body 높이에 대한 상대 길이를 '%'로 지정한다.<br/>
|
|
4863
4879
|
*/
|
|
4864
4880
|
maxHeight?: PercentSize;
|
|
4865
4881
|
/**
|
|
4866
|
-
* 수평
|
|
4882
|
+
* 수평 배치.<br/>
|
|
4867
4883
|
* 값을 지정하지 않으면, 기본값이 {@page location}이 'body'일 때는 'left',
|
|
4868
|
-
* 'left', 'right'일 때는 'center'
|
|
4869
|
-
*
|
|
4884
|
+
* 'left', 'right'일 때는 'center'이다.<br/>
|
|
4870
4885
|
*/
|
|
4871
4886
|
align?: Align;
|
|
4872
4887
|
/**
|
|
4873
|
-
* 수직
|
|
4888
|
+
* 수직 배치.<br/>
|
|
4874
4889
|
* 값을 지정하지 않으면, 기본값이 {@page location}이 'body'일 때는 'top',
|
|
4875
|
-
* 'top', 'bottom'일 때는 'middle'
|
|
4876
|
-
*
|
|
4890
|
+
* 'top', 'bottom'일 때는 'middle'이다.<br/>
|
|
4877
4891
|
*/
|
|
4878
4892
|
verticalAlign?: VerticalAlign;
|
|
4879
4893
|
/**
|
|
4880
|
-
* 범례와 body 혹은 차트 경계 사이의 수평
|
|
4894
|
+
* 범례와 body 혹은 차트 경계 사이의 수평 간격.<br/>
|
|
4881
4895
|
*
|
|
4896
|
+
* @default 0
|
|
4882
4897
|
*/
|
|
4883
4898
|
offsetX?: number;
|
|
4884
4899
|
/**
|
|
4885
|
-
* 범례와 body 혹은 차트 경계 사이의 수직
|
|
4900
|
+
* 범례와 body 혹은 차트 경계 사이의 수직 간격.<br/>
|
|
4886
4901
|
*
|
|
4902
|
+
* @default 0
|
|
4887
4903
|
*/
|
|
4888
4904
|
offsetY?: number;
|
|
4889
4905
|
/**
|
|
4890
|
-
* 한 라인의 item들이 배치되는
|
|
4906
|
+
* 한 라인의 item들이 배치되는 위치.<br/>
|
|
4891
4907
|
*
|
|
4908
|
+
* @default 'center'
|
|
4892
4909
|
*/
|
|
4893
4910
|
itemsAlign?: LegendItemsAlign;
|
|
4894
4911
|
/**
|
|
4895
|
-
* 범례 항목의 텍스트에도 marker와 동일한 색상을
|
|
4896
|
-
*
|
|
4912
|
+
* 범례 항목의 텍스트에도 marker와 동일한 색상을 적용한다.<br/>
|
|
4897
4913
|
*/
|
|
4898
4914
|
useTextColor?: boolean;
|
|
4899
4915
|
/**
|
|
4900
|
-
* 시리즈가 연결된 범례 아이템에 마우스가 올라가면 나머지 시리즈들을 반투명 처리해서
|
|
4916
|
+
* 시리즈가 연결된 범례 아이템에 마우스가 올라가면 나머지 시리즈들을 반투명 처리해서
|
|
4917
|
+
* 연결된 시리즈를 강조한다.<br/>
|
|
4901
4918
|
*
|
|
4919
|
+
* @default true
|
|
4902
4920
|
*/
|
|
4903
4921
|
seriesHovering?: boolean;
|
|
4922
|
+
/**
|
|
4923
|
+
* 데이터포인트 연결된 범례 아이템에 마우스가 올라가면 시리즈의 나머지 데이터포인트들을 반투명 처리해서
|
|
4924
|
+
* 연결된 데이터포인트를 강조한다.<br/>
|
|
4925
|
+
*
|
|
4926
|
+
* @default true
|
|
4927
|
+
*/
|
|
4928
|
+
pointHovering?: boolean;
|
|
4904
4929
|
}
|
|
4905
4930
|
|
|
4906
4931
|
/**
|
|
@@ -4927,7 +4952,6 @@ interface ILegendSource {
|
|
|
4927
4952
|
declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
4928
4953
|
legend: Legend;
|
|
4929
4954
|
source: ILegendSource;
|
|
4930
|
-
static readonly MARKER_SIZE = 10;
|
|
4931
4955
|
constructor(legend: Legend, source: ILegendSource);
|
|
4932
4956
|
text(): string;
|
|
4933
4957
|
}
|
|
@@ -4963,6 +4987,7 @@ declare class Legend extends Widget<LegendOptions> {
|
|
|
4963
4987
|
getLayout(): LegendLayout;
|
|
4964
4988
|
getMaxWidth(domain: number): number;
|
|
4965
4989
|
getMaxHeight(domain: number): number;
|
|
4990
|
+
getMarkerSize(): number;
|
|
4966
4991
|
protected _isVisible(): boolean;
|
|
4967
4992
|
protected _doApply(options: LegendOptions): void;
|
|
4968
4993
|
protected _doPrepareRender(chart: IChart): void;
|
|
@@ -5309,11 +5334,10 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5309
5334
|
getLabelOff(off: number): number;
|
|
5310
5335
|
referBy(ref: Series): void;
|
|
5311
5336
|
setPointVisible(p: DataPoint, visible: boolean): void;
|
|
5312
|
-
protected _createPointArgs(): DataPointCallbackArgs;
|
|
5313
5337
|
protected _preparePointArgs(args: DataPointCallbackArgs): void;
|
|
5314
|
-
|
|
5338
|
+
_getPointCallbackArgs(args: DataPointCallbackArgs, p: DataPoint): void;
|
|
5315
5339
|
getPointText(p: DataPoint, index: number, label: any): string;
|
|
5316
|
-
getPointStyle(p: DataPoint):
|
|
5340
|
+
getPointStyle(p: DataPoint): SVGStyleOrClass;
|
|
5317
5341
|
getPointLabelStyle(p: DataPoint): any;
|
|
5318
5342
|
pointClicked(p: DataPoint): boolean;
|
|
5319
5343
|
pointHovered(p: DataPoint): void;
|
|
@@ -5464,12 +5488,14 @@ declare class PlottingItemCollection extends ChartItemCollection<PlottingItem> {
|
|
|
5464
5488
|
private $_add;
|
|
5465
5489
|
}
|
|
5466
5490
|
/**
|
|
5467
|
-
*
|
|
5491
|
+
* dumbbell 시리즈 등에 표시되는 마커.
|
|
5468
5492
|
*/
|
|
5469
5493
|
declare abstract class SeriesMarker<OP extends SeriesMarkerOptions = {}> extends ChartItem<OP> {
|
|
5470
5494
|
series: Series;
|
|
5471
5495
|
static defaults: SeriesMarkerOptions;
|
|
5496
|
+
private _args;
|
|
5472
5497
|
constructor(series: Series);
|
|
5498
|
+
getMarkerStyle(p: DataPoint): any;
|
|
5473
5499
|
}
|
|
5474
5500
|
declare class WidgetSeriesPoint extends DataPoint implements ILegendSource {
|
|
5475
5501
|
_calcedColor: string;
|
|
@@ -5872,19 +5898,6 @@ declare class AxisLine<OP extends AxisLineOptions = AxisLineOptions> extends Axi
|
|
|
5872
5898
|
declare class AxisTitle extends AxisItem<AxisTitleOptions> {
|
|
5873
5899
|
static defaults: AxisTitleOptions;
|
|
5874
5900
|
private _rotation;
|
|
5875
|
-
/**
|
|
5876
|
-
* 타이틀을 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
|
|
5877
|
-
*
|
|
5878
|
-
* @config
|
|
5879
|
-
*/
|
|
5880
|
-
writingMode: WritingMode;
|
|
5881
|
-
/**
|
|
5882
|
-
* 텍스트 문자 방향을 지정한다.
|
|
5883
|
-
* 세로 모드의 텍스트에만 적용된다.
|
|
5884
|
-
*
|
|
5885
|
-
* @config
|
|
5886
|
-
*/
|
|
5887
|
-
textOrientation: TextOrientation;
|
|
5888
5901
|
getRotation(): number;
|
|
5889
5902
|
protected _isVisible(): boolean;
|
|
5890
5903
|
protected _doSetSimple(src: any): boolean;
|
|
@@ -6394,6 +6407,19 @@ interface AxisTitleOptions extends AxisItemOptions {
|
|
|
6394
6407
|
*
|
|
6395
6408
|
*/
|
|
6396
6409
|
backgroundStyle?: SVGStyleOrClass;
|
|
6410
|
+
/**
|
|
6411
|
+
* 타이틀을 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
|
|
6412
|
+
*
|
|
6413
|
+
* @config
|
|
6414
|
+
*/
|
|
6415
|
+
writingMode?: WritingMode;
|
|
6416
|
+
/**
|
|
6417
|
+
* 텍스트 문자 방향을 지정한다.
|
|
6418
|
+
* 세로 모드의 텍스트에만 적용된다.
|
|
6419
|
+
*
|
|
6420
|
+
* @config
|
|
6421
|
+
*/
|
|
6422
|
+
textOrientation?: TextOrientation;
|
|
6397
6423
|
}
|
|
6398
6424
|
/**
|
|
6399
6425
|
* 축 선(line) 설정 모델.<br/>
|
|
@@ -7594,7 +7620,8 @@ interface ExporterOptions extends ChartItemOptions {
|
|
|
7594
7620
|
}
|
|
7595
7621
|
|
|
7596
7622
|
/**
|
|
7597
|
-
*
|
|
7623
|
+
* 단일 값을 다양한 방식으로 표시한다.<br/>
|
|
7624
|
+
* 또, 단일 계이지들을 여러 개 묶어서 관련된 값을 표시할 수도 있다.
|
|
7598
7625
|
*/
|
|
7599
7626
|
interface GaugeBaseOptions extends ChartItemOptions {
|
|
7600
7627
|
type?: GaugeType;
|
|
@@ -7656,7 +7683,7 @@ interface GaugeBaseOptions extends ChartItemOptions {
|
|
|
7656
7683
|
backgroundStyle?: SVGStyleOrClass;
|
|
7657
7684
|
}
|
|
7658
7685
|
/**
|
|
7659
|
-
*
|
|
7686
|
+
* 단일 값을 다양한 방식으로 표시한다.<br/>
|
|
7660
7687
|
*
|
|
7661
7688
|
* @config chart.gauge[base]
|
|
7662
7689
|
*/
|
|
@@ -7667,9 +7694,14 @@ interface GaugeOptions extends GaugeBaseOptions {
|
|
|
7667
7694
|
*/
|
|
7668
7695
|
duration?: number;
|
|
7669
7696
|
}
|
|
7697
|
+
/**
|
|
7698
|
+
* 같은 종류의 단일 계이지들을 여러 개 묶어서 관련된 값을 표시한다.<br/>
|
|
7699
|
+
*
|
|
7700
|
+
* @config chart.gaugeGroup[base]
|
|
7701
|
+
*/
|
|
7670
7702
|
interface GaugeGroupOptions<T extends ValueGaugeOptions = ValueGaugeOptions> extends GaugeBaseOptions {
|
|
7671
7703
|
/**
|
|
7672
|
-
* 게이지
|
|
7704
|
+
* 단일 게이지 옵션 배열.
|
|
7673
7705
|
*/
|
|
7674
7706
|
children?: T[];
|
|
7675
7707
|
/**
|
|
@@ -8694,7 +8726,8 @@ interface SplitOptions extends ChartItemOptions {
|
|
|
8694
8726
|
}
|
|
8695
8727
|
|
|
8696
8728
|
/**
|
|
8697
|
-
* 차트
|
|
8729
|
+
* 차트 좌표계와 그 방향 및 시리즈와 게이지의 기본 타입을 결정하는 중요한 몇가지 속성들과
|
|
8730
|
+
* 하위 구성 요소들에 대한 옵션들을 설정한다.<br/>
|
|
8698
8731
|
* 차트 생성 시 이 옵션 객체를 구성해서 전달해야 한다.
|
|
8699
8732
|
*
|
|
8700
8733
|
* ```js
|
|
@@ -8773,15 +8806,17 @@ interface ChartConfiguration {
|
|
|
8773
8806
|
*/
|
|
8774
8807
|
title?: TitleOptions | string;
|
|
8775
8808
|
/**
|
|
8776
|
-
* 차트 부제목.<br/>
|
|
8809
|
+
* 차트 제목 주위에 표시되는 부제목.<br/>
|
|
8777
8810
|
*/
|
|
8778
8811
|
subtitle?: SubtitleOptions | string;
|
|
8779
8812
|
/**
|
|
8780
|
-
* 차트 범례.<br/>
|
|
8813
|
+
* 차트 시리즈 구성 등을 직관적으로 이해할 수 있도록 도와주는 범례.<br/>
|
|
8814
|
+
* 시리즈나 데이터포인트 등의 이름과 심볼을 같이 표시할 수 있다.
|
|
8781
8815
|
*/
|
|
8782
8816
|
legend?: LegendOptions | boolean;
|
|
8783
8817
|
/**
|
|
8784
|
-
*
|
|
8818
|
+
* 데이터포인트 뷰에 마우스가 올라가면 표시되는 툴팁 상자.<br/>
|
|
8819
|
+
* {@page guide.tooltip 툴팁 개요} 페이지를 참조한다.
|
|
8785
8820
|
*/
|
|
8786
8821
|
tooltip?: TooltipOptions | boolean;
|
|
8787
8822
|
/**
|
|
@@ -8790,26 +8825,30 @@ interface ChartConfiguration {
|
|
|
8790
8825
|
series?: SeriesOptionsType | SeriesOptionsType[];
|
|
8791
8826
|
/**
|
|
8792
8827
|
* x축 또는 x축 목록.<br/>
|
|
8793
|
-
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'xAxes'**
|
|
8828
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'xAxes'** 항목이 존재하면
|
|
8829
|
+
* 그 항목을 이 속성으로 설정한다.
|
|
8794
8830
|
*/
|
|
8795
8831
|
xAxis?: AxisOptionsType | AxisOptionsType[];
|
|
8796
8832
|
/**
|
|
8797
8833
|
* y축 또는 y축 목록.<br/>
|
|
8798
|
-
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'yAxes'**
|
|
8834
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'yAxes'** 항목이 존재하면
|
|
8835
|
+
* 그 항목을 이 속성으로 설정한다.
|
|
8799
8836
|
*/
|
|
8800
8837
|
yAxis?: AxisOptionsType | AxisOptionsType[];
|
|
8801
8838
|
/**
|
|
8802
8839
|
* 게이지 또는 게이지 목록.<br/>
|
|
8803
|
-
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'gauges'**
|
|
8840
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'gauges'** 항목이 존재하면
|
|
8841
|
+
* 그 항목을 이 속성으로 설정한다.
|
|
8804
8842
|
*/
|
|
8805
8843
|
gauge?: GaugeOptionsType | GaugeOptionsType[];
|
|
8806
8844
|
/**
|
|
8807
8845
|
* 어노테이션 또는 어노테이션 목록.<br/>
|
|
8808
|
-
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'annotations'**
|
|
8846
|
+
* [주의] 이전 버전의 설정을 로드하기 위해, 이 속성이 지정되지 않고 **'annotations'** 항목이 존재하면
|
|
8847
|
+
* 그 항목을 이 속성으로 설정한다.
|
|
8809
8848
|
*/
|
|
8810
8849
|
annotation?: AnnotationOptionsType | AnnotationOptionsType[];
|
|
8811
8850
|
/**
|
|
8812
|
-
*
|
|
8851
|
+
* {@page config.base.series 시리즈}나 {@page config.base.gauge 게이지}들이 그려지는 영역.<br/>
|
|
8813
8852
|
*/
|
|
8814
8853
|
body?: BodyOptions;
|
|
8815
8854
|
/**
|
|
@@ -8817,11 +8856,11 @@ interface ChartConfiguration {
|
|
|
8817
8856
|
*/
|
|
8818
8857
|
seriesNavigator?: SeriesNavigatorOptions | boolean;
|
|
8819
8858
|
/**
|
|
8820
|
-
* 분할
|
|
8859
|
+
* 분할 모드 설정.<br/>
|
|
8821
8860
|
*/
|
|
8822
8861
|
split?: SplitOptions;
|
|
8823
8862
|
/**
|
|
8824
|
-
*
|
|
8863
|
+
* 내보내기 설정.<br/>
|
|
8825
8864
|
*/
|
|
8826
8865
|
exporting?: ExporterOptions;
|
|
8827
8866
|
}
|
|
@@ -9463,6 +9502,7 @@ interface IChart {
|
|
|
9463
9502
|
xAxis: IAxis;
|
|
9464
9503
|
yAxis: IAxis;
|
|
9465
9504
|
_subtitle: Subtitle;
|
|
9505
|
+
_legend: Legend;
|
|
9466
9506
|
_tooltip: Tooltip;
|
|
9467
9507
|
_body: Body;
|
|
9468
9508
|
_split: Split;
|
|
@@ -9480,6 +9520,7 @@ interface IChart {
|
|
|
9480
9520
|
seriesByName(series: string): Series;
|
|
9481
9521
|
axisByName(axis: string): Axis;
|
|
9482
9522
|
getAxes(dir: SectionDir, visibleOnly: boolean): Axis[];
|
|
9523
|
+
seriesByPoint(point: DataPoint): Series;
|
|
9483
9524
|
_getGroupType(type: string): any;
|
|
9484
9525
|
_getSeriesType(type: string): any;
|
|
9485
9526
|
_getAxisType(type: string): any;
|
|
@@ -10992,6 +11033,17 @@ declare class CircleBarSeriesGroup extends BarSeriesGroupBase<CircleBarSeries, C
|
|
|
10992
11033
|
protected _canContain(ser: Series): boolean;
|
|
10993
11034
|
}
|
|
10994
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
|
+
}
|
|
10995
11047
|
declare class DumbbellSeriesMarker extends SeriesMarker<DumbbellSeriesMarkerOptions> {
|
|
10996
11048
|
static defaults: DumbbellSeriesMarkerOptions;
|
|
10997
11049
|
}
|
|
@@ -11000,19 +11052,21 @@ declare class DumbbellSeriesMarker extends SeriesMarker<DumbbellSeriesMarkerOpti
|
|
|
11000
11052
|
* {@page op.SeriesOptions#type}은 {@page config.series.dumbbell 'dumbbell'}이고,
|
|
11001
11053
|
* {@page options 설정} 모델은 {@page op.DumbbellSeriesOptions}이다.
|
|
11002
11054
|
*/
|
|
11003
|
-
declare class DumbbellSeries extends
|
|
11055
|
+
declare class DumbbellSeries extends LowRangedSeries<DumbbellSeriesOptions> {
|
|
11004
11056
|
static readonly type = "dumbbell";
|
|
11005
11057
|
private _marker;
|
|
11058
|
+
private _lowMarker;
|
|
11006
11059
|
protected _doInitChildren(op: {
|
|
11007
11060
|
[child: string]: ChartItemOptions;
|
|
11008
11061
|
}): void;
|
|
11009
11062
|
get marker(): DumbbellSeriesMarker;
|
|
11063
|
+
get lowMarker(): DumbbellSeriesMarker;
|
|
11010
11064
|
canCategorized(): boolean;
|
|
11065
|
+
protected _getBottomValue(p: DumbbellSeriesPoint): number;
|
|
11011
11066
|
pointLabelCount(): number;
|
|
11012
11067
|
getLabelOff(off: number): number;
|
|
11013
11068
|
protected _createPoint(source: any): DataPoint;
|
|
11014
11069
|
protected _doPrepareRender(): void;
|
|
11015
|
-
collectValues(axis: IAxis, vals: number[]): void;
|
|
11016
11070
|
}
|
|
11017
11071
|
|
|
11018
11072
|
/**
|