realchart 1.1.11 → 1.1.12
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 +300 -89
- 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 +11 -4
- package/dist/realchart-style.ie.css +11 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -180,6 +180,10 @@ declare class Size {
|
|
|
180
180
|
* 123, '10%' 형식으로 크기를 지정한다.
|
|
181
181
|
*/
|
|
182
182
|
type PercentSize = string | number;
|
|
183
|
+
interface IPercentSize {
|
|
184
|
+
size: number;
|
|
185
|
+
fixed: boolean;
|
|
186
|
+
}
|
|
183
187
|
/**
|
|
184
188
|
* 수평 정렬.
|
|
185
189
|
* @enum
|
|
@@ -263,8 +267,7 @@ interface SVGStyles {
|
|
|
263
267
|
* 텍스트 정렬을 지정한다.<br/>
|
|
264
268
|
* **SVG에 적용되는 정식 css style 속성이 아니다.**
|
|
265
269
|
* 즉, HTML이나 realchart-style.css 등의 외부 css 파일에서 사용할 수 없고,
|
|
266
|
-
* RealChart 내부에서 {@page config.title}
|
|
267
|
-
* inline 스타일 속성으로 지정할 수 있다.
|
|
270
|
+
* RealChart 내부에서 {@page config.title} 등의 inline 스타일 속성으로 지정할 수 있다.
|
|
268
271
|
*
|
|
269
272
|
* ```js
|
|
270
273
|
* const config = {
|
|
@@ -447,7 +450,7 @@ interface ChartItemOptions {
|
|
|
447
450
|
*/
|
|
448
451
|
visible?: boolean;
|
|
449
452
|
/**
|
|
450
|
-
* 스타일셋
|
|
453
|
+
* {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
451
454
|
*
|
|
452
455
|
*/
|
|
453
456
|
style?: SVGStyleOrClass;
|
|
@@ -460,15 +463,18 @@ interface ChartTextOptions extends ChartItemOptions {
|
|
|
460
463
|
*/
|
|
461
464
|
effect?: ChartTextEffect;
|
|
462
465
|
/**
|
|
463
|
-
* {@page autoContrast}가 true이고 밝게 표시할 때 적용되는
|
|
466
|
+
* {@page autoContrast}가 true이고 밝게 표시할 때 적용되는
|
|
467
|
+
* {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
|
|
464
468
|
*/
|
|
465
469
|
lightStyle?: SVGStyleOrClass;
|
|
466
470
|
/**
|
|
467
|
-
* {@page autoContrast}가 true이고 어둡게 표시할 때 적용되는
|
|
471
|
+
* {@page autoContrast}가 true이고 어둡게 표시할 때 적용되는
|
|
472
|
+
* {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
|
|
468
473
|
*/
|
|
469
474
|
darkStyle?: SVGStyleOrClass;
|
|
470
475
|
/**
|
|
471
|
-
* {@page effect}가 'background'일 때 배경에 적용되는
|
|
476
|
+
* {@page effect}가 'background'일 때 배경에 적용되는
|
|
477
|
+
* {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
|
|
472
478
|
*/
|
|
473
479
|
backgroundStyle?: SVGStyleOrClass;
|
|
474
480
|
/**
|
|
@@ -1109,6 +1115,7 @@ declare class RcElement extends RcObject {
|
|
|
1109
1115
|
protected _styleName: string;
|
|
1110
1116
|
protected _styles: any;
|
|
1111
1117
|
protected _styleDirty: boolean;
|
|
1118
|
+
hiding: boolean;
|
|
1112
1119
|
tag: any;
|
|
1113
1120
|
private _dom;
|
|
1114
1121
|
private _parent;
|
|
@@ -1131,6 +1138,8 @@ declare class RcElement extends RcObject {
|
|
|
1131
1138
|
set width(value: number);
|
|
1132
1139
|
get height(): number;
|
|
1133
1140
|
set height(value: number);
|
|
1141
|
+
get tright(): number;
|
|
1142
|
+
get tbottom(): number;
|
|
1134
1143
|
/**
|
|
1135
1144
|
* visible
|
|
1136
1145
|
*/
|
|
@@ -1163,11 +1172,14 @@ declare class RcElement extends RcObject {
|
|
|
1163
1172
|
getRect(): IRect;
|
|
1164
1173
|
getSize(): Size;
|
|
1165
1174
|
getBBox(): IRect;
|
|
1175
|
+
getBBoxEx(): IRect;
|
|
1176
|
+
inflateBBox(dx: number, dy: number): IRect;
|
|
1166
1177
|
controlToElement(x: number, y: number): Point;
|
|
1167
1178
|
svgToElement(x: number, y: number): Point;
|
|
1168
1179
|
elementToSvg(x: number, y: number): Point;
|
|
1169
1180
|
move(x: number, y: number): RcElement;
|
|
1170
1181
|
setPos(x: number, y: number): void;
|
|
1182
|
+
setPosY(y: number): void;
|
|
1171
1183
|
isDomAnimating(): boolean;
|
|
1172
1184
|
rotate(angle: number): RcElement;
|
|
1173
1185
|
internalRotate(angle: number): void;
|
|
@@ -1178,6 +1190,7 @@ declare class RcElement extends RcObject {
|
|
|
1178
1190
|
transEx2(x: number, y: number, duration?: number, invalidate?: boolean): RcElement;
|
|
1179
1191
|
transX(x: number): RcElement;
|
|
1180
1192
|
transY(y: number): RcElement;
|
|
1193
|
+
shiftY(dy: number): RcElement;
|
|
1181
1194
|
/**
|
|
1182
1195
|
*
|
|
1183
1196
|
* @param width
|
|
@@ -1313,18 +1326,36 @@ type PointHoverCallback = (args: DataPointCallbackArgs) => void;
|
|
|
1313
1326
|
type PointClickCallback = (args: DataPointCallbackArgs) => boolean;
|
|
1314
1327
|
type PointStyleCallback = (args: DataPointCallbackArgs) => SVGStyleOrClass;
|
|
1315
1328
|
/**
|
|
1329
|
+
* 시리즈 데이터포인트 {@page config.base.series.pointLabel 라벨} 표시 위치.<br/>
|
|
1330
|
+
* {@page config.base.series.pointLabel.position} 속성 값으로 사용된다.
|
|
1331
|
+
*
|
|
1316
1332
|
* @enum
|
|
1317
1333
|
*/
|
|
1318
|
-
declare const
|
|
1334
|
+
declare const _PointLabelPosition: {
|
|
1335
|
+
/**
|
|
1336
|
+
* 시리즈 종류에 따라 데이터포인트 라벨들의 표시 위치가 자동 결정된다.<br/>
|
|
1337
|
+
*/
|
|
1319
1338
|
readonly AUTO: "auto";
|
|
1320
|
-
|
|
1321
|
-
|
|
1339
|
+
/**
|
|
1340
|
+
* 포인트뷰 상단에 표시.</br>
|
|
1341
|
+
*/
|
|
1322
1342
|
readonly HEAD: "head";
|
|
1343
|
+
/**
|
|
1344
|
+
* 포인트뷰 하단에 표시.</br>
|
|
1345
|
+
*/
|
|
1323
1346
|
readonly FOOT: "foot";
|
|
1324
|
-
|
|
1325
|
-
|
|
1347
|
+
/**
|
|
1348
|
+
* {@page config.series.pie}나 {@page config.series.funnel}애서 데이터포인트 라벨을
|
|
1349
|
+
* 포인트뷰 내부에 표시.</br>
|
|
1350
|
+
*/
|
|
1351
|
+
readonly INSIDE: "inside";
|
|
1352
|
+
/**
|
|
1353
|
+
* {@page config.series.pie}나 {@page config.series.funnel}애서 데이터포인트 라벨을
|
|
1354
|
+
* 포인트뷰 외부에 표시.</br>
|
|
1355
|
+
*/
|
|
1356
|
+
readonly OUTSIDE: "outside";
|
|
1326
1357
|
};
|
|
1327
|
-
type
|
|
1358
|
+
type PointLabelPosition = typeof _PointLabelPosition[keyof typeof _PointLabelPosition];
|
|
1328
1359
|
/**
|
|
1329
1360
|
* 시리즈 데이터포인트들의 label 옵션.<br/>
|
|
1330
1361
|
* {@page config.base.series}의 'pointLabel' 항목으로 설정한다.
|
|
@@ -1334,6 +1365,7 @@ type PointItemPosition = typeof _PointItemPosition[keyof typeof _PointItemPositi
|
|
|
1334
1365
|
* series: {
|
|
1335
1366
|
* pointLabel: {
|
|
1336
1367
|
* visible: true,
|
|
1368
|
+
* position: 'outside',
|
|
1337
1369
|
* suffix: '%',
|
|
1338
1370
|
* style: {
|
|
1339
1371
|
* fontWeight: 'bold',
|
|
@@ -1353,38 +1385,27 @@ interface DataPointLabelOptions extends IconedTextOptions {
|
|
|
1353
1385
|
*/
|
|
1354
1386
|
visible?: boolean;
|
|
1355
1387
|
/**
|
|
1356
|
-
* 포인트 label 표시
|
|
1388
|
+
* 포인트 label 표시 위치.<br/>
|
|
1389
|
+
* 'auto'이면 시리즈 종류에 따라 위치가 결정된다.
|
|
1357
1390
|
*
|
|
1358
1391
|
* @default 'auto'
|
|
1359
1392
|
*/
|
|
1360
|
-
position?:
|
|
1361
|
-
/**
|
|
1362
|
-
* 다중 라인이거나 경계가 있을 때,
|
|
1363
|
-
* 텍스트 상자 내에서 텍스트 라인들의 수평 정렬.
|
|
1364
|
-
*
|
|
1365
|
-
* @default 'center'
|
|
1366
|
-
*/
|
|
1367
|
-
textAlign?: Align;
|
|
1368
|
-
/**
|
|
1369
|
-
* label과 point view 사이의 기본 간격.\
|
|
1370
|
-
* 값을 지정하지 않으면 {@page position}이 'inside'일 때는 0, 그 외는 4 픽셀이다.
|
|
1371
|
-
*
|
|
1372
|
-
*/
|
|
1373
|
-
offset?: number;
|
|
1393
|
+
position?: PointLabelPosition;
|
|
1374
1394
|
/**
|
|
1375
|
-
*
|
|
1395
|
+
* label과 point view 혹은 connector 사이의 기본 간격.<br/>
|
|
1396
|
+
* 숫자 대신 콜백을 설정해서 데이터포인트별 값을 지정할 수 있다.
|
|
1397
|
+
* 콜백에서 타당한 값을 리턴하지 않으면 기본값이 사용된다.
|
|
1376
1398
|
*
|
|
1377
|
-
* @default
|
|
1399
|
+
* @default 5
|
|
1378
1400
|
*/
|
|
1379
|
-
|
|
1401
|
+
offset?: number | ((point: any) => number);
|
|
1380
1402
|
/**
|
|
1381
1403
|
* 계산되는 기본 text 대신, data point label로 표시될 field.<br/>
|
|
1382
1404
|
* {@page textCallback}이 설정되고 콜백에서 null이나 undefined를 리턴하지 않으면 이 속성은 무시된다.
|
|
1383
|
-
*
|
|
1384
1405
|
*/
|
|
1385
1406
|
textField?: string;
|
|
1386
1407
|
/**
|
|
1387
|
-
* polar
|
|
1408
|
+
* polar이거나 원형 시리즈일 때 true로 지정할 경우 각도에 따라 자동으로 회전 시킨다.
|
|
1388
1409
|
*/
|
|
1389
1410
|
autoRotation?: boolean;
|
|
1390
1411
|
/**
|
|
@@ -1395,17 +1416,18 @@ interface DataPointLabelOptions extends IconedTextOptions {
|
|
|
1395
1416
|
*/
|
|
1396
1417
|
textCallback?: (point: any) => string;
|
|
1397
1418
|
/**
|
|
1398
|
-
* 데이터 포인트별 label 표시 여부를 리턴하는
|
|
1419
|
+
* 데이터 포인트별 label 표시 여부를 리턴하는 콜백.<br/>
|
|
1399
1420
|
*
|
|
1400
1421
|
*/
|
|
1401
1422
|
visibleCallback?: (point: any) => boolean;
|
|
1402
1423
|
/**
|
|
1403
|
-
* 데이터 포인트별로 추가 적용되는 스타일을
|
|
1424
|
+
* 데이터 포인트별로 추가 적용되는 스타일을 리턴한다.<br/>
|
|
1404
1425
|
*/
|
|
1405
1426
|
styleCallback?: (point: any) => SVGStyleOrClass;
|
|
1406
1427
|
}
|
|
1407
1428
|
/**
|
|
1408
|
-
* 추세선(trendline)
|
|
1429
|
+
* 추세선(trendline) 유형.<br/>
|
|
1430
|
+
*
|
|
1409
1431
|
* @enum
|
|
1410
1432
|
*/
|
|
1411
1433
|
declare const _TrendLineType: {
|
|
@@ -1450,6 +1472,8 @@ type TrendLineType = typeof _TrendLineType[keyof typeof _TrendLineType];
|
|
|
1450
1472
|
/**
|
|
1451
1473
|
* 시리즈 추세선 옵션.<br/>
|
|
1452
1474
|
* {@page config.base.series}의 'trendLine' 항목으로 설정한다.
|
|
1475
|
+
*
|
|
1476
|
+
* @enum
|
|
1453
1477
|
*/
|
|
1454
1478
|
interface TrendlineOptions extends ChartItemOptions {
|
|
1455
1479
|
/**
|
|
@@ -1570,7 +1594,7 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1570
1594
|
*/
|
|
1571
1595
|
xStep?: number | string;
|
|
1572
1596
|
/**
|
|
1573
|
-
* 모든 데이터포인트에 적용되는
|
|
1597
|
+
* 모든 데이터포인트에 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
|
|
1574
1598
|
* {@page Series.style}로 설정되는 시리즈의 inline 스타일이
|
|
1575
1599
|
* 데이터포인터에 적용되지 않는 경우 이 속성을 사용할 수 있다.
|
|
1576
1600
|
* {@page pointColors}나 {@page color}가 설정되면 이 속성으로 설정된 색상은 무시된다.
|
|
@@ -1632,7 +1656,8 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1632
1656
|
*/
|
|
1633
1657
|
hoverEffect?: 'none' | 'default';
|
|
1634
1658
|
/**
|
|
1635
|
-
* 데이터포인트 위에 마우스가 있을 때 적용되는
|
|
1659
|
+
* 데이터포인트 위에 마우스가 있을 때 적용되는
|
|
1660
|
+
* {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
1636
1661
|
*/
|
|
1637
1662
|
hoverStyle?: SVGStyleOrClass;
|
|
1638
1663
|
/**
|
|
@@ -1977,7 +2002,8 @@ interface LineSeriesMarkerOptions extends SeriesMarkerOptions {
|
|
|
1977
2002
|
*/
|
|
1978
2003
|
hoverScale?: number;
|
|
1979
2004
|
/**
|
|
1980
|
-
* 데이터포인트 위에 마우스가 있을 때 적용되는
|
|
2005
|
+
* 데이터포인트 위에 마우스가 있을 때 적용되는
|
|
2006
|
+
* {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
|
|
1981
2007
|
* {@page config.series.hoverStyle} 보다 우선 적용된다.
|
|
1982
2008
|
*
|
|
1983
2009
|
* @config
|
|
@@ -2007,6 +2033,108 @@ interface LineSeriesBaseOptions extends ConnectableSeriesOptions {
|
|
|
2007
2033
|
*/
|
|
2008
2034
|
nullAsBase?: boolean;
|
|
2009
2035
|
}
|
|
2036
|
+
/**
|
|
2037
|
+
* 데이터포인트 라벨들을 정렬하는 방식.<br/>
|
|
2038
|
+
* @enum
|
|
2039
|
+
*/
|
|
2040
|
+
declare const _PointLabelAlign: {
|
|
2041
|
+
/**
|
|
2042
|
+
* 정렬하지 않는다.<br/>
|
|
2043
|
+
*/
|
|
2044
|
+
readonly NONE: "none";
|
|
2045
|
+
/**
|
|
2046
|
+
* position이 'outside'일 때 시리즈 본체에 가까운 쪽에 정렬하고,
|
|
2047
|
+
* 'inside'일 때 시리즈 중심(pie 시리즈)이나 왼쪽(funnel 시리즈)에 졍렬한다..<br/>
|
|
2048
|
+
*/
|
|
2049
|
+
readonly NEAR: "near";
|
|
2050
|
+
/**
|
|
2051
|
+
* position이 'outside'일 때 차트 전체 영역의 경계 쪽에 정렬하고,
|
|
2052
|
+
* 'inside'일 때 시리즈 경계(pie 시리즈)나 오른쪽(funnel 시리즈)에 졍렬한다..<br/>
|
|
2053
|
+
*/
|
|
2054
|
+
readonly FAR: "far";
|
|
2055
|
+
};
|
|
2056
|
+
type PointLabelAlign = typeof _PointLabelAlign[keyof typeof _PointLabelAlign];
|
|
2057
|
+
declare const _PointLabelDedupeMode: {
|
|
2058
|
+
/**
|
|
2059
|
+
* 중복제거 없이 모두 표시한다.
|
|
2060
|
+
*/
|
|
2061
|
+
readonly DISPLAY_ALL: "displayAll";
|
|
2062
|
+
/**
|
|
2063
|
+
* data point 순서대로 표시한다.
|
|
2064
|
+
*/
|
|
2065
|
+
readonly PRESERVE_ORDER: "preserveOrder";
|
|
2066
|
+
/**
|
|
2067
|
+
* 값이 큰 항목을 우선으로 표시한다.
|
|
2068
|
+
*/
|
|
2069
|
+
readonly LARGEST_FIRST: "LargestFirst";
|
|
2070
|
+
};
|
|
2071
|
+
type PointLabelDedupeMode = typeof _PointLabelDedupeMode[keyof typeof _PointLabelDedupeMode];
|
|
2072
|
+
declare const _PointLabelOverflow: {
|
|
2073
|
+
/**
|
|
2074
|
+
* 모두 표시한다.
|
|
2075
|
+
*/
|
|
2076
|
+
readonly VISIBLE: "visible";
|
|
2077
|
+
/**
|
|
2078
|
+
* body 영역을 벗어난 label과 line을 표시하지 않는다.
|
|
2079
|
+
*/
|
|
2080
|
+
readonly HIDDEN: "hidden";
|
|
2081
|
+
};
|
|
2082
|
+
type PointLabelOverflow = typeof _PointLabelOverflow[keyof typeof _PointLabelOverflow];
|
|
2083
|
+
/**
|
|
2084
|
+
* pie 및 funnel 시리즈의 데이터포인트 label 옵션.<br/>
|
|
2085
|
+
* 라벨들이 겹치면 값이 적은 것들 순서대로 감춘다.
|
|
2086
|
+
*/
|
|
2087
|
+
interface WidgetSeriesLabelOptions extends DataPointLabelOptions {
|
|
2088
|
+
/**
|
|
2089
|
+
* @override
|
|
2090
|
+
* @default true
|
|
2091
|
+
*/
|
|
2092
|
+
visible?: boolean;
|
|
2093
|
+
/**
|
|
2094
|
+
* 데이터포인트 라벨들을 정렬하는 방식.
|
|
2095
|
+
*
|
|
2096
|
+
* @default 'none'
|
|
2097
|
+
*/
|
|
2098
|
+
align?: PointLabelAlign;
|
|
2099
|
+
/**
|
|
2100
|
+
* 연결선 옵션 설정 모델.
|
|
2101
|
+
*
|
|
2102
|
+
*/
|
|
2103
|
+
connector?: WidgetSeriesConnectorOptions;
|
|
2104
|
+
/**
|
|
2105
|
+
* label들이 최대한 영역 밖으로 나가지 않도록 안쪽으로 모은다.
|
|
2106
|
+
*
|
|
2107
|
+
* @default true
|
|
2108
|
+
*/
|
|
2109
|
+
convergable?: boolean;
|
|
2110
|
+
/**
|
|
2111
|
+
* label과 pie 본체와의 기본 간격.<br/.
|
|
2112
|
+
*/
|
|
2113
|
+
distance?: number;
|
|
2114
|
+
/**
|
|
2115
|
+
* label이 겹칠 때 처리 표시 지정한다.
|
|
2116
|
+
*
|
|
2117
|
+
* @default 'displayAll'
|
|
2118
|
+
*/
|
|
2119
|
+
dedupeMode?: PointLabelDedupeMode;
|
|
2120
|
+
/**
|
|
2121
|
+
* label이 겹칠 때 처리 표시 지정한다.
|
|
2122
|
+
*
|
|
2123
|
+
* @default 'visible'
|
|
2124
|
+
*/
|
|
2125
|
+
overflow?: PointLabelOverflow;
|
|
2126
|
+
}
|
|
2127
|
+
/**
|
|
2128
|
+
* 데이터포인트 label과 시리즈 본체를 연결하는 선.<br/>
|
|
2129
|
+
*/
|
|
2130
|
+
interface WidgetSeriesConnectorOptions extends ChartItemOptions {
|
|
2131
|
+
/**
|
|
2132
|
+
* true면 곡선으로 표시한다.<br/>
|
|
2133
|
+
*
|
|
2134
|
+
* @default true
|
|
2135
|
+
*/
|
|
2136
|
+
curved?: boolean;
|
|
2137
|
+
}
|
|
2010
2138
|
/**
|
|
2011
2139
|
* {@page config.series.pie} 시리즈나 {@page config.seriesfunnel} 시리즈 설정 옵션들의 기반(base).<br/>
|
|
2012
2140
|
*/
|
|
@@ -2024,7 +2152,7 @@ interface WidgetSeriesOptions extends SeriesOptions {
|
|
|
2024
2152
|
* {@page config.series.funnel 'funnel'} 시리즈들의 수직 중심 위치<br/>
|
|
2025
2153
|
* 숫자나 body 영역 높이에 대한 상대값을 '%'로 지정할 수 있다.
|
|
2026
2154
|
|
|
2027
|
-
|
|
2155
|
+
* @default '50%'
|
|
2028
2156
|
*/
|
|
2029
2157
|
centerY?: PercentSize;
|
|
2030
2158
|
/**
|
|
@@ -2039,6 +2167,12 @@ interface WidgetSeriesOptions extends SeriesOptions {
|
|
|
2039
2167
|
* @default false
|
|
2040
2168
|
*/
|
|
2041
2169
|
legendByPoint?: boolean;
|
|
2170
|
+
/**
|
|
2171
|
+
* 값이 0인 데이터포인트를 범례 항목으로 표시할 것인 지 여부.<br/>
|
|
2172
|
+
*
|
|
2173
|
+
* @default true
|
|
2174
|
+
*/
|
|
2175
|
+
zeroInLegend?: boolean;
|
|
2042
2176
|
}
|
|
2043
2177
|
declare const BarRangeSeriesType = "barrange";
|
|
2044
2178
|
/**
|
|
@@ -2183,7 +2317,7 @@ interface LinePointLabelOptions extends DataPointLabelOptions {
|
|
|
2183
2317
|
*
|
|
2184
2318
|
* @default 'head'
|
|
2185
2319
|
*/
|
|
2186
|
-
position?:
|
|
2320
|
+
position?: PointLabelPosition;
|
|
2187
2321
|
/**
|
|
2188
2322
|
* position 위치에서 수평 정렬 상태.
|
|
2189
2323
|
*
|
|
@@ -2203,20 +2337,14 @@ interface LinePointLabelOptions extends DataPointLabelOptions {
|
|
|
2203
2337
|
declare const _LineType: {
|
|
2204
2338
|
/**
|
|
2205
2339
|
* 시리즈 종류에 따라 직선이거나 곡선일 수 있다.
|
|
2206
|
-
*
|
|
2207
|
-
* @config
|
|
2208
2340
|
*/
|
|
2209
2341
|
readonly DEFAULT: "default";
|
|
2210
2342
|
/**
|
|
2211
2343
|
* 점들을 연결하는 스플라인 곡선.
|
|
2212
|
-
*
|
|
2213
|
-
* @config
|
|
2214
2344
|
*/
|
|
2215
2345
|
readonly SPLINE: "spline";
|
|
2216
2346
|
/**
|
|
2217
2347
|
* 계단형 직선.
|
|
2218
|
-
*
|
|
2219
|
-
* @config
|
|
2220
2348
|
*/
|
|
2221
2349
|
readonly STEP: "step";
|
|
2222
2350
|
};
|
|
@@ -2371,12 +2499,12 @@ interface SplineSeriesOptions extends LineSeriesOptions {
|
|
|
2371
2499
|
interface AreaSeriesOptions extends LineSeriesOptions {
|
|
2372
2500
|
type?: AreaSeriesOptionsType;
|
|
2373
2501
|
/**
|
|
2374
|
-
* area 영역에 추가적으로 적용되는
|
|
2502
|
+
* area 영역에 추가적으로 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
2375
2503
|
*
|
|
2376
2504
|
*/
|
|
2377
2505
|
areaStyle?: SVGStyleOrClass;
|
|
2378
2506
|
/**
|
|
2379
|
-
* base 아래쪽 area 영역에 추가적으로 적용되는
|
|
2507
|
+
* base 아래쪽 area 영역에 추가적으로 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
2380
2508
|
*
|
|
2381
2509
|
*/
|
|
2382
2510
|
belowAreaStyle?: SVGStyleOrClass;
|
|
@@ -2631,7 +2759,7 @@ interface CandlestickSeriesOptions extends LowRangedSeriesOptions {
|
|
|
2631
2759
|
*/
|
|
2632
2760
|
highField?: string;
|
|
2633
2761
|
/**
|
|
2634
|
-
* 값이 하락한 데이터포인트에 적용되는
|
|
2762
|
+
* 값이 하락한 데이터포인트에 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
2635
2763
|
*
|
|
2636
2764
|
*/
|
|
2637
2765
|
declineStyle?: SVGStyleOrClass;
|
|
@@ -2646,7 +2774,7 @@ interface CircleBarPointLabelOptions extends DataPointLabelOptions {
|
|
|
2646
2774
|
* @override
|
|
2647
2775
|
* @default 'inside'
|
|
2648
2776
|
*/
|
|
2649
|
-
position?:
|
|
2777
|
+
position?: PointLabelPosition;
|
|
2650
2778
|
}
|
|
2651
2779
|
declare const CircleBarSeriesType = "circlebar";
|
|
2652
2780
|
/**
|
|
@@ -2817,6 +2945,17 @@ interface ErrorBarSeriesOptions extends LowRangedSeriesOptions {
|
|
|
2817
2945
|
*/
|
|
2818
2946
|
tooltipText?: string;
|
|
2819
2947
|
}
|
|
2948
|
+
/**
|
|
2949
|
+
* funnel 시리즈의 point label 옵션.<br/>
|
|
2950
|
+
* position이 'auto'이면 'inside'로 표시된다.
|
|
2951
|
+
* 라벨들이 겹치면 값이 적은 것들 순서대로 감춘다.
|
|
2952
|
+
*/
|
|
2953
|
+
interface FunnelSeriesLabelOptions extends WidgetSeriesLabelOptions {
|
|
2954
|
+
/**
|
|
2955
|
+
* true로 지정하면 반대쪽(왼편)에 표시한다.
|
|
2956
|
+
*/
|
|
2957
|
+
opposite?: boolean;
|
|
2958
|
+
}
|
|
2820
2959
|
declare const FunnelSeriesType = "funnel";
|
|
2821
2960
|
/**
|
|
2822
2961
|
* Funnel 시리즈.<br/>
|
|
@@ -2845,6 +2984,10 @@ declare const FunnelSeriesType = "funnel";
|
|
|
2845
2984
|
*/
|
|
2846
2985
|
interface FunnelSeriesOptions extends WidgetSeriesOptions {
|
|
2847
2986
|
type?: typeof FunnelSeriesType;
|
|
2987
|
+
/**
|
|
2988
|
+
* @override
|
|
2989
|
+
*/
|
|
2990
|
+
pointLabel?: FunnelSeriesLabelOptions;
|
|
2848
2991
|
/**
|
|
2849
2992
|
* @default '85%'
|
|
2850
2993
|
*/
|
|
@@ -3003,7 +3146,7 @@ interface AreaRangeSeriesOptions extends LineSeriesBaseOptions {
|
|
|
3003
3146
|
*/
|
|
3004
3147
|
highField?: string;
|
|
3005
3148
|
/**
|
|
3006
|
-
* area 영역에 추가적으로 적용되는
|
|
3149
|
+
* area 영역에 추가적으로 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
|
|
3007
3150
|
*
|
|
3008
3151
|
*/
|
|
3009
3152
|
areaStyle?: SVGStyleOrClass;
|
|
@@ -3179,12 +3322,38 @@ interface RadialSeriesOptions extends WidgetSeriesOptions {
|
|
|
3179
3322
|
}
|
|
3180
3323
|
interface PieSeriesTextOptions extends IconedTextOptions {
|
|
3181
3324
|
}
|
|
3182
|
-
|
|
3325
|
+
declare const _PointLabelRotationMode: {
|
|
3183
3326
|
/**
|
|
3184
|
-
*
|
|
3185
|
-
* @default true
|
|
3327
|
+
* 호를 따라 label을 회전 시킨다.
|
|
3186
3328
|
*/
|
|
3187
|
-
|
|
3329
|
+
readonly ARC: "arc";
|
|
3330
|
+
/**
|
|
3331
|
+
* 중심각에 따라 label을 회전시킨다.
|
|
3332
|
+
*/
|
|
3333
|
+
readonly ANGLE: "angle";
|
|
3334
|
+
};
|
|
3335
|
+
type PointLabelRotationMode = typeof _PointLabelRotationMode[keyof typeof _PointLabelRotationMode];
|
|
3336
|
+
/**
|
|
3337
|
+
* pie 시리즈의 point label 옵션.<br/>
|
|
3338
|
+
* position이 'auto'이면 'inside'로 표시된다.
|
|
3339
|
+
* 라벨들이 겹치면 값이 적은 것들 순서대로 감춘다.
|
|
3340
|
+
*/
|
|
3341
|
+
interface PieSeriesLabelOptions extends WidgetSeriesLabelOptions {
|
|
3342
|
+
/**
|
|
3343
|
+
* {@page position}이 'inside'가 될 때,
|
|
3344
|
+
* label의 중심점이 되는 위치를 pie 전체 원에 대한 **0~1** 사이의 상대값으로 지정한다.<br/>
|
|
3345
|
+
* 이 속성값과 {@page offset} 속성값의 합으로 위치가 정해진다.
|
|
3346
|
+
*
|
|
3347
|
+
* @default 0.7
|
|
3348
|
+
*/
|
|
3349
|
+
radius?: number;
|
|
3350
|
+
/**
|
|
3351
|
+
* {@page autoRatation}이 true 일때,
|
|
3352
|
+
* label의 회전 방식을 지정한다.
|
|
3353
|
+
*
|
|
3354
|
+
* @default 'arc'
|
|
3355
|
+
*/
|
|
3356
|
+
rotationMode?: PointLabelRotationMode;
|
|
3188
3357
|
}
|
|
3189
3358
|
declare const PieSeriesType = "pie";
|
|
3190
3359
|
/**
|
|
@@ -3222,28 +3391,24 @@ interface PieSeriesOptions extends RadialSeriesOptions {
|
|
|
3222
3391
|
*/
|
|
3223
3392
|
groupSize?: number;
|
|
3224
3393
|
/**
|
|
3225
|
-
* 0보다 큰 값을 지정해서 도넛 형태로 표시할 수
|
|
3394
|
+
* 0보다 큰 값을 지정해서 도넛 형태로 표시할 수 있다.<br/>
|
|
3226
3395
|
* 시리즈 원호의 반지름에 대한 상대적 크기나 픽셀 수로 지정할 수 있다.
|
|
3227
3396
|
* {@page innerText}로 도넛 내부에 표시될 텍스트를 지정할 수 있다.
|
|
3228
3397
|
*/
|
|
3229
3398
|
innerRadius?: PercentSize;
|
|
3230
|
-
/**
|
|
3231
|
-
* @default 25
|
|
3232
|
-
*/
|
|
3233
|
-
labelDistance?: number;
|
|
3234
3399
|
/**
|
|
3235
3400
|
* @default '7%'
|
|
3236
3401
|
*/
|
|
3237
3402
|
sliceOffset?: PercentSize;
|
|
3238
3403
|
/**
|
|
3239
|
-
* 클릭한 데이터 포인트를 slice
|
|
3404
|
+
* 클릭한 데이터 포인트를 slice 시킨다.<br/>
|
|
3240
3405
|
* 기존 slice 됐던 포인트는 원복된다.
|
|
3241
3406
|
*
|
|
3242
3407
|
* @default true
|
|
3243
3408
|
*/
|
|
3244
3409
|
autoSlice?: boolean;
|
|
3245
3410
|
/**
|
|
3246
|
-
* Slice animation duration
|
|
3411
|
+
* Slice animation duration.<br/>
|
|
3247
3412
|
* 밀리세컨드(ms) 단위로 지정.
|
|
3248
3413
|
*
|
|
3249
3414
|
* @default 300
|
|
@@ -3252,11 +3417,9 @@ interface PieSeriesOptions extends RadialSeriesOptions {
|
|
|
3252
3417
|
/**
|
|
3253
3418
|
* @default 0
|
|
3254
3419
|
*/
|
|
3255
|
-
borderRadius?: number;
|
|
3256
3420
|
/**
|
|
3257
|
-
* {@page innerRadius}가 0보다 클 때, 도넛 내부에 표시되는
|
|
3421
|
+
* {@page innerRadius}가 0보다 클 때, 도넛 내부에 표시되는 텍스트.<br/>
|
|
3258
3422
|
* 기본 클래스 selector는 <b>'rct-pie-series-inner'</b>이다.
|
|
3259
|
-
*
|
|
3260
3423
|
*/
|
|
3261
3424
|
innerText?: PieSeriesTextOptions;
|
|
3262
3425
|
}
|
|
@@ -3668,8 +3831,7 @@ interface TitleOptions extends ChartItemOptions {
|
|
|
3668
3831
|
*/
|
|
3669
3832
|
verticalAlign?: VerticalAlign;
|
|
3670
3833
|
/**
|
|
3671
|
-
* 배경 스타일셋
|
|
3672
|
-
*
|
|
3834
|
+
* 배경 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
3673
3835
|
*/
|
|
3674
3836
|
backgroundStyle?: SVGStyleOrClass;
|
|
3675
3837
|
/**
|
|
@@ -3892,6 +4054,10 @@ interface EmptyViewOptions extends ChartTextOptions {
|
|
|
3892
4054
|
}
|
|
3893
4055
|
/**
|
|
3894
4056
|
* {@page config.base.series 시리즈}나 {@page config.base.gauge 게이지}들이 그려지는 영역 설정 옵션.<br/>
|
|
4057
|
+
* 전체 차트에서 {@page config.title 타이틀}, {@page config.legend 범례},
|
|
4058
|
+
* 외부 {@page config.base.annotation 어노테이션}들을 제외한 영역이다.
|
|
4059
|
+
* 특히, {@page config.#polar 극좌표계} 또는 {@page config.series.pie}나 {@page config.series.funnel} 시리즈는
|
|
4060
|
+
* 이 영역을 기준으로 크기와 위치를 설정한다.
|
|
3895
4061
|
*
|
|
3896
4062
|
* ```js
|
|
3897
4063
|
* const chart = {
|
|
@@ -3907,25 +4073,25 @@ interface EmptyViewOptions extends ChartTextOptions {
|
|
|
3907
4073
|
*/
|
|
3908
4074
|
interface BodyOptions extends ChartItemOptions {
|
|
3909
4075
|
/**
|
|
3910
|
-
*
|
|
4076
|
+
* {@page config.#polar 극좌표계} 차트일 때 반지름.<br/>
|
|
3911
4077
|
*
|
|
3912
4078
|
* @default '45%'
|
|
3913
4079
|
*/
|
|
3914
4080
|
radius?: PercentSize;
|
|
3915
4081
|
/**
|
|
3916
|
-
*
|
|
4082
|
+
* {@page config.#polar 극좌표계} 차트일 때 중심 x 좌표.<br/>
|
|
3917
4083
|
*
|
|
3918
4084
|
* @default '50%'
|
|
3919
4085
|
*/
|
|
3920
4086
|
centerX?: PercentSize;
|
|
3921
4087
|
/**
|
|
3922
|
-
*
|
|
4088
|
+
* {@page config.#polar 극좌표계} 차트일 때 중심 y 좌표.<br/>
|
|
3923
4089
|
*
|
|
3924
4090
|
* @default '50%'
|
|
3925
4091
|
*/
|
|
3926
4092
|
centerY?: PercentSize;
|
|
3927
4093
|
/**
|
|
3928
|
-
* false이면 polar 차트일 때, x 축선과 y축 그리드 선들을 다각형으로 표시한다.<br/>
|
|
4094
|
+
* false이면 {@page config.#polar 극좌표계} 차트일 때, x 축선과 y축 그리드 선들을 다각형으로 표시한다.<br/>
|
|
3929
4095
|
*
|
|
3930
4096
|
* @default true
|
|
3931
4097
|
*/
|
|
@@ -5049,6 +5215,7 @@ declare abstract class Widget<OP extends ChartItemOptions> extends ChartItem<OP>
|
|
|
5049
5215
|
*/
|
|
5050
5216
|
interface ILegendSource {
|
|
5051
5217
|
visible: boolean;
|
|
5218
|
+
isEmpty?(): boolean;
|
|
5052
5219
|
legendMarker(doc: Document, size: number): RcElement;
|
|
5053
5220
|
legendColor(): string;
|
|
5054
5221
|
legendLabel(): string;
|
|
@@ -5150,7 +5317,7 @@ declare class Tooltip extends ChartItem<TooltipOptions> {
|
|
|
5150
5317
|
* 옵션 설정 모델은 {@page DataPointLabelOptions}이다.
|
|
5151
5318
|
*/
|
|
5152
5319
|
declare class DataPointLabel<OP extends DataPointLabelOptions = DataPointLabelOptions> extends IconedText<OP> {
|
|
5153
|
-
|
|
5320
|
+
static readonly OFFSET = 5;
|
|
5154
5321
|
static defaults: DataPointLabelOptions;
|
|
5155
5322
|
private _point;
|
|
5156
5323
|
_domain: IRichTextDomain;
|
|
@@ -5328,6 +5495,10 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5328
5495
|
private _argsPoint;
|
|
5329
5496
|
private _loaded;
|
|
5330
5497
|
_pointsChanged: boolean;
|
|
5498
|
+
_labelPos: PointLabelPosition;
|
|
5499
|
+
_labelPosCallback: (p: DataPointCallbackArgs) => PointLabelPosition;
|
|
5500
|
+
_labelOff: number;
|
|
5501
|
+
_labelOffCallback: (p: DataPointCallbackArgs) => number;
|
|
5331
5502
|
protected _doInit(op: OP): void;
|
|
5332
5503
|
protected _doInitChildren(op: {
|
|
5333
5504
|
[child: string]: ChartItemOptions;
|
|
@@ -5349,7 +5520,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5349
5520
|
*/
|
|
5350
5521
|
get name(): string;
|
|
5351
5522
|
/**
|
|
5352
|
-
* 데이터포인트 label 설정
|
|
5523
|
+
* 데이터포인트 label 설정 모델.<br/>
|
|
5353
5524
|
*/
|
|
5354
5525
|
get pointLabel(): DataPointLabel<DataPointLabelOptions>;
|
|
5355
5526
|
/**
|
|
@@ -5361,6 +5532,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5361
5532
|
* 시리즈에 설정된 데이터포인트 개수.<br/>
|
|
5362
5533
|
*/
|
|
5363
5534
|
get pointCount(): number;
|
|
5535
|
+
get points(): DataPoint[];
|
|
5364
5536
|
/**
|
|
5365
5537
|
* 시리즈에 설정된 데이터포인트들 중 표시 중인 것들의 개수.<br/>
|
|
5366
5538
|
*/
|
|
@@ -5448,12 +5620,15 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
5448
5620
|
pointValuesPrepared(axis: IAxis): void;
|
|
5449
5621
|
reference(other: Series, axis: IAxis): void;
|
|
5450
5622
|
getLegendSources(list: ILegendSource[]): void;
|
|
5451
|
-
|
|
5623
|
+
getLabelPos(labels: DataPointLabel): PointLabelPosition;
|
|
5624
|
+
protected _getLabelAutoPos(labels: DataPointLabel, pos: PointLabelPosition): PointLabelPosition;
|
|
5625
|
+
getLabelPos2(labels: DataPointLabel, p: DataPoint): PointLabelPosition;
|
|
5452
5626
|
getLabelOff(off: number): number;
|
|
5627
|
+
getLabelOff2(p: DataPoint): number;
|
|
5453
5628
|
referBy(ref: Series): void;
|
|
5454
5629
|
setPointVisible(p: DataPoint, visible: boolean): void;
|
|
5455
5630
|
protected _preparePointArgs(args: DataPointCallbackArgs): void;
|
|
5456
|
-
_getPointCallbackArgs(args: DataPointCallbackArgs, p: DataPoint):
|
|
5631
|
+
_getPointCallbackArgs(args: DataPointCallbackArgs, p: DataPoint): DataPointCallbackArgs;
|
|
5457
5632
|
getPointText(p: DataPoint, index: number, label: any): string;
|
|
5458
5633
|
getPointStyle(p: DataPoint): SVGStyleOrClass;
|
|
5459
5634
|
getPointLabelStyle(p: DataPoint): any;
|
|
@@ -5633,19 +5808,47 @@ declare class WidgetSeriesPoint extends DataPoint implements ILegendSource {
|
|
|
5633
5808
|
legendColor(): string;
|
|
5634
5809
|
legendLabel(): string;
|
|
5635
5810
|
styleLegendMarker(marker: RcElement): void;
|
|
5811
|
+
isEmpty(): boolean;
|
|
5812
|
+
initPrev(axis: IAxis, prev: any): void;
|
|
5813
|
+
}
|
|
5814
|
+
declare class WidgetSeriesConnector extends ChartItem<WidgetSeriesConnectorOptions> {
|
|
5815
|
+
static defaults: WidgetSeriesConnectorOptions;
|
|
5816
|
+
}
|
|
5817
|
+
declare abstract class WidgetSeriesLabel<OP extends WidgetSeriesLabelOptions = WidgetSeriesLabelOptions> extends DataPointLabel<OP> {
|
|
5818
|
+
isSub: boolean;
|
|
5819
|
+
static defaults: WidgetSeriesLabelOptions;
|
|
5820
|
+
private _connector;
|
|
5821
|
+
private _distance;
|
|
5822
|
+
protected _distanceDim: IPercentSize;
|
|
5823
|
+
constructor(chart: IChart, isSub?: boolean);
|
|
5824
|
+
protected _doInitChildren(op: {
|
|
5825
|
+
[child: string]: ChartItemOptions;
|
|
5826
|
+
}): void;
|
|
5827
|
+
/**
|
|
5828
|
+
* 연결선 모델.<br/>
|
|
5829
|
+
*/
|
|
5830
|
+
get connector(): WidgetSeriesConnector;
|
|
5831
|
+
getAlign(): number;
|
|
5832
|
+
protected _doApply(options: WidgetSeriesLabelOptions): void;
|
|
5636
5833
|
}
|
|
5637
5834
|
declare abstract class WidgetSeries<OP extends WidgetSeriesOptions = {}> extends Series<OP> {
|
|
5638
5835
|
static readonly CENTER = "50%";
|
|
5639
5836
|
static defaults: WidgetSeriesOptions;
|
|
5837
|
+
private _subLabel;
|
|
5640
5838
|
private _centerX;
|
|
5641
5839
|
private _centerY;
|
|
5642
5840
|
private _centerXDim;
|
|
5643
5841
|
private _centerYDim;
|
|
5842
|
+
protected _doInitChildren(op: {
|
|
5843
|
+
[child: string]: ChartItemOptions;
|
|
5844
|
+
}): void;
|
|
5845
|
+
get subLabel(): WidgetSeriesLabel;
|
|
5644
5846
|
getCenter(plotWidth: number, plotHeight: number): Point;
|
|
5645
|
-
|
|
5847
|
+
protected _getLabelAutoPos(labels: WidgetSeriesLabel, pos: PointLabelPosition): PointLabelPosition;
|
|
5646
5848
|
needAxes(): boolean;
|
|
5647
5849
|
_colorByPoint(): boolean;
|
|
5648
5850
|
getLegendSources(list: ILegendSource[]): void;
|
|
5851
|
+
_isVisibleInLegend(p: WidgetSeriesPoint): boolean;
|
|
5649
5852
|
protected _doApply(options: WidgetSeriesOptions): void;
|
|
5650
5853
|
canMinPadding(axis: IAxis, min: number): boolean;
|
|
5651
5854
|
canMaxPadding(axis: IAxis, max: number): boolean;
|
|
@@ -5676,7 +5879,6 @@ declare abstract class ClusterableSeries<OP extends ClusterableSeriesOptions = C
|
|
|
5676
5879
|
getMinPointWidth(): number;
|
|
5677
5880
|
getPointWidth(length: number): number;
|
|
5678
5881
|
getPointPos(length: number): number;
|
|
5679
|
-
getLabelPosition(p: PointItemPosition): PointItemPosition;
|
|
5680
5882
|
isClusterable(): boolean;
|
|
5681
5883
|
setCluster(width: number, pos: number): void;
|
|
5682
5884
|
protected _doPrepareRender(): void;
|
|
@@ -5738,6 +5940,7 @@ declare abstract class SeriesGroup<T extends Series = Series, OP extends SeriesG
|
|
|
5738
5940
|
isClusterable(): boolean;
|
|
5739
5941
|
getBaseValue(axis: IAxis): number;
|
|
5740
5942
|
getVisibleSeries(): ISeries[];
|
|
5943
|
+
get visCount(): number;
|
|
5741
5944
|
_type(): string;
|
|
5742
5945
|
_seriesType(): string;
|
|
5743
5946
|
setCol(col: number): void;
|
|
@@ -5813,6 +6016,7 @@ declare abstract class DataPoint {
|
|
|
5813
6016
|
series: string | number;
|
|
5814
6017
|
readonly pid: number;
|
|
5815
6018
|
source: any;
|
|
6019
|
+
labelOptions: any;
|
|
5816
6020
|
isNull: boolean;
|
|
5817
6021
|
xValue: number;
|
|
5818
6022
|
yValue: number;
|
|
@@ -5836,6 +6040,7 @@ declare abstract class DataPoint {
|
|
|
5836
6040
|
ariaHint(): string;
|
|
5837
6041
|
labelCount(): number;
|
|
5838
6042
|
getValue(): number;
|
|
6043
|
+
isEmpty(): boolean;
|
|
5839
6044
|
copy(): any;
|
|
5840
6045
|
assignTo(proxy?: any): any;
|
|
5841
6046
|
getProp(fld: string | number): any;
|
|
@@ -6537,15 +6742,11 @@ interface AxisTitleOptions extends AxisItemOptions {
|
|
|
6537
6742
|
backgroundStyle?: SVGStyleOrClass;
|
|
6538
6743
|
/**
|
|
6539
6744
|
* 타이틀을 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
|
|
6540
|
-
*
|
|
6541
|
-
* @config
|
|
6542
6745
|
*/
|
|
6543
6746
|
writingMode?: WritingMode;
|
|
6544
6747
|
/**
|
|
6545
6748
|
* 텍스트 문자 방향을 지정한다.
|
|
6546
6749
|
* 세로 모드의 텍스트에만 적용된다.
|
|
6547
|
-
*
|
|
6548
|
-
* @config
|
|
6549
6750
|
*/
|
|
6550
6751
|
textOrientation?: TextOrientation;
|
|
6551
6752
|
}
|
|
@@ -8018,8 +8219,8 @@ interface LinearValueBarOptions extends ChartItemOptions {
|
|
|
8018
8219
|
}
|
|
8019
8220
|
interface BulletValueBarOptions extends LinearValueBarOptions {
|
|
8020
8221
|
/**
|
|
8021
|
-
* {@page value 현재 값}이 {@page targetValue 목표 값} 미만일 때
|
|
8022
|
-
*
|
|
8222
|
+
* {@page value 현재 값}이 {@page targetValue 목표 값} 미만일 때
|
|
8223
|
+
* 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
8023
8224
|
*/
|
|
8024
8225
|
belowStyle?: SVGStyleOrClass;
|
|
8025
8226
|
}
|
|
@@ -8186,7 +8387,7 @@ interface CircularGaugeOptions extends ValueGaugeOptions {
|
|
|
8186
8387
|
*/
|
|
8187
8388
|
label?: CircularGaugeLabelOptions | boolean;
|
|
8188
8389
|
/**
|
|
8189
|
-
* 내부 원에 적용할 스타일셋
|
|
8390
|
+
* 내부 원에 적용할 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
8190
8391
|
*
|
|
8191
8392
|
*/
|
|
8192
8393
|
innerStyle?: SVGStyleOrClass;
|
|
@@ -8259,7 +8460,7 @@ interface CircularGaugeGroupOptions extends GaugeGroupOptions<CircleGaugeOptions
|
|
|
8259
8460
|
*/
|
|
8260
8461
|
label?: CircularGaugeLabelOptions | boolean;
|
|
8261
8462
|
/**
|
|
8262
|
-
* 내부 원에 적용할 스타일셋
|
|
8463
|
+
* 내부 원에 적용할 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
|
|
8263
8464
|
*
|
|
8264
8465
|
* @config
|
|
8265
8466
|
*/
|
|
@@ -11224,6 +11425,11 @@ declare class ErrorBarSeries extends LowRangedSeries<ErrorBarSeriesOptions> {
|
|
|
11224
11425
|
protected _getBottomValue(p: RangedPoint): number;
|
|
11225
11426
|
}
|
|
11226
11427
|
|
|
11428
|
+
declare class FunnelSeriesLabel extends WidgetSeriesLabel<FunnelSeriesLabelOptions> {
|
|
11429
|
+
static readonly OUTSIDE_DIST = 25;
|
|
11430
|
+
static readonly ENDED_DIST = 10;
|
|
11431
|
+
getDistance(): number;
|
|
11432
|
+
}
|
|
11227
11433
|
/**
|
|
11228
11434
|
* Funnel 시리즈 모델.<br/>
|
|
11229
11435
|
* {@page op.SeriesOptions#type}은 {@page config.series.funnel 'funnel'}이고,
|
|
@@ -11242,6 +11448,8 @@ declare class FunnelSeries extends WidgetSeries<FunnelSeriesOptions> {
|
|
|
11242
11448
|
private _neckHeightDim;
|
|
11243
11449
|
getSize(plotWidth: number, plotHeight: number): Size;
|
|
11244
11450
|
getNeckSize(width: number, height: number): Size;
|
|
11451
|
+
get pointLabel(): FunnelSeriesLabel;
|
|
11452
|
+
protected _createLabel(chart: IChart): FunnelSeriesLabel;
|
|
11245
11453
|
protected _createPoint(source: any): DataPoint;
|
|
11246
11454
|
protected _doApply(options: FunnelSeriesOptions): void;
|
|
11247
11455
|
}
|
|
@@ -11355,8 +11563,13 @@ declare class PieSeriesPoint extends WidgetSeriesPoint {
|
|
|
11355
11563
|
declare class PieSeriesText extends IconedText<PieSeriesTextOptions> {
|
|
11356
11564
|
getDefaultIconPos(): IconPosition;
|
|
11357
11565
|
}
|
|
11358
|
-
declare class PieSeriesLabel extends
|
|
11566
|
+
declare class PieSeriesLabel extends WidgetSeriesLabel<PieSeriesLabelOptions> {
|
|
11567
|
+
static readonly INSIDE_DIST: IPercentSize;
|
|
11568
|
+
static readonly INNER_DIST: IPercentSize;
|
|
11569
|
+
static readonly OUTSIDE_DIST = 25;
|
|
11570
|
+
static readonly ENDED_DIST = 10;
|
|
11359
11571
|
static defaults: PieSeriesLabelOptions;
|
|
11572
|
+
getDistance(inner: boolean, rd: number, rdInner: number): number;
|
|
11360
11573
|
}
|
|
11361
11574
|
/**
|
|
11362
11575
|
* Pie 시리즈 모델.<br/>
|
|
@@ -11381,8 +11594,6 @@ declare class PieSeries extends RadialSeries<PieSeriesOptions> {
|
|
|
11381
11594
|
/**
|
|
11382
11595
|
* {@page innerRadius}가 0보다 클 때, 도넛 내부에 표시되는 텍스트.
|
|
11383
11596
|
* 기본 클래스 selector는 <b>'rct-pie-series-inner'</b>이다.
|
|
11384
|
-
*
|
|
11385
|
-
* @config
|
|
11386
11597
|
*/
|
|
11387
11598
|
get innerText(): PieSeriesText;
|
|
11388
11599
|
followPointer(): boolean;
|
|
@@ -12114,4 +12325,4 @@ declare const configure: typeof Globals.configure;
|
|
|
12114
12325
|
declare const createChart: typeof Globals.createChart;
|
|
12115
12326
|
declare const createData: typeof Globals.createData;
|
|
12116
12327
|
|
|
12117
|
-
export { Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AreaRangeSeries, AreaRangeSeriesOptions, AreaSeries, AreaSeriesGroup, AreaSeriesGroupOptions, AreaSeriesOptions, AssetItemOptions, AssetOptionsType, Axis, AxisBaseLine, AxisBaseLineOptions, AxisBreakOptions, AxisGrid, AxisGridOptions, AxisGridRowsOptions, AxisGuideLabelOptions, AxisGuideOptions, AxisItem, AxisItemOptions, AxisLabel, AxisLabelArgs, AxisLabelOptions, AxisLine, AxisLineGuideOptions, AxisLineOptions, AxisOptions, AxisOptionsType, AxisRangeGuideOptions, AxisScrollBar, AxisScrollBarOptions, AxisSectorLine, AxisSectorLineOptions, AxisTick, AxisTickOptions, AxisTitle, AxisTitleOptions, BackgroundImageOptions, BarRangeSeries, BarRangeSeriesOptions, BarSeries, BarSeriesBase, BarSeriesBaseOptions, BarSeriesGroup, BarSeriesGroupBase, BarSeriesGroupBaseOptions, BarSeriesGroupOptions, BarSeriesOptions, BasedSeries, BasedSeriesOptions, BellCurveSeries, BellCurveSeriesOptions, Body, BodyOptions, BoxPlotSeries, BoxPlotSeriesOptions, BubbleSeries, BubbleSeriesOptions, BulletGauge, BulletGaugeBand, BulletGaugeBandOptions, BulletGaugeGroup, BulletGaugeGroupOptions, BulletGaugeOptions, BulletTargetBar, BulletTargetBarOptions, BulletValueBar, BulletValueBarOptions, BumpSeriesGroup, BumpSeriesGroupOptions, CandlestickSeries, CandlestickSeriesOptions, CategoryAxis, CategoryAxisGrid, CategoryAxisLabel, CategoryAxisOptions, CategoryAxisTick, CategoryAxisTickOptions, Chart, ChartConfiguration, ChartData, ChartDataCollection, ChartDataOptions, ChartItem, ChartItemOptions, ChartOptions, ChartOptionsOptions, ChartText, CircelBarPointLabel, CircleBarPointLabelOptions, CircleBarSeries, CircleBarSeriesGroup, CircleBarSeriesGroupOptions, CircleBarSeriesOptions, CircleGauge, CircleGaugeGroup, CircleGaugeGroupOptions, CircleGaugeHand, CircleGaugeHandOptions, CircleGaugeOptions, CircleGaugePin, CircleGaugePinOptions, CircleGaugeRim, CircleGaugeRimBase, CircleGaugeRimBaseOptions, CircleGaugeRimOptions, CircleGaugeScale, CircleGaugeScaleOptions, CircleGaugeValueMarkerOptions, CircleGaugeValueRim, CircleGaugeValueRimOptions, CircularGauge, CircularGaugeGroup, CircularGaugeGroupOptions, CircularGaugeLabel, CircularGaugeLabelOptions, CircularGaugeOptions, ClockGauge, ClockGaugeHand, ClockGaugeHandOptions, ClockGaugeLabel, ClockGaugeLabelOptions, ClockGaugeMinuteHand, ClockGaugeOptions, ClockGaugePin, ClockGaugePinOptions, ClockGaugeRim, ClockGaugeRimOptions, ClockGaugeSecondHand, ClockGaugeSecondHandOptions, ClockGaugeTick, ClockGaugeTickLabel, ClockGaugeTickLabelOptions, ClockGaugeTickOptions, ClusterableSeries, ClusterableSeriesGroup, ClusterableSeriesGroupOptions, ClusterableSeriesOptions, ColorListOptions, ConstraintSeriesGroup, ContinuousAxis, ContinuousAxisGridOptions, ContinuousAxisLabelOptions, ContinuousAxisOptions, ContinuousAxisTickOptions, Credits, CreditsOptions, Crosshair, CrosshairCallbackArgs, CrosshairFlagOptions, CrosshairOptions, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DataPointLabelOptions, DumbbellSeries, DumbbellSeriesMarkerOptions, DumbbellSeriesOptions, EqualizerSeries, EqualizerSeriesOptions, ErrorBarSeries, ErrorBarSeriesOptions, ExportOptions, Exporter, FunnelSeries, FunnelSeriesOptions, Gauge, GaugeBase, GaugeBaseOptions, GaugeGroup, GaugeGroupOptions, GaugeItem, GaugeLabel, GaugeLabelOptions, GaugeOptions, GaugeOptionsType, GaugeRangeBand, GaugeRangeBandOptions, GaugeRangeLabel, GaugeRangeLabelOptions, GaugeScale, GaugeScaleLabelOptions, GaugeScaleOptions, GaugeScaleTickOptions, GradientOptions, GuageScaleTickOptions, HeatmapSeries, HeatmapSeriesOptions, HistogramSeries, HistogramSeriesOptions, IAxis, Point as IPoint, IconedText, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageOptions, Legend, LegendOptions, LinePointLabel, LinePointLabelOptions, LineSeries, LineSeriesBase, LineSeriesBaseOptions, LineSeriesFlagOptions, LineSeriesGroup, LineSeriesGroupOptions, LineSeriesMarkerOptions, LineSeriesOptions, LineSeriesPoint, LinearAxis, LinearAxisLabelOptions, LinearAxisOptions, LinearGauge, LinearGaugeBase, LinearGaugeBaseOptions, LinearGaugeChildLabel, LinearGaugeChildLabelOptions, LinearGaugeGroup, LinearGaugeGroupBase, LinearGaugeGroupBaseOptions, LinearGaugeGroupLabel, LinearGaugeGroupLabelOptions, LinearGaugeGroupOptions, LinearGaugeLabel, LinearGaugeLabelOptions, LinearGaugeOptions, LinearGaugeScale, LinearGaugeScaleOptions, LinearGradientOptions, LinearValueBar, LinearValueBarOptions, LogAxis, LogAxisOptions, LogAxisTickOptions, LollipopSeries, LollipopSeriesMarkerOptions, LollipopSeriesOptions, LowRangedSeries, LowRangedSeriesOptions, MarkerSeries, MarkerSeriesOptions, NavigatorMask, NavigiatorHandle, NavigiatorHandleOptions, NavigiatorMaskOptions, OhlcSeries, OhlcSeriesOptions, PaneBodyOptions, PaneOptions, ParetoSeries, ParetoSeriesOptions, PatternOptions, PieSeries, PieSeriesGroup, PieSeriesGroupOptions, PieSeriesLabel, PieSeriesLabelOptions, PieSeriesOptions, PieSeriesText, PieSeriesTextOptions, PointHovering, PointHoveringOptions, RadialGradientOptions, RadialSeries, RadialSeriesOptions, RangedSeries, RangedSeriesOptions, RcObject, SVGStyles, ScatterSeries, ScatterSeriesOptions, Series, SeriesGroup, SeriesGroupOptions, SeriesMarker, SeriesMarkerOptions, SeriesNavigator, SeriesNavigatorOptions, SeriesOptions, SeriesOptionsType, Shape, ShapeAnnotation, ShapeAnnotationOptions, SplineSeries, SplineSeriesOptions, Split, SplitOptions, StepCallbackArgs, Subtitle, SubtitleOptions, TextAnnotation, TextAnnotationOptions, TimeAxis, TimeAxisLabelOptions, TimeAxisOptions, TimeAxisTickOptions, Title, TitleOptions, Tooltip, TooltipOptions, TreeGroupHeadOptions, TreemapSeries, TreemapSeriesOptions, Trendline, TrendlineOptions, ValueGauge, ValueGaugeOptions, ValueRange, ValueRangeList, VectorSeries, VectorSeriesOptions, WaterfallSeries, WaterfallSeriesOptions, Widget, WidgetSeries, WidgetSeriesOptions, ZoomButtonOptions, configure, createChart, createData, getVersion, setAnimatable, setDebugging, setLogging };
|
|
12328
|
+
export { Annotation, AnnotationAnimationOptions, AnnotationOptions, AnnotationOptionsType, AreaRangeSeries, AreaRangeSeriesOptions, AreaSeries, AreaSeriesGroup, AreaSeriesGroupOptions, AreaSeriesOptions, AssetItemOptions, AssetOptionsType, Axis, AxisBaseLine, AxisBaseLineOptions, AxisBreakOptions, AxisGrid, AxisGridOptions, AxisGridRowsOptions, AxisGuideLabelOptions, AxisGuideOptions, AxisItem, AxisItemOptions, AxisLabel, AxisLabelArgs, AxisLabelOptions, AxisLine, AxisLineGuideOptions, AxisLineOptions, AxisOptions, AxisOptionsType, AxisRangeGuideOptions, AxisScrollBar, AxisScrollBarOptions, AxisSectorLine, AxisSectorLineOptions, AxisTick, AxisTickOptions, AxisTitle, AxisTitleOptions, BackgroundImageOptions, BarRangeSeries, BarRangeSeriesOptions, BarSeries, BarSeriesBase, BarSeriesBaseOptions, BarSeriesGroup, BarSeriesGroupBase, BarSeriesGroupBaseOptions, BarSeriesGroupOptions, BarSeriesOptions, BasedSeries, BasedSeriesOptions, BellCurveSeries, BellCurveSeriesOptions, Body, BodyOptions, BoxPlotSeries, BoxPlotSeriesOptions, BubbleSeries, BubbleSeriesOptions, BulletGauge, BulletGaugeBand, BulletGaugeBandOptions, BulletGaugeGroup, BulletGaugeGroupOptions, BulletGaugeOptions, BulletTargetBar, BulletTargetBarOptions, BulletValueBar, BulletValueBarOptions, BumpSeriesGroup, BumpSeriesGroupOptions, CandlestickSeries, CandlestickSeriesOptions, CategoryAxis, CategoryAxisGrid, CategoryAxisLabel, CategoryAxisOptions, CategoryAxisTick, CategoryAxisTickOptions, Chart, ChartConfiguration, ChartData, ChartDataCollection, ChartDataOptions, ChartItem, ChartItemOptions, ChartOptions, ChartOptionsOptions, ChartText, CircelBarPointLabel, CircleBarPointLabelOptions, CircleBarSeries, CircleBarSeriesGroup, CircleBarSeriesGroupOptions, CircleBarSeriesOptions, CircleGauge, CircleGaugeGroup, CircleGaugeGroupOptions, CircleGaugeHand, CircleGaugeHandOptions, CircleGaugeOptions, CircleGaugePin, CircleGaugePinOptions, CircleGaugeRim, CircleGaugeRimBase, CircleGaugeRimBaseOptions, CircleGaugeRimOptions, CircleGaugeScale, CircleGaugeScaleOptions, CircleGaugeValueMarkerOptions, CircleGaugeValueRim, CircleGaugeValueRimOptions, CircularGauge, CircularGaugeGroup, CircularGaugeGroupOptions, CircularGaugeLabel, CircularGaugeLabelOptions, CircularGaugeOptions, ClockGauge, ClockGaugeHand, ClockGaugeHandOptions, ClockGaugeLabel, ClockGaugeLabelOptions, ClockGaugeMinuteHand, ClockGaugeOptions, ClockGaugePin, ClockGaugePinOptions, ClockGaugeRim, ClockGaugeRimOptions, ClockGaugeSecondHand, ClockGaugeSecondHandOptions, ClockGaugeTick, ClockGaugeTickLabel, ClockGaugeTickLabelOptions, ClockGaugeTickOptions, ClusterableSeries, ClusterableSeriesGroup, ClusterableSeriesGroupOptions, ClusterableSeriesOptions, ColorListOptions, ConstraintSeriesGroup, ContinuousAxis, ContinuousAxisGridOptions, ContinuousAxisLabelOptions, ContinuousAxisOptions, ContinuousAxisTickOptions, Credits, CreditsOptions, Crosshair, CrosshairCallbackArgs, CrosshairFlagOptions, CrosshairOptions, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DataPointLabelOptions, DumbbellSeries, DumbbellSeriesMarkerOptions, DumbbellSeriesOptions, EmptyViewOptions, EqualizerSeries, EqualizerSeriesOptions, ErrorBarSeries, ErrorBarSeriesOptions, ExportOptions, Exporter, FunnelSeries, FunnelSeriesLabelOptions, FunnelSeriesOptions, Gauge, GaugeBase, GaugeBaseOptions, GaugeGroup, GaugeGroupOptions, GaugeItem, GaugeLabel, GaugeLabelOptions, GaugeOptions, GaugeOptionsType, GaugeRangeBand, GaugeRangeBandOptions, GaugeRangeLabel, GaugeRangeLabelOptions, GaugeScale, GaugeScaleLabelOptions, GaugeScaleOptions, GaugeScaleTickOptions, GradientOptions, GuageScaleTickOptions, HeatmapSeries, HeatmapSeriesOptions, HistogramSeries, HistogramSeriesOptions, IAxis, Point as IPoint, IconedText, ImageAnnotation, ImageAnnotationOptions, ImageListOptions, ImageOptions, Legend, LegendOptions, LinePointLabel, LinePointLabelOptions, LineSeries, LineSeriesBase, LineSeriesBaseOptions, LineSeriesFlagOptions, LineSeriesGroup, LineSeriesGroupOptions, LineSeriesMarkerOptions, LineSeriesOptions, LineSeriesPoint, LinearAxis, LinearAxisLabelOptions, LinearAxisOptions, LinearGauge, LinearGaugeBase, LinearGaugeBaseOptions, LinearGaugeChildLabel, LinearGaugeChildLabelOptions, LinearGaugeGroup, LinearGaugeGroupBase, LinearGaugeGroupBaseOptions, LinearGaugeGroupLabel, LinearGaugeGroupLabelOptions, LinearGaugeGroupOptions, LinearGaugeLabel, LinearGaugeLabelOptions, LinearGaugeOptions, LinearGaugeScale, LinearGaugeScaleOptions, LinearGradientOptions, LinearValueBar, LinearValueBarOptions, LogAxis, LogAxisOptions, LogAxisTickOptions, LollipopSeries, LollipopSeriesMarkerOptions, LollipopSeriesOptions, LowRangedSeries, LowRangedSeriesOptions, MarkerSeries, MarkerSeriesOptions, NavigatorMask, NavigiatorHandle, NavigiatorHandleOptions, NavigiatorMaskOptions, OhlcSeries, OhlcSeriesOptions, PaneBodyOptions, PaneOptions, ParetoSeries, ParetoSeriesOptions, PatternOptions, PieSeries, PieSeriesGroup, PieSeriesGroupOptions, PieSeriesLabel, PieSeriesLabelOptions, PieSeriesOptions, PieSeriesText, PieSeriesTextOptions, PointHovering, PointHoveringOptions, RadialGradientOptions, RadialSeries, RadialSeriesOptions, RangedSeries, RangedSeriesOptions, RcObject, SVGStyles, ScatterSeries, ScatterSeriesOptions, Series, SeriesGroup, SeriesGroupOptions, SeriesMarker, SeriesMarkerOptions, SeriesNavigator, SeriesNavigatorOptions, SeriesOptions, SeriesOptionsType, Shape, ShapeAnnotation, ShapeAnnotationOptions, SplineSeries, SplineSeriesOptions, Split, SplitOptions, StepCallbackArgs, Subtitle, SubtitleOptions, TextAnnotation, TextAnnotationOptions, TimeAxis, TimeAxisLabelOptions, TimeAxisOptions, TimeAxisTickOptions, Title, TitleOptions, Tooltip, TooltipOptions, TreeGroupHeadOptions, TreemapSeries, TreemapSeriesOptions, Trendline, TrendlineOptions, ValueGauge, ValueGaugeOptions, ValueRange, ValueRangeList, VectorSeries, VectorSeriesOptions, WaterfallSeries, WaterfallSeriesOptions, Widget, WidgetSeries, WidgetSeriesOptions, ZoomButtonOptions, configure, createChart, createData, getVersion, setAnimatable, setDebugging, setLogging };
|