realchart 1.1.9 → 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 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
@@ -254,12 +258,16 @@ interface SVGStyles {
254
258
  * {@page config.seires.bar 'bar'} 시리즈의 데이터포인트 bar의 모서리를 지정하는 데 사용된다.
255
259
  */
256
260
  rx?: string;
261
+ /**
262
+ * **SVG에 적용되는 정식 css style 속성이 아니다.**<br/>
263
+ * 데이터포인트 라벨등 몇 요소의 배경 간격 설정으로 사용할 수 있다.
264
+ */
265
+ padding?: string;
257
266
  /**
258
267
  * 텍스트 정렬을 지정한다.<br/>
259
268
  * **SVG에 적용되는 정식 css style 속성이 아니다.**
260
269
  * 즉, HTML이나 realchart-style.css 등의 외부 css 파일에서 사용할 수 없고,
261
- * RealChart 내부에서 {@page config.title}, {@page config.base.series.pointLabel datapoint label} 등의
262
- * inline 스타일 속성으로 지정할 수 있다.
270
+ * RealChart 내부에서 {@page config.title} 등의 inline 스타일 속성으로 지정할 수 있다.
263
271
  *
264
272
  * ```js
265
273
  * const config = {
@@ -442,7 +450,7 @@ interface ChartItemOptions {
442
450
  */
443
451
  visible?: boolean;
444
452
  /**
445
- * 스타일셋 혹은 class selector.
453
+ * {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
446
454
  *
447
455
  */
448
456
  style?: SVGStyleOrClass;
@@ -455,15 +463,18 @@ interface ChartTextOptions extends ChartItemOptions {
455
463
  */
456
464
  effect?: ChartTextEffect;
457
465
  /**
458
- * {@page autoContrast}가 true이고 밝게 표시할 때 적용되는 {@page it.SVGStyles 스타일셋}.<br/>
466
+ * {@page autoContrast}가 true이고 밝게 표시할 때 적용되는
467
+ * {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
459
468
  */
460
469
  lightStyle?: SVGStyleOrClass;
461
470
  /**
462
- * {@page autoContrast}가 true이고 어둡게 표시할 때 적용되는 {@page it.SVGStyles 스타일셋}.<br/>
471
+ * {@page autoContrast}가 true이고 어둡게 표시할 때 적용되는
472
+ * {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
463
473
  */
464
474
  darkStyle?: SVGStyleOrClass;
465
475
  /**
466
- * {@page effect}가 'background'일 때 배경에 적용되는 {@page it.SVGStyles 스타일셋}.<br/>
476
+ * {@page effect}가 'background'일 때 배경에 적용되는
477
+ * {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
467
478
  */
468
479
  backgroundStyle?: SVGStyleOrClass;
469
480
  /**
@@ -867,6 +878,57 @@ declare const AnnotationTypes: {
867
878
  type AnnotationType = typeof AnnotationTypes[keyof typeof AnnotationTypes];
868
879
  type AnnotationOptionsType = ImageAnnotationOptions | ShapeAnnotationOptions | TextAnnotationOptions;
869
880
 
881
+ /**
882
+ * 차트 내보내기 설정 모델
883
+ * @config chart.exporting
884
+ */
885
+ interface ExporterOptions extends ChartItemOptions {
886
+ /**
887
+ * 내보내기 버튼 표시 여부 지정
888
+ */
889
+ visible?: boolean;
890
+ /**
891
+ * 내보내기 버튼을 사용해 내보낸 차트에 사용할 확장자 없는 파일 이름.\
892
+ * 'export' 함수를 호출할 때 fileName을 지정하지 않을 경우 이 속성이 적용된다.
893
+ * fileName을 지정하지 않을 경우 realchart.type으로 다운로드 된다.
894
+ *
895
+ */
896
+ fileName?: string;
897
+ /**
898
+ * 내보내기를 라이브러리를 사용하여 진행할지 여부 지정
899
+ */
900
+ useLibrary?: boolean;
901
+ /**
902
+ * 내보내기 메뉴에 포함할 export types
903
+ */
904
+ menus?: ExportType[];
905
+ /**
906
+ * 너비, 지정한 너비에 맞춰 높이가 결정된다.
907
+ */
908
+ width?: number;
909
+ /**
910
+ * 이미지의 scale
911
+ */
912
+ scale?: number;
913
+ /**
914
+ * 내보내기 도중 에러가 발생했을 때 처리할 서버 URL.\
915
+ * 지정하지 않을경우 realchart 서버에서 처리한다.
916
+ */
917
+ url?: string;
918
+ /**
919
+ * true로 지정하면 내보내기 결과에 {@page config.axis.scrollBar AxisScrollBarOptions}가 포함되지 않는다.
920
+ */
921
+ hideScrollbar?: boolean;
922
+ /**
923
+ * true로 지정하면 내보내기 결과에 {@page config.seriesNavigator SeriesNavigator}가 포함되지 않는다.
924
+ */
925
+ hideNavigator?: boolean;
926
+ /**
927
+ * true로 지정하면 내보내기 결과에 {@page config.body.zoomButton ZoomButtonOptions}가 포함되지 않는다.
928
+ */
929
+ hideZoomButton?: boolean;
930
+ }
931
+
870
932
  /**
871
933
  * @enum
872
934
  */
@@ -901,6 +963,15 @@ interface ExportOptions {
901
963
  */
902
964
  fileName?: string;
903
965
  }
966
+ /**
967
+ * 외부 모듈로 구현되는 차트 내보내기 기능 명세.
968
+ */
969
+ interface ChartExporter {
970
+ exportToImage: (dom: HTMLElement, options: ExportOptions, config: ExporterOptions) => void;
971
+ exportToPrint: (dom: HTMLElement, options: ExportOptions) => void;
972
+ isContextMenuVisible: () => boolean;
973
+ toggleContextMenu: () => void;
974
+ }
904
975
 
905
976
  interface IRect {
906
977
  x: number;
@@ -1044,6 +1115,7 @@ declare class RcElement extends RcObject {
1044
1115
  protected _styleName: string;
1045
1116
  protected _styles: any;
1046
1117
  protected _styleDirty: boolean;
1118
+ hiding: boolean;
1047
1119
  tag: any;
1048
1120
  private _dom;
1049
1121
  private _parent;
@@ -1066,6 +1138,8 @@ declare class RcElement extends RcObject {
1066
1138
  set width(value: number);
1067
1139
  get height(): number;
1068
1140
  set height(value: number);
1141
+ get tright(): number;
1142
+ get tbottom(): number;
1069
1143
  /**
1070
1144
  * visible
1071
1145
  */
@@ -1098,11 +1172,14 @@ declare class RcElement extends RcObject {
1098
1172
  getRect(): IRect;
1099
1173
  getSize(): Size;
1100
1174
  getBBox(): IRect;
1175
+ getBBoxEx(): IRect;
1176
+ inflateBBox(dx: number, dy: number): IRect;
1101
1177
  controlToElement(x: number, y: number): Point;
1102
1178
  svgToElement(x: number, y: number): Point;
1103
1179
  elementToSvg(x: number, y: number): Point;
1104
1180
  move(x: number, y: number): RcElement;
1105
1181
  setPos(x: number, y: number): void;
1182
+ setPosY(y: number): void;
1106
1183
  isDomAnimating(): boolean;
1107
1184
  rotate(angle: number): RcElement;
1108
1185
  internalRotate(angle: number): void;
@@ -1113,6 +1190,7 @@ declare class RcElement extends RcObject {
1113
1190
  transEx2(x: number, y: number, duration?: number, invalidate?: boolean): RcElement;
1114
1191
  transX(x: number): RcElement;
1115
1192
  transY(y: number): RcElement;
1193
+ shiftY(dy: number): RcElement;
1116
1194
  /**
1117
1195
  *
1118
1196
  * @param width
@@ -1248,18 +1326,36 @@ type PointHoverCallback = (args: DataPointCallbackArgs) => void;
1248
1326
  type PointClickCallback = (args: DataPointCallbackArgs) => boolean;
1249
1327
  type PointStyleCallback = (args: DataPointCallbackArgs) => SVGStyleOrClass;
1250
1328
  /**
1329
+ * 시리즈 데이터포인트 {@page config.base.series.pointLabel 라벨} 표시 위치.<br/>
1330
+ * {@page config.base.series.pointLabel.position} 속성 값으로 사용된다.
1331
+ *
1251
1332
  * @enum
1252
1333
  */
1253
- declare const _PointItemPosition: {
1334
+ declare const _PointLabelPosition: {
1335
+ /**
1336
+ * 시리즈 종류에 따라 데이터포인트 라벨들의 표시 위치가 자동 결정된다.<br/>
1337
+ */
1254
1338
  readonly AUTO: "auto";
1255
- readonly INSIDE: "inside";
1256
- readonly OUTSIDE: "outside";
1339
+ /**
1340
+ * 포인트뷰 상단에 표시.</br>
1341
+ */
1257
1342
  readonly HEAD: "head";
1343
+ /**
1344
+ * 포인트뷰 하단에 표시.</br>
1345
+ */
1258
1346
  readonly FOOT: "foot";
1259
- readonly INSIDE_FIRST: "insideFirst";
1260
- readonly OUTSIDE_FIRST: "outsideFirst";
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";
1261
1357
  };
1262
- type PointItemPosition = typeof _PointItemPosition[keyof typeof _PointItemPosition];
1358
+ type PointLabelPosition = typeof _PointLabelPosition[keyof typeof _PointLabelPosition];
1263
1359
  /**
1264
1360
  * 시리즈 데이터포인트들의 label 옵션.<br/>
1265
1361
  * {@page config.base.series}의 'pointLabel' 항목으로 설정한다.
@@ -1269,6 +1365,7 @@ type PointItemPosition = typeof _PointItemPosition[keyof typeof _PointItemPositi
1269
1365
  * series: {
1270
1366
  * pointLabel: {
1271
1367
  * visible: true,
1368
+ * position: 'outside',
1272
1369
  * suffix: '%',
1273
1370
  * style: {
1274
1371
  * fontWeight: 'bold',
@@ -1288,38 +1385,27 @@ interface DataPointLabelOptions extends IconedTextOptions {
1288
1385
  */
1289
1386
  visible?: boolean;
1290
1387
  /**
1291
- * 포인트 label 표시 위치.
1388
+ * 포인트 label 표시 위치.<br/>
1389
+ * 'auto'이면 시리즈 종류에 따라 위치가 결정된다.
1292
1390
  *
1293
1391
  * @default 'auto'
1294
1392
  */
1295
- position?: PointItemPosition;
1393
+ position?: PointLabelPosition;
1296
1394
  /**
1297
- * 다중 라인이거나 경계가 있을 때,
1298
- * 텍스트 상자 내에서 텍스트 라인들의 수평 정렬.
1395
+ * label과 point view 혹은 connector 사이의 기본 간격.<br/>
1396
+ * 숫자 대신 콜백을 설정해서 데이터포인트별 값을 지정할 수 있다.
1397
+ * 콜백에서 타당한 값을 리턴하지 않으면 기본값이 사용된다.
1299
1398
  *
1300
- * @default 'center'
1301
- */
1302
- textAlign?: Align;
1303
- /**
1304
- * label과 point view 사이의 기본 간격.\
1305
- * 값을 지정하지 않으면 {@page position}이 'inside'일 때는 0, 그 외는 4 픽셀이다.
1306
- *
1307
- */
1308
- offset?: number;
1309
- /**
1310
- * 'pie', 'funnel' 시리즈에서 label이 외부에 표시될 때 label과 시리즈 본체와의 기본 간격.
1311
- *
1312
- * @default 25
1399
+ * @default 5
1313
1400
  */
1314
- distance?: number;
1401
+ offset?: number | ((point: any) => number);
1315
1402
  /**
1316
1403
  * 계산되는 기본 text 대신, data point label로 표시될 field.<br/>
1317
1404
  * {@page textCallback}이 설정되고 콜백에서 null이나 undefined를 리턴하지 않으면 이 속성은 무시된다.
1318
- *
1319
1405
  */
1320
1406
  textField?: string;
1321
1407
  /**
1322
- * polar일때 true로 지정할 경우 각도에 따라 자동으로 회전 시킨다.
1408
+ * polar이거나 원형 시리즈일 때 true로 지정할 경우 각도에 따라 자동으로 회전 시킨다.
1323
1409
  */
1324
1410
  autoRotation?: boolean;
1325
1411
  /**
@@ -1330,17 +1416,18 @@ interface DataPointLabelOptions extends IconedTextOptions {
1330
1416
  */
1331
1417
  textCallback?: (point: any) => string;
1332
1418
  /**
1333
- * 데이터 포인트별 label 표시 여부를 리턴하는 콜백.
1419
+ * 데이터 포인트별 label 표시 여부를 리턴하는 콜백.<br/>
1334
1420
  *
1335
1421
  */
1336
1422
  visibleCallback?: (point: any) => boolean;
1337
1423
  /**
1338
- * 데이터 포인트별로 추가 적용되는 스타일을 리턴한다.\
1424
+ * 데이터 포인트별로 추가 적용되는 스타일을 리턴한다.<br/>
1339
1425
  */
1340
1426
  styleCallback?: (point: any) => SVGStyleOrClass;
1341
1427
  }
1342
1428
  /**
1343
- * 추세선(trendline) 유형.
1429
+ * 추세선(trendline) 유형.<br/>
1430
+ *
1344
1431
  * @enum
1345
1432
  */
1346
1433
  declare const _TrendLineType: {
@@ -1385,6 +1472,8 @@ type TrendLineType = typeof _TrendLineType[keyof typeof _TrendLineType];
1385
1472
  /**
1386
1473
  * 시리즈 추세선 옵션.<br/>
1387
1474
  * {@page config.base.series}의 'trendLine' 항목으로 설정한다.
1475
+ *
1476
+ * @enum
1388
1477
  */
1389
1478
  interface TrendlineOptions extends ChartItemOptions {
1390
1479
  /**
@@ -1505,7 +1594,7 @@ interface SeriesOptions extends ChartItemOptions {
1505
1594
  */
1506
1595
  xStep?: number | string;
1507
1596
  /**
1508
- * 모든 데이터포인트에 적용되는 inline 스타일셋.<br/>
1597
+ * 모든 데이터포인트에 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
1509
1598
  * {@page Series.style}로 설정되는 시리즈의 inline 스타일이
1510
1599
  * 데이터포인터에 적용되지 않는 경우 이 속성을 사용할 수 있다.
1511
1600
  * {@page pointColors}나 {@page color}가 설정되면 이 속성으로 설정된 색상은 무시된다.
@@ -1567,7 +1656,8 @@ interface SeriesOptions extends ChartItemOptions {
1567
1656
  */
1568
1657
  hoverEffect?: 'none' | 'default';
1569
1658
  /**
1570
- * 데이터포인트 위에 마우스가 있을 때 적용되는 스타일셋 혹은 class selector.<br/>
1659
+ * 데이터포인트 위에 마우스가 있을 때 적용되는
1660
+ * {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
1571
1661
  */
1572
1662
  hoverStyle?: SVGStyleOrClass;
1573
1663
  /**
@@ -1912,7 +2002,8 @@ interface LineSeriesMarkerOptions extends SeriesMarkerOptions {
1912
2002
  */
1913
2003
  hoverScale?: number;
1914
2004
  /**
1915
- * 데이터포인트 위에 마우스가 있을 때 적용되는 스타일셋 혹은 class selector.<br/>
2005
+ * 데이터포인트 위에 마우스가 있을 때 적용되는
2006
+ * {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
1916
2007
  * {@page config.series.hoverStyle} 보다 우선 적용된다.
1917
2008
  *
1918
2009
  * @config
@@ -1942,6 +2033,108 @@ interface LineSeriesBaseOptions extends ConnectableSeriesOptions {
1942
2033
  */
1943
2034
  nullAsBase?: boolean;
1944
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
+ }
1945
2138
  /**
1946
2139
  * {@page config.series.pie} 시리즈나 {@page config.seriesfunnel} 시리즈 설정 옵션들의 기반(base).<br/>
1947
2140
  */
@@ -1959,7 +2152,7 @@ interface WidgetSeriesOptions extends SeriesOptions {
1959
2152
  * {@page config.series.funnel 'funnel'} 시리즈들의 수직 중심 위치<br/>
1960
2153
  * 숫자나 body 영역 높이에 대한 상대값을 '%'로 지정할 수 있다.
1961
2154
 
1962
- * @default '50%'
2155
+ * @default '50%'
1963
2156
  */
1964
2157
  centerY?: PercentSize;
1965
2158
  /**
@@ -1974,6 +2167,12 @@ interface WidgetSeriesOptions extends SeriesOptions {
1974
2167
  * @default false
1975
2168
  */
1976
2169
  legendByPoint?: boolean;
2170
+ /**
2171
+ * 값이 0인 데이터포인트를 범례 항목으로 표시할 것인 지 여부.<br/>
2172
+ *
2173
+ * @default true
2174
+ */
2175
+ zeroInLegend?: boolean;
1977
2176
  }
1978
2177
  declare const BarRangeSeriesType = "barrange";
1979
2178
  /**
@@ -2118,7 +2317,7 @@ interface LinePointLabelOptions extends DataPointLabelOptions {
2118
2317
  *
2119
2318
  * @default 'head'
2120
2319
  */
2121
- position?: PointItemPosition;
2320
+ position?: PointLabelPosition;
2122
2321
  /**
2123
2322
  * position 위치에서 수평 정렬 상태.
2124
2323
  *
@@ -2138,20 +2337,14 @@ interface LinePointLabelOptions extends DataPointLabelOptions {
2138
2337
  declare const _LineType: {
2139
2338
  /**
2140
2339
  * 시리즈 종류에 따라 직선이거나 곡선일 수 있다.
2141
- *
2142
- * @config
2143
2340
  */
2144
2341
  readonly DEFAULT: "default";
2145
2342
  /**
2146
2343
  * 점들을 연결하는 스플라인 곡선.
2147
- *
2148
- * @config
2149
2344
  */
2150
2345
  readonly SPLINE: "spline";
2151
2346
  /**
2152
2347
  * 계단형 직선.
2153
- *
2154
- * @config
2155
2348
  */
2156
2349
  readonly STEP: "step";
2157
2350
  };
@@ -2306,12 +2499,12 @@ interface SplineSeriesOptions extends LineSeriesOptions {
2306
2499
  interface AreaSeriesOptions extends LineSeriesOptions {
2307
2500
  type?: AreaSeriesOptionsType;
2308
2501
  /**
2309
- * area 영역에 추가적으로 적용되는 스타일셋이나 class selector.
2502
+ * area 영역에 추가적으로 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
2310
2503
  *
2311
2504
  */
2312
2505
  areaStyle?: SVGStyleOrClass;
2313
2506
  /**
2314
- * base 아래쪽 area 영역에 추가적으로 적용되는 스타일셋이나 class selector.
2507
+ * base 아래쪽 area 영역에 추가적으로 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
2315
2508
  *
2316
2509
  */
2317
2510
  belowAreaStyle?: SVGStyleOrClass;
@@ -2566,7 +2759,7 @@ interface CandlestickSeriesOptions extends LowRangedSeriesOptions {
2566
2759
  */
2567
2760
  highField?: string;
2568
2761
  /**
2569
- * 값이 하락한 데이터포인트에 적용되는 스타일셋.
2762
+ * 값이 하락한 데이터포인트에 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
2570
2763
  *
2571
2764
  */
2572
2765
  declineStyle?: SVGStyleOrClass;
@@ -2581,7 +2774,7 @@ interface CircleBarPointLabelOptions extends DataPointLabelOptions {
2581
2774
  * @override
2582
2775
  * @default 'inside'
2583
2776
  */
2584
- position?: PointItemPosition;
2777
+ position?: PointLabelPosition;
2585
2778
  }
2586
2779
  declare const CircleBarSeriesType = "circlebar";
2587
2780
  /**
@@ -2752,6 +2945,17 @@ interface ErrorBarSeriesOptions extends LowRangedSeriesOptions {
2752
2945
  */
2753
2946
  tooltipText?: string;
2754
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
+ }
2755
2959
  declare const FunnelSeriesType = "funnel";
2756
2960
  /**
2757
2961
  * Funnel 시리즈.<br/>
@@ -2780,6 +2984,10 @@ declare const FunnelSeriesType = "funnel";
2780
2984
  */
2781
2985
  interface FunnelSeriesOptions extends WidgetSeriesOptions {
2782
2986
  type?: typeof FunnelSeriesType;
2987
+ /**
2988
+ * @override
2989
+ */
2990
+ pointLabel?: FunnelSeriesLabelOptions;
2783
2991
  /**
2784
2992
  * @default '85%'
2785
2993
  */
@@ -2938,7 +3146,7 @@ interface AreaRangeSeriesOptions extends LineSeriesBaseOptions {
2938
3146
  */
2939
3147
  highField?: string;
2940
3148
  /**
2941
- * area 영역에 추가적으로 적용되는 스타일셋이나 class selector.\
3149
+ * area 영역에 추가적으로 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.<br/>
2942
3150
  *
2943
3151
  */
2944
3152
  areaStyle?: SVGStyleOrClass;
@@ -3114,12 +3322,38 @@ interface RadialSeriesOptions extends WidgetSeriesOptions {
3114
3322
  }
3115
3323
  interface PieSeriesTextOptions extends IconedTextOptions {
3116
3324
  }
3117
- interface PieSeriesLabelOptions extends DataPointLabelOptions {
3325
+ declare const _PointLabelRotationMode: {
3118
3326
  /**
3119
- * @override
3120
- * @default true
3327
+ * 호를 따라 label을 회전 시킨다.
3121
3328
  */
3122
- visible?: boolean;
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;
3123
3357
  }
3124
3358
  declare const PieSeriesType = "pie";
3125
3359
  /**
@@ -3157,28 +3391,24 @@ interface PieSeriesOptions extends RadialSeriesOptions {
3157
3391
  */
3158
3392
  groupSize?: number;
3159
3393
  /**
3160
- * 0보다 큰 값을 지정해서 도넛 형태로 표시할 수 있다.
3394
+ * 0보다 큰 값을 지정해서 도넛 형태로 표시할 수 있다.<br/>
3161
3395
  * 시리즈 원호의 반지름에 대한 상대적 크기나 픽셀 수로 지정할 수 있다.
3162
3396
  * {@page innerText}로 도넛 내부에 표시될 텍스트를 지정할 수 있다.
3163
3397
  */
3164
3398
  innerRadius?: PercentSize;
3165
- /**
3166
- * @default 25
3167
- */
3168
- labelDistance?: number;
3169
3399
  /**
3170
3400
  * @default '7%'
3171
3401
  */
3172
3402
  sliceOffset?: PercentSize;
3173
3403
  /**
3174
- * 클릭한 데이터 포인트를 slice 시킨다.
3404
+ * 클릭한 데이터 포인트를 slice 시킨다.<br/>
3175
3405
  * 기존 slice 됐던 포인트는 원복된다.
3176
3406
  *
3177
3407
  * @default true
3178
3408
  */
3179
3409
  autoSlice?: boolean;
3180
3410
  /**
3181
- * Slice animation duration.
3411
+ * Slice animation duration.<br/>
3182
3412
  * 밀리세컨드(ms) 단위로 지정.
3183
3413
  *
3184
3414
  * @default 300
@@ -3187,11 +3417,9 @@ interface PieSeriesOptions extends RadialSeriesOptions {
3187
3417
  /**
3188
3418
  * @default 0
3189
3419
  */
3190
- borderRadius?: number;
3191
3420
  /**
3192
- * {@page innerRadius}가 0보다 클 때, 도넛 내부에 표시되는 텍스트.
3421
+ * {@page innerRadius}가 0보다 클 때, 도넛 내부에 표시되는 텍스트.<br/>
3193
3422
  * 기본 클래스 selector는 <b>'rct-pie-series-inner'</b>이다.
3194
- *
3195
3423
  */
3196
3424
  innerText?: PieSeriesTextOptions;
3197
3425
  }
@@ -3603,8 +3831,7 @@ interface TitleOptions extends ChartItemOptions {
3603
3831
  */
3604
3832
  verticalAlign?: VerticalAlign;
3605
3833
  /**
3606
- * 배경 스타일셋 혹은 css selector.
3607
- *
3834
+ * 배경 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
3608
3835
  */
3609
3836
  backgroundStyle?: SVGStyleOrClass;
3610
3837
  /**
@@ -3827,6 +4054,10 @@ interface EmptyViewOptions extends ChartTextOptions {
3827
4054
  }
3828
4055
  /**
3829
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
+ * 이 영역을 기준으로 크기와 위치를 설정한다.
3830
4061
  *
3831
4062
  * ```js
3832
4063
  * const chart = {
@@ -3842,25 +4073,25 @@ interface EmptyViewOptions extends ChartTextOptions {
3842
4073
  */
3843
4074
  interface BodyOptions extends ChartItemOptions {
3844
4075
  /**
3845
- * 차트가 극좌표(polar)일 때 반지름.<br/>
4076
+ * {@page config.#polar 극좌표계} 차트일 때 반지름.<br/>
3846
4077
  *
3847
4078
  * @default '45%'
3848
4079
  */
3849
4080
  radius?: PercentSize;
3850
4081
  /**
3851
- * 차트가 극좌표(polar)일 때 중심 x 좌표.<br/>
4082
+ * {@page config.#polar 극좌표계} 차트일 때 중심 x 좌표.<br/>
3852
4083
  *
3853
4084
  * @default '50%'
3854
4085
  */
3855
4086
  centerX?: PercentSize;
3856
4087
  /**
3857
- * 차트가 극좌표(polar)일 때 중심 y 좌표.<br/>
4088
+ * {@page config.#polar 극좌표계} 차트일 때 중심 y 좌표.<br/>
3858
4089
  *
3859
4090
  * @default '50%'
3860
4091
  */
3861
4092
  centerY?: PercentSize;
3862
4093
  /**
3863
- * false이면 polar 차트일 때, x 축선과 y축 그리드 선들을 다각형으로 표시한다.<br/>
4094
+ * false이면 {@page config.#polar 극좌표계} 차트일 때, x 축선과 y축 그리드 선들을 다각형으로 표시한다.<br/>
3864
4095
  *
3865
4096
  * @default true
3866
4097
  */
@@ -4984,6 +5215,7 @@ declare abstract class Widget<OP extends ChartItemOptions> extends ChartItem<OP>
4984
5215
  */
4985
5216
  interface ILegendSource {
4986
5217
  visible: boolean;
5218
+ isEmpty?(): boolean;
4987
5219
  legendMarker(doc: Document, size: number): RcElement;
4988
5220
  legendColor(): string;
4989
5221
  legendLabel(): string;
@@ -5085,7 +5317,7 @@ declare class Tooltip extends ChartItem<TooltipOptions> {
5085
5317
  * 옵션 설정 모델은 {@page DataPointLabelOptions}이다.
5086
5318
  */
5087
5319
  declare class DataPointLabel<OP extends DataPointLabelOptions = DataPointLabelOptions> extends IconedText<OP> {
5088
- private static readonly OFFSET;
5320
+ static readonly OFFSET = 5;
5089
5321
  static defaults: DataPointLabelOptions;
5090
5322
  private _point;
5091
5323
  _domain: IRichTextDomain;
@@ -5263,6 +5495,10 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
5263
5495
  private _argsPoint;
5264
5496
  private _loaded;
5265
5497
  _pointsChanged: boolean;
5498
+ _labelPos: PointLabelPosition;
5499
+ _labelPosCallback: (p: DataPointCallbackArgs) => PointLabelPosition;
5500
+ _labelOff: number;
5501
+ _labelOffCallback: (p: DataPointCallbackArgs) => number;
5266
5502
  protected _doInit(op: OP): void;
5267
5503
  protected _doInitChildren(op: {
5268
5504
  [child: string]: ChartItemOptions;
@@ -5284,7 +5520,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
5284
5520
  */
5285
5521
  get name(): string;
5286
5522
  /**
5287
- * 데이터포인트 label 설정 모델.
5523
+ * 데이터포인트 label 설정 모델.<br/>
5288
5524
  */
5289
5525
  get pointLabel(): DataPointLabel<DataPointLabelOptions>;
5290
5526
  /**
@@ -5296,10 +5532,26 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
5296
5532
  * 시리즈에 설정된 데이터포인트 개수.<br/>
5297
5533
  */
5298
5534
  get pointCount(): number;
5535
+ get points(): DataPoint[];
5299
5536
  /**
5300
5537
  * 시리즈에 설정된 데이터포인트들 중 표시 중인 것들의 개수.<br/>
5301
5538
  */
5302
5539
  get visiblePointCount(): number;
5540
+ /**
5541
+ * 시리즈에 설정된 데이터포인트들 중 표시 중인 것들의 목록.<br/>
5542
+ */
5543
+ get visiblePoints(): DataPoint[];
5544
+ /**
5545
+ * polar가 적용 가능한 시리즈 인지.
5546
+ */
5547
+ get canPolar(): boolean;
5548
+ /**
5549
+ * 시리즈에 설정된 데이터포인트들 중 표시 중인 index번째 포인트 객체.<br/>
5550
+ *
5551
+ * @param index
5552
+ * @returns
5553
+ */
5554
+ getVisiblePoint(index: number): DataPoint;
5303
5555
  contains(p: DataPoint): boolean;
5304
5556
  getPoints(): DataPointCollection;
5305
5557
  _getLabeledPoints(): DataPoint[];
@@ -5368,12 +5620,15 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
5368
5620
  pointValuesPrepared(axis: IAxis): void;
5369
5621
  reference(other: Series, axis: IAxis): void;
5370
5622
  getLegendSources(list: ILegendSource[]): void;
5371
- getLabelPosition(p: PointItemPosition): PointItemPosition;
5623
+ getLabelPos(labels: DataPointLabel): PointLabelPosition;
5624
+ protected _getLabelAutoPos(labels: DataPointLabel, pos: PointLabelPosition): PointLabelPosition;
5625
+ getLabelPos2(labels: DataPointLabel, p: DataPoint): PointLabelPosition;
5372
5626
  getLabelOff(off: number): number;
5627
+ getLabelOff2(p: DataPoint): number;
5373
5628
  referBy(ref: Series): void;
5374
5629
  setPointVisible(p: DataPoint, visible: boolean): void;
5375
5630
  protected _preparePointArgs(args: DataPointCallbackArgs): void;
5376
- _getPointCallbackArgs(args: DataPointCallbackArgs, p: DataPoint): void;
5631
+ _getPointCallbackArgs(args: DataPointCallbackArgs, p: DataPoint): DataPointCallbackArgs;
5377
5632
  getPointText(p: DataPoint, index: number, label: any): string;
5378
5633
  getPointStyle(p: DataPoint): SVGStyleOrClass;
5379
5634
  getPointLabelStyle(p: DataPoint): any;
@@ -5553,19 +5808,47 @@ declare class WidgetSeriesPoint extends DataPoint implements ILegendSource {
5553
5808
  legendColor(): string;
5554
5809
  legendLabel(): string;
5555
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;
5556
5833
  }
5557
5834
  declare abstract class WidgetSeries<OP extends WidgetSeriesOptions = {}> extends Series<OP> {
5558
5835
  static readonly CENTER = "50%";
5559
5836
  static defaults: WidgetSeriesOptions;
5837
+ private _subLabel;
5560
5838
  private _centerX;
5561
5839
  private _centerY;
5562
5840
  private _centerXDim;
5563
5841
  private _centerYDim;
5842
+ protected _doInitChildren(op: {
5843
+ [child: string]: ChartItemOptions;
5844
+ }): void;
5845
+ get subLabel(): WidgetSeriesLabel;
5564
5846
  getCenter(plotWidth: number, plotHeight: number): Point;
5565
- getLabelPosition(): PointItemPosition;
5847
+ protected _getLabelAutoPos(labels: WidgetSeriesLabel, pos: PointLabelPosition): PointLabelPosition;
5566
5848
  needAxes(): boolean;
5567
5849
  _colorByPoint(): boolean;
5568
5850
  getLegendSources(list: ILegendSource[]): void;
5851
+ _isVisibleInLegend(p: WidgetSeriesPoint): boolean;
5569
5852
  protected _doApply(options: WidgetSeriesOptions): void;
5570
5853
  canMinPadding(axis: IAxis, min: number): boolean;
5571
5854
  canMaxPadding(axis: IAxis, max: number): boolean;
@@ -5596,7 +5879,6 @@ declare abstract class ClusterableSeries<OP extends ClusterableSeriesOptions = C
5596
5879
  getMinPointWidth(): number;
5597
5880
  getPointWidth(length: number): number;
5598
5881
  getPointPos(length: number): number;
5599
- getLabelPosition(p: PointItemPosition): PointItemPosition;
5600
5882
  isClusterable(): boolean;
5601
5883
  setCluster(width: number, pos: number): void;
5602
5884
  protected _doPrepareRender(): void;
@@ -5658,6 +5940,7 @@ declare abstract class SeriesGroup<T extends Series = Series, OP extends SeriesG
5658
5940
  isClusterable(): boolean;
5659
5941
  getBaseValue(axis: IAxis): number;
5660
5942
  getVisibleSeries(): ISeries[];
5943
+ get visCount(): number;
5661
5944
  _type(): string;
5662
5945
  _seriesType(): string;
5663
5946
  setCol(col: number): void;
@@ -5733,6 +6016,7 @@ declare abstract class DataPoint {
5733
6016
  series: string | number;
5734
6017
  readonly pid: number;
5735
6018
  source: any;
6019
+ labelOptions: any;
5736
6020
  isNull: boolean;
5737
6021
  xValue: number;
5738
6022
  yValue: number;
@@ -5756,6 +6040,7 @@ declare abstract class DataPoint {
5756
6040
  ariaHint(): string;
5757
6041
  labelCount(): number;
5758
6042
  getValue(): number;
6043
+ isEmpty(): boolean;
5759
6044
  copy(): any;
5760
6045
  assignTo(proxy?: any): any;
5761
6046
  getProp(fld: string | number): any;
@@ -6457,15 +6742,11 @@ interface AxisTitleOptions extends AxisItemOptions {
6457
6742
  backgroundStyle?: SVGStyleOrClass;
6458
6743
  /**
6459
6744
  * 타이틀을 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
6460
- *
6461
- * @config
6462
6745
  */
6463
6746
  writingMode?: WritingMode;
6464
6747
  /**
6465
6748
  * 텍스트 문자 방향을 지정한다.
6466
6749
  * 세로 모드의 텍스트에만 적용된다.
6467
- *
6468
- * @config
6469
6750
  */
6470
6751
  textOrientation?: TextOrientation;
6471
6752
  }
@@ -7635,57 +7916,6 @@ interface TimeAxisOptions extends ContinuousAxisOptions {
7635
7916
  }
7636
7917
  type AxisOptionsType = CategoryAxisOptions | LinearAxisOptions | LogAxisOptions | TimeAxisOptions;
7637
7918
 
7638
- /**
7639
- * 차트 내보내기 설정 모델
7640
- * @config chart.exporting
7641
- */
7642
- interface ExporterOptions extends ChartItemOptions {
7643
- /**
7644
- * 내보내기 버튼 표시 여부 지정
7645
- */
7646
- visible?: boolean;
7647
- /**
7648
- * 내보내기 버튼을 사용해 내보낸 차트에 사용할 확장자 없는 파일 이름.\
7649
- * 'export' 함수를 호출할 때 fileName을 지정하지 않을 경우 이 속성이 적용된다.
7650
- * fileName을 지정하지 않을 경우 realchart.type으로 다운로드 된다.
7651
- *
7652
- */
7653
- fileName?: string;
7654
- /**
7655
- * 내보내기를 라이브러리를 사용하여 진행할지 여부 지정
7656
- */
7657
- useLibrary?: boolean;
7658
- /**
7659
- * 내보내기 메뉴에 포함할 export types
7660
- */
7661
- menus?: ExportType[];
7662
- /**
7663
- * 너비, 지정한 너비에 맞춰 높이가 결정된다.
7664
- */
7665
- width?: number;
7666
- /**
7667
- * 이미지의 scale
7668
- */
7669
- scale?: number;
7670
- /**
7671
- * 내보내기 도중 에러가 발생했을 때 처리할 서버 URL.\
7672
- * 지정하지 않을경우 realchart 서버에서 처리한다.
7673
- */
7674
- url?: string;
7675
- /**
7676
- * true로 지정하면 내보내기 결과에 {@page config.axis.scrollBar AxisScrollBarOptions}가 포함되지 않는다.
7677
- */
7678
- hideScrollbar?: boolean;
7679
- /**
7680
- * true로 지정하면 내보내기 결과에 {@page config.seriesNavigator SeriesNavigator}가 포함되지 않는다.
7681
- */
7682
- hideNavigator?: boolean;
7683
- /**
7684
- * true로 지정하면 내보내기 결과에 {@page config.body.zoomButton ZoomButtonOptions}가 포함되지 않는다.
7685
- */
7686
- hideZoomButton?: boolean;
7687
- }
7688
-
7689
7919
  /**
7690
7920
  * 단일 값을 다양한 방식으로 표시한다.<br/>
7691
7921
  * 또, 단일 계이지들을 여러 개 묶어서 관련된 값을 표시할 수도 있다.
@@ -7989,8 +8219,8 @@ interface LinearValueBarOptions extends ChartItemOptions {
7989
8219
  }
7990
8220
  interface BulletValueBarOptions extends LinearValueBarOptions {
7991
8221
  /**
7992
- * {@page value 현재 값}이 {@page targetValue 목표 값} 미만일 때 적용되는 스타일셋.
7993
- *
8222
+ * {@page value 현재 값}이 {@page targetValue 목표 값} 미만일 때
8223
+ * 적용되는 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
7994
8224
  */
7995
8225
  belowStyle?: SVGStyleOrClass;
7996
8226
  }
@@ -8157,7 +8387,7 @@ interface CircularGaugeOptions extends ValueGaugeOptions {
8157
8387
  */
8158
8388
  label?: CircularGaugeLabelOptions | boolean;
8159
8389
  /**
8160
- * 내부 원에 적용할 스타일셋 혹은 class selector.
8390
+ * 내부 원에 적용할 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
8161
8391
  *
8162
8392
  */
8163
8393
  innerStyle?: SVGStyleOrClass;
@@ -8230,7 +8460,7 @@ interface CircularGaugeGroupOptions extends GaugeGroupOptions<CircleGaugeOptions
8230
8460
  */
8231
8461
  label?: CircularGaugeLabelOptions | boolean;
8232
8462
  /**
8233
- * 내부 원에 적용할 스타일셋 혹은 class selector.
8463
+ * 내부 원에 적용할 {@page it.SVGStyles 스타일셋} 또는 css {@page https://developer.mozilla.org/ko/docs/Web/CSS/CSS_selectors selector}.
8234
8464
  *
8235
8465
  * @config
8236
8466
  */
@@ -9386,6 +9616,13 @@ declare class Body<OP extends BodyOptions = BodyOptions> extends ChartItem<OP> i
9386
9616
  */
9387
9617
  declare class Exporter extends ChartItem<ExporterOptions> {
9388
9618
  static defaults: ExporterOptions;
9619
+ private _module;
9620
+ private _isCompose;
9621
+ isCompose(): boolean;
9622
+ compose(exporter: ChartExporter): void;
9623
+ isContextMenuVisible(): boolean;
9624
+ toggleContextMenu(): void;
9625
+ exportToImage(dom: any, options: any, exporting: any): void;
9389
9626
  }
9390
9627
 
9391
9628
  declare class NavigiatorHandle extends ChartItem<NavigiatorHandleOptions> {
@@ -10785,6 +11022,7 @@ declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> exten
10785
11022
  get flag(): LineSeriesFlag;
10786
11023
  backDir(): LineStepDirection;
10787
11024
  isMarker(): boolean;
11025
+ get canPolar(): boolean;
10788
11026
  getLineType(): LineType;
10789
11027
  getBaseValue(axis: IAxis): number;
10790
11028
  protected _doPrepareRender(): void;
@@ -10798,6 +11036,7 @@ declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> exten
10798
11036
  */
10799
11037
  declare class SplineSeries extends LineSeries<SplineSeriesOptions> {
10800
11038
  static readonly type = "spline";
11039
+ get canPolar(): boolean;
10801
11040
  _viewType(): string;
10802
11041
  getLineType(): LineType;
10803
11042
  }
@@ -10905,6 +11144,7 @@ declare abstract class BarSeriesBase<OP extends BarSeriesBaseOptions = BarSeries
10905
11144
  declare class BarSeries extends BarSeriesBase<BarSeriesOptions> {
10906
11145
  static readonly type = "bar";
10907
11146
  protected _createLegendMarker(doc: Document, size: number): RcElement;
11147
+ get canPolar(): boolean;
10908
11148
  }
10909
11149
  /**
10910
11150
  * {@page BarSeries}, {@page CircleBarSeires}의 그룹 기반 모델.
@@ -11034,6 +11274,7 @@ declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
11034
11274
  protected _doApply(options: BubbleSeriesOptions): void;
11035
11275
  protected _createPoint(source: any): DataPoint;
11036
11276
  protected _getNoClip(polar: boolean): boolean;
11277
+ get canPolar(): boolean;
11037
11278
  hasZ(): boolean;
11038
11279
  _colorByPoint(): boolean;
11039
11280
  protected _doPrepareRender(): void;
@@ -11184,6 +11425,11 @@ declare class ErrorBarSeries extends LowRangedSeries<ErrorBarSeriesOptions> {
11184
11425
  protected _getBottomValue(p: RangedPoint): number;
11185
11426
  }
11186
11427
 
11428
+ declare class FunnelSeriesLabel extends WidgetSeriesLabel<FunnelSeriesLabelOptions> {
11429
+ static readonly OUTSIDE_DIST = 25;
11430
+ static readonly ENDED_DIST = 10;
11431
+ getDistance(): number;
11432
+ }
11187
11433
  /**
11188
11434
  * Funnel 시리즈 모델.<br/>
11189
11435
  * {@page op.SeriesOptions#type}은 {@page config.series.funnel 'funnel'}이고,
@@ -11202,6 +11448,8 @@ declare class FunnelSeries extends WidgetSeries<FunnelSeriesOptions> {
11202
11448
  private _neckHeightDim;
11203
11449
  getSize(plotWidth: number, plotHeight: number): Size;
11204
11450
  getNeckSize(width: number, height: number): Size;
11451
+ get pointLabel(): FunnelSeriesLabel;
11452
+ protected _createLabel(chart: IChart): FunnelSeriesLabel;
11205
11453
  protected _createPoint(source: any): DataPoint;
11206
11454
  protected _doApply(options: FunnelSeriesOptions): void;
11207
11455
  }
@@ -11315,8 +11563,13 @@ declare class PieSeriesPoint extends WidgetSeriesPoint {
11315
11563
  declare class PieSeriesText extends IconedText<PieSeriesTextOptions> {
11316
11564
  getDefaultIconPos(): IconPosition;
11317
11565
  }
11318
- declare class PieSeriesLabel extends DataPointLabel<PieSeriesLabelOptions> {
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;
11319
11571
  static defaults: PieSeriesLabelOptions;
11572
+ getDistance(inner: boolean, rd: number, rdInner: number): number;
11320
11573
  }
11321
11574
  /**
11322
11575
  * Pie 시리즈 모델.<br/>
@@ -11341,8 +11594,6 @@ declare class PieSeries extends RadialSeries<PieSeriesOptions> {
11341
11594
  /**
11342
11595
  * {@page innerRadius}가 0보다 클 때, 도넛 내부에 표시되는 텍스트.
11343
11596
  * 기본 클래스 selector는 <b>'rct-pie-series-inner'</b>이다.
11344
- *
11345
- * @config
11346
11597
  */
11347
11598
  get innerText(): PieSeriesText;
11348
11599
  followPointer(): boolean;
@@ -11394,6 +11645,7 @@ declare class ScatterSeries extends MarkerSeries<ScatterSeriesOptions> {
11394
11645
  * rendering 시점에 chart가 series별로 기본 shape를 지정한다.
11395
11646
  */
11396
11647
  setShape(shape: Shape): void;
11648
+ get canPolar(): boolean;
11397
11649
  getShape(p: ScatterSeriesPoint): Shape;
11398
11650
  hasShape(): boolean;
11399
11651
  legendMarker(doc: Document, size: number): RcElement;
@@ -12073,4 +12325,4 @@ declare const configure: typeof Globals.configure;
12073
12325
  declare const createChart: typeof Globals.createChart;
12074
12326
  declare const createData: typeof Globals.createData;
12075
12327
 
12076
- 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 };