realchart 1.1.3 → 1.1.4
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 +972 -954
- package/dist/index.esm.js +2 -2
- package/dist/index.ie.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -63,14 +63,14 @@ interface IChartDataListener {
|
|
|
63
63
|
*/
|
|
64
64
|
interface ChartDataOptions {
|
|
65
65
|
/**
|
|
66
|
-
* 배열로 row
|
|
66
|
+
* 배열로 row 값들이 지정될 때, 각 항목에 해당되는 필드 이름들.<br/>
|
|
67
67
|
* 이 이름들을 속성으로 갖는 json 객체로 저장된다.
|
|
68
68
|
*
|
|
69
69
|
* 기본값은 ['x', 'y', 'z'];
|
|
70
70
|
*/
|
|
71
71
|
fields?: string[];
|
|
72
72
|
/**
|
|
73
|
-
* row가
|
|
73
|
+
* row가 단일값일 때 필드 이름.\
|
|
74
74
|
* 이 필드 이름 속성을 갖는 json 객체로 저장된다.
|
|
75
75
|
*
|
|
76
76
|
* 기본값은 'y'.
|
|
@@ -80,9 +80,8 @@ interface ChartDataOptions {
|
|
|
80
80
|
field?: string;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
* 이 데이터소스를 참조할 수 있다.
|
|
83
|
+
* @internal
|
|
84
|
+
* 차트 데이터 모델.<br/>
|
|
86
85
|
*/
|
|
87
86
|
declare class DataObject extends EventProvider<IChartDataListener> {
|
|
88
87
|
private _rows;
|
|
@@ -659,6 +658,40 @@ interface ImageAnnotationOptions extends AnnotationOptions {
|
|
|
659
658
|
imageUrl?: string;
|
|
660
659
|
}
|
|
661
660
|
declare const ShapeAnnotationType = "shape";
|
|
661
|
+
/**
|
|
662
|
+
* @enum
|
|
663
|
+
*/
|
|
664
|
+
declare const _ShapeAnnotationShape: {
|
|
665
|
+
/**
|
|
666
|
+
* 원
|
|
667
|
+
*/
|
|
668
|
+
readonly CIRCLE: "circle";
|
|
669
|
+
/**
|
|
670
|
+
* 다아이몬드
|
|
671
|
+
*/
|
|
672
|
+
readonly DIAMOND: "diamond";
|
|
673
|
+
/**
|
|
674
|
+
* 정사각형
|
|
675
|
+
*/
|
|
676
|
+
readonly SQUARE: "square";
|
|
677
|
+
/**
|
|
678
|
+
* 삼각형
|
|
679
|
+
*/
|
|
680
|
+
readonly TRIANGLE: "triangle";
|
|
681
|
+
/**
|
|
682
|
+
* 별 모양
|
|
683
|
+
*/
|
|
684
|
+
readonly STAR: "star";
|
|
685
|
+
/**
|
|
686
|
+
* 역삼각형
|
|
687
|
+
*/
|
|
688
|
+
readonly ITRIANGLE: "itriangle";
|
|
689
|
+
/**
|
|
690
|
+
* 직사각형
|
|
691
|
+
*/
|
|
692
|
+
readonly RECTANGLE: "rectangle";
|
|
693
|
+
};
|
|
694
|
+
type ShapeAnnotationShape = typeof _ShapeAnnotationShape[keyof typeof _ShapeAnnotationShape];
|
|
662
695
|
/**
|
|
663
696
|
* Shape Annotation 모델.
|
|
664
697
|
*
|
|
@@ -679,19 +712,11 @@ interface ShapeAnnotationOptions extends AnnotationOptions {
|
|
|
679
712
|
*/
|
|
680
713
|
height?: number;
|
|
681
714
|
/**
|
|
682
|
-
* Shape
|
|
683
|
-
*
|
|
684
|
-
* circle: 원
|
|
685
|
-
* diamond: 다아이몬드
|
|
686
|
-
* square: 정사각형
|
|
687
|
-
* triangle: 삼각형
|
|
688
|
-
* star: 별 모양
|
|
689
|
-
* itriangle:
|
|
690
|
-
* rectangle: 사각형
|
|
715
|
+
* Shape 종류.<br/>
|
|
691
716
|
*
|
|
692
717
|
* @default 'square'
|
|
693
718
|
*/
|
|
694
|
-
shape?:
|
|
719
|
+
shape?: ShapeAnnotationShape;
|
|
695
720
|
/**
|
|
696
721
|
* Shape path.
|
|
697
722
|
* 이 속성이 지정되면 {@page shape}는 무시된다.
|
|
@@ -779,7 +804,6 @@ interface ExportOptions {
|
|
|
779
804
|
/**
|
|
780
805
|
* 내보낸 차트에 사용할 확장자.\
|
|
781
806
|
* type을 지정하지 않을 경우 png로 내보내기 된다.\
|
|
782
|
-
* - `ExportType`: `'png'`, `'jpeg'`, `'svg'`, `'pdf'`, `'print'`
|
|
783
807
|
* @config
|
|
784
808
|
* // @TODO https://github.com/realgrid/realreport-chart/issues/549
|
|
785
809
|
*/
|
|
@@ -851,8 +875,8 @@ declare abstract class RcControl extends RcObject {
|
|
|
851
875
|
private $_clearDefs;
|
|
852
876
|
clearAssetDefs(): void;
|
|
853
877
|
clearTemporaryDefs(): void;
|
|
854
|
-
appendDom(elt:
|
|
855
|
-
addElement(elt:
|
|
878
|
+
appendDom<T extends HTMLElement>(elt: T): T;
|
|
879
|
+
addElement<T extends RcElement>(elt: T): T;
|
|
856
880
|
setPointerHandler(handler: IPointerHandler): void;
|
|
857
881
|
invalidate(force?: boolean): void;
|
|
858
882
|
invalidateLayout(force?: boolean): void;
|
|
@@ -970,10 +994,10 @@ declare class RcElement extends RcObject {
|
|
|
970
994
|
setRotation(originX: number, originY: number, rotation: number): RcElement;
|
|
971
995
|
getStyle(prop: string): string;
|
|
972
996
|
hasStyle(className: string): boolean;
|
|
973
|
-
add(child:
|
|
974
|
-
insertChild(child:
|
|
975
|
-
insertAfter(child:
|
|
976
|
-
insertFirst(child:
|
|
997
|
+
add<T extends RcElement>(child: T): T;
|
|
998
|
+
insertChild<T extends RcElement>(child: T, before: RcElement): T;
|
|
999
|
+
insertAfter<T extends RcElement>(child: T, after: RcElement): T;
|
|
1000
|
+
insertFirst<T extends RcElement>(child: T): T;
|
|
977
1001
|
appendElement(doc: Document, tag: string): SVGElement;
|
|
978
1002
|
insertElement(doc: Document, tag: string, before: Node): SVGElement;
|
|
979
1003
|
remove(): RcElement;
|
|
@@ -1250,7 +1274,7 @@ declare const _TrendLineType: {
|
|
|
1250
1274
|
};
|
|
1251
1275
|
type TrendLineType = typeof _TrendLineType[keyof typeof _TrendLineType];
|
|
1252
1276
|
/**
|
|
1253
|
-
* 시리즈 추세선
|
|
1277
|
+
* 시리즈 추세선 모델.<br/>
|
|
1254
1278
|
*/
|
|
1255
1279
|
interface TrendlineOptions extends ChartItemOptions {
|
|
1256
1280
|
/**
|
|
@@ -1294,34 +1318,28 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1294
1318
|
* 시리즈 생성시 지정된 후 변경할 수 없다.
|
|
1295
1319
|
* 차트의 다른 구성 요소에서 이 시리즈를 참조할 때 사용되며,
|
|
1296
1320
|
* 레전드나 툴팁에서 시리즈를 나타내는 텍스트로도 사용된다.
|
|
1297
|
-
*
|
|
1298
1321
|
*/
|
|
1299
1322
|
name?: string;
|
|
1300
1323
|
/**
|
|
1301
1324
|
* 이 시리즈를 나타내는 텍스트.<br/>
|
|
1302
1325
|
* 레전드나 툴팁에서 시리즈를 대표한다.
|
|
1303
1326
|
* 이 속성이 지정되지 않으면 {@page name}이 사용된다.
|
|
1304
|
-
*
|
|
1305
1327
|
*/
|
|
1306
1328
|
label?: string;
|
|
1307
1329
|
/**
|
|
1308
1330
|
* 데이터포인트 label 설정 모델.
|
|
1309
|
-
*
|
|
1310
1331
|
*/
|
|
1311
1332
|
pointLabel?: DataPointLabelOptions | boolean;
|
|
1312
1333
|
/**
|
|
1313
1334
|
* 추세선 설정 모델.
|
|
1314
|
-
*
|
|
1315
1335
|
*/
|
|
1316
1336
|
trendline?: TrendlineOptions;
|
|
1317
1337
|
/**
|
|
1318
1338
|
* 분할 모드일 때 시리즈가 표시될 pane의 수직 index.
|
|
1319
|
-
*
|
|
1320
1339
|
*/
|
|
1321
1340
|
row?: number;
|
|
1322
1341
|
/**
|
|
1323
1342
|
* 분할 모드일 때 시리즈가 표시될 pane의 수평 index.
|
|
1324
|
-
*
|
|
1325
1343
|
*/
|
|
1326
1344
|
col?: number;
|
|
1327
1345
|
/**
|
|
@@ -1332,52 +1350,43 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1332
1350
|
/**
|
|
1333
1351
|
* 시리즈 표시 순서를 지정할 수 있다.<br/>
|
|
1334
1352
|
* 값이 클 수록 나중에(위에) 표시된다.
|
|
1335
|
-
*
|
|
1336
1353
|
*/
|
|
1337
1354
|
zOrder?: number;
|
|
1338
1355
|
/**
|
|
1339
1356
|
* 그룹에 포함되면 그룹 설정을 따른다.
|
|
1340
|
-
*
|
|
1341
1357
|
*/
|
|
1342
1358
|
xAxis?: string | number;
|
|
1343
1359
|
/**
|
|
1344
1360
|
* 그룹에 포함되면 그룹 설정을 따른다.
|
|
1345
|
-
*
|
|
1346
1361
|
*/
|
|
1347
1362
|
yAxis?: string | number;
|
|
1348
1363
|
/**
|
|
1349
1364
|
* json 객체나 배열로 전달되는 데이터포인트 정보에서 x 값을 지정하는 속성명이나 인덱스.<br/>
|
|
1350
1365
|
* undefined이면, data point의 값이 array일 때는 0, 객체이면 'x'.
|
|
1351
|
-
*
|
|
1352
1366
|
*/
|
|
1353
1367
|
xField?: string | number;
|
|
1354
1368
|
/**
|
|
1355
1369
|
* json 객체나 배열로 전달되는 데이터포인트 정보에서 y 값을 지정하는 속성명이나 인덱스.<br/>
|
|
1356
1370
|
* undefined이면, data point의 값이 array일 때는 1, 객체이면 'y'.
|
|
1357
|
-
*
|
|
1358
1371
|
*/
|
|
1359
1372
|
yField?: string | number | Function;
|
|
1360
1373
|
/**
|
|
1361
1374
|
* json 객체나 배열로 전달되는 데이터포인트 정보에서 z 값을 지정하는 속성명이나 인덱스.<br/>
|
|
1362
1375
|
* undefined이면, data point의 값이 array일 때는 2, 객체이면 'z'.
|
|
1363
|
-
*
|
|
1364
1376
|
*/
|
|
1365
1377
|
zField?: string | number | Function;
|
|
1366
1378
|
/**
|
|
1367
1379
|
* undefined이면, data point의 값이 객체일 때 'color'.
|
|
1368
|
-
*
|
|
1369
1380
|
*/
|
|
1370
1381
|
colorField?: string;
|
|
1371
1382
|
/**
|
|
1372
1383
|
* 데이터포인터들을 생성하는 데 사용되는 값 목록.
|
|
1373
|
-
*
|
|
1374
1384
|
*/
|
|
1375
1385
|
data?: any;
|
|
1376
1386
|
/**
|
|
1377
1387
|
* 연결된 x축이 연속 축(카테고리축이 아닌)일 때, x축 값이 설정되지 않은 첫번째 데이터 point에 설정되는 x값.<br/>
|
|
1378
1388
|
* 이 후에는 {@page xStep}씩 증가시키면서 설정한다.
|
|
1379
1389
|
* 이 속성이 지정되지 않은 경우 {@page ChartOptions.xStart}가 적용된다.
|
|
1380
|
-
*
|
|
1381
1390
|
*/
|
|
1382
1391
|
xStart?: any;
|
|
1383
1392
|
/**
|
|
@@ -1385,7 +1394,6 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1385
1394
|
* 첫번째 값은 {@page xStart}로 설정한다.
|
|
1386
1395
|
* time 축일 때, 정수 값 대신 시간 단위('y', 'm', 'w', 'd', 'h', 'n', 's')로 지정할 수 있다.
|
|
1387
1396
|
* 이 속성이 지정되지 않으면 {@page ChartOptions.xStep}이 적용된다.
|
|
1388
|
-
*
|
|
1389
1397
|
*/
|
|
1390
1398
|
xStep?: number | string;
|
|
1391
1399
|
/**
|
|
@@ -1394,7 +1402,6 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1394
1402
|
* 데이터포인터에 적용되지 않는 경우 이 속성을 사용할 수 있다.
|
|
1395
1403
|
* {@page pointColors}나 {@page color}가 설정되면 이 속성으로 설정된 색상은 무시된다.
|
|
1396
1404
|
* 또, {@page pointStyleCallback}으로 설정된 스타일이 이 속성 스타일보다 우선한다.
|
|
1397
|
-
*
|
|
1398
1405
|
*/
|
|
1399
1406
|
pointStyle?: SVGStyleOrClass;
|
|
1400
1407
|
/**
|
|
@@ -1402,21 +1409,18 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1402
1409
|
* 숫자로 지정하면 정수로 변환된 값에 해당하는 팔레트 색상으로 설정된다.
|
|
1403
1410
|
* 'var(--color-n)'으로 지정한 것과 동일하며, 1 ~ 12 사이의 값으로 지정한다.<br/>
|
|
1404
1411
|
* {@page pointColors}나 {@page pointStyleCallback}으로 설정된 색상이 이 속성으로 설정한 색상보다 우선한다.
|
|
1405
|
-
*
|
|
1406
1412
|
*/
|
|
1407
1413
|
color?: string | number;
|
|
1408
1414
|
/**
|
|
1409
1415
|
* 데이터 포인트별 색들을 지정한다.<br/>
|
|
1410
1416
|
* 색 배열로 지정하거나, 'colors' asset으로 등록된 이름을 지정할 수 있다.<br/>
|
|
1411
1417
|
* {@page pointStyleCallback}으로 설정된 색상이나 데이터포인트별로 지정한 색상이 이 속성으로 설정한 색상보다 우선한다.
|
|
1412
|
-
*
|
|
1413
1418
|
*/
|
|
1414
1419
|
pointColors?: string[] | string;
|
|
1415
1420
|
/**
|
|
1416
1421
|
* 값 범위 목록.<br/>
|
|
1417
1422
|
* 범위별로 다른 스타일을 적용할 수 있다.
|
|
1418
1423
|
* 범위들은 중첩될 수 없다.
|
|
1419
|
-
*
|
|
1420
1424
|
*/
|
|
1421
1425
|
viewRanges?: ValueRange[] | ValueRangeList;
|
|
1422
1426
|
/**
|
|
@@ -1424,7 +1428,6 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1424
1428
|
* 지정하지 않으면 시리즈 종류에 띠라 자동 적용된다.
|
|
1425
1429
|
* 'line' 시리즈 계열은 'x', 나머지는 'y'가 된다.
|
|
1426
1430
|
* 현재 'z'은 range는 bubble 시리즈에만 적용할 수 있다.
|
|
1427
|
-
*
|
|
1428
1431
|
*/
|
|
1429
1432
|
viewRangeValue?: 'x' | 'y' | 'z';
|
|
1430
1433
|
/**
|
|
@@ -1436,7 +1439,6 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1436
1439
|
noClip?: boolean;
|
|
1437
1440
|
/**
|
|
1438
1441
|
* 명시적 false로 지정하면 legend에 표시하지 않는다.
|
|
1439
|
-
*
|
|
1440
1442
|
*/
|
|
1441
1443
|
visibleInLegend?: boolean;
|
|
1442
1444
|
/**
|
|
@@ -1445,7 +1447,6 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1445
1447
|
visibleInNavigator?: boolean;
|
|
1446
1448
|
/**
|
|
1447
1449
|
* 데이터포인트 툴팁 텍스트.
|
|
1448
|
-
*
|
|
1449
1450
|
*/
|
|
1450
1451
|
tooltipText?: string;
|
|
1451
1452
|
tooltipCallback?: (args: any) => string;
|
|
@@ -1459,12 +1460,10 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1459
1460
|
hoverEffect?: 'none' | 'default';
|
|
1460
1461
|
/**
|
|
1461
1462
|
* 데이터포인트 위에 마우스가 있을 때 적용되는 스타일셋 혹은 class selector.
|
|
1462
|
-
*
|
|
1463
1463
|
*/
|
|
1464
1464
|
hoverStyle?: SVGStyleOrClass;
|
|
1465
1465
|
/**
|
|
1466
1466
|
* 데이터 point의 동적 스타일 콜백.
|
|
1467
|
-
*
|
|
1468
1467
|
*/
|
|
1469
1468
|
pointStyleCallback?: PointStyleCallback;
|
|
1470
1469
|
/**
|
|
@@ -1474,13 +1473,11 @@ interface SeriesOptions extends ChartItemOptions {
|
|
|
1474
1473
|
/**
|
|
1475
1474
|
* 데이터 point가 클릭될 때 호출되는 이벤트 콜백.<br/>
|
|
1476
1475
|
* 명시적 true를 리턴하면 기본 동작이 진행되지 않는다.
|
|
1477
|
-
*
|
|
1478
1476
|
*/
|
|
1479
1477
|
onPointClick?: PointClickCallback;
|
|
1480
1478
|
/**
|
|
1481
1479
|
* 마우스가 데이터 point 위에 올라가거나 빠져나갈 때 호출되는 이벤트 콜백.<br/>
|
|
1482
1480
|
* 빠져나가는 경우 args 매개변수는 null이다.
|
|
1483
|
-
*
|
|
1484
1481
|
*/
|
|
1485
1482
|
onPointHover?: PointHoverCallback;
|
|
1486
1483
|
}
|
|
@@ -1830,7 +1827,7 @@ interface WidgetSeriesOptions extends SeriesOptions {
|
|
|
1830
1827
|
*/
|
|
1831
1828
|
legendByPoint?: boolean;
|
|
1832
1829
|
}
|
|
1833
|
-
declare const
|
|
1830
|
+
declare const BarRangeSeriesType = "barrange";
|
|
1834
1831
|
/**
|
|
1835
1832
|
* BarRange 시리즌.<br/>
|
|
1836
1833
|
* 수평 또는 수직 막대로 여러 값들의 범위들을 **비교**하는 데 사용한다.
|
|
@@ -1840,12 +1837,12 @@ declare const BarrangeSeriesType = "barrange";
|
|
|
1840
1837
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
1841
1838
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.<br/>
|
|
1842
1839
|
*
|
|
1843
|
-
* ######
|
|
1840
|
+
* ###### 단일값 또는 단일값 배열
|
|
1844
1841
|
* |형식|설명|
|
|
1845
1842
|
* |---|---|
|
|
1846
1843
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
1847
1844
|
* |[]|빈 배열이면 null. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
1848
|
-
* |[z]
|
|
1845
|
+
* |[z]|단일값 배열이면 low, y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
1849
1846
|
* |[low, y]|두 값 배열이면 low값과 y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
1850
1847
|
* |[x, low, y,]|세 값 이상이면 순서대로 x, low, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page lowField}는 low값의 index. {@page yField}는 y값의 index.|
|
|
1851
1848
|
*
|
|
@@ -1859,8 +1856,8 @@ declare const BarrangeSeriesType = "barrange";
|
|
|
1859
1856
|
*
|
|
1860
1857
|
* @config chart.series[type=barrange]
|
|
1861
1858
|
*/
|
|
1862
|
-
interface
|
|
1863
|
-
type?: typeof
|
|
1859
|
+
interface BarRangeSeriesOptions extends LowRangedSeriesOptions {
|
|
1860
|
+
type?: typeof BarRangeSeriesType;
|
|
1864
1861
|
/**
|
|
1865
1862
|
* json 객체나 배열로 전달되는 데이터포인트 정보에서 low 값을 지정하는 속성명이나 인덱스.<br/>
|
|
1866
1863
|
* undefined이면, data point의 값이 array일 때는 1, 객체이면 'low'.
|
|
@@ -1888,7 +1885,7 @@ declare const BarSeriesType = "bar";
|
|
|
1888
1885
|
*
|
|
1889
1886
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
1890
1887
|
*
|
|
1891
|
-
* ######
|
|
1888
|
+
* ###### 단일값 또는 단일값 배열
|
|
1892
1889
|
* |형식|설명|
|
|
1893
1890
|
* |---|---|
|
|
1894
1891
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2036,7 +2033,7 @@ type LineStepDirection = typeof _LineStepDirection[keyof typeof _LineStepDirecti
|
|
|
2036
2033
|
*
|
|
2037
2034
|
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
2038
2035
|
*
|
|
2039
|
-
* ######
|
|
2036
|
+
* ###### 단일값 또는 단일값 배열
|
|
2040
2037
|
* |형식|설명|
|
|
2041
2038
|
* |---|---|
|
|
2042
2039
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2111,7 +2108,7 @@ interface SplineSeriesOptions extends LineSeriesOptions {
|
|
|
2111
2108
|
*
|
|
2112
2109
|
* *{@page data}는 아래 형식들로 전달할 수 있다.
|
|
2113
2110
|
*
|
|
2114
|
-
* ######
|
|
2111
|
+
* ###### 단일값 또는 단일값 배열
|
|
2115
2112
|
* |형식|설명|
|
|
2116
2113
|
* |---|---|
|
|
2117
2114
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2149,7 +2146,7 @@ declare const BellCurveSeriesType = "bellcurve";
|
|
|
2149
2146
|
*
|
|
2150
2147
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2151
2148
|
*
|
|
2152
|
-
* ######
|
|
2149
|
+
* ###### 단일값 또는 단일값 배열
|
|
2153
2150
|
* |형식|설명|
|
|
2154
2151
|
* |---|---|
|
|
2155
2152
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2166,7 +2163,7 @@ declare const BellCurveSeriesType = "bellcurve";
|
|
|
2166
2163
|
*
|
|
2167
2164
|
* @config chart.series[type=bellcurve]
|
|
2168
2165
|
*/
|
|
2169
|
-
interface
|
|
2166
|
+
interface BellCurveSeriesOptions extends AreaSeriesOptions {
|
|
2170
2167
|
type?: typeof BellCurveSeriesType;
|
|
2171
2168
|
/**
|
|
2172
2169
|
* 이 시리즈 data point들을 구성할 수 있는 데이터를 포함한 원본 시리즈.
|
|
@@ -2189,7 +2186,7 @@ interface BellcurveSeriesOptions extends AreaSeriesOptions {
|
|
|
2189
2186
|
*/
|
|
2190
2187
|
curved?: boolean;
|
|
2191
2188
|
}
|
|
2192
|
-
declare const
|
|
2189
|
+
declare const BoxPlotSeriesType = "boxplot";
|
|
2193
2190
|
/**
|
|
2194
2191
|
* {@page https://en.wikipedia.org/wiki/Box_plot BoxPlot} 시리즈.<br/>
|
|
2195
2192
|
* 주요 값들의 대략적인 범위 및 분포를 표시하는 시리즈.<br/><br/>
|
|
@@ -2198,7 +2195,7 @@ declare const BoxplotSeriesType = "boxplot";
|
|
|
2198
2195
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
2199
2196
|
*
|
|
2200
2197
|
* <br/>
|
|
2201
|
-
* ######
|
|
2198
|
+
* ###### 단일값 또는 단일값 배열
|
|
2202
2199
|
* |형식|설명|
|
|
2203
2200
|
* |---|---|
|
|
2204
2201
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2219,8 +2216,8 @@ declare const BoxplotSeriesType = "boxplot";
|
|
|
2219
2216
|
*
|
|
2220
2217
|
* @config chart.series[type=boxplot]
|
|
2221
2218
|
*/
|
|
2222
|
-
interface
|
|
2223
|
-
type?: typeof
|
|
2219
|
+
interface BoxPlotSeriesOptions extends LowRangedSeriesOptions {
|
|
2220
|
+
type?: typeof BoxPlotSeriesType;
|
|
2224
2221
|
/**
|
|
2225
2222
|
* json 객체나 배열로 전달되는 데이터포인트 정보에서 min값을 지정하는 속성명이나 인덱스.<br/>
|
|
2226
2223
|
* undefined이면, data point의 값이 array일 때는 항목 수가 6이상이면 1 아니면 0, 객체이면 'min'.
|
|
@@ -2275,12 +2272,12 @@ declare const BubbleSeriesType = "bubble";
|
|
|
2275
2272
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2276
2273
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
2277
2274
|
*
|
|
2278
|
-
* ######
|
|
2275
|
+
* ###### 단일값 또는 단일값 배열
|
|
2279
2276
|
* |형식|설명|
|
|
2280
2277
|
* |---|---|
|
|
2281
2278
|
* |y|단일 숫자면 y, z값. x 값은 순서에 따라 자동 결정.|
|
|
2282
2279
|
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
2283
|
-
* |[z]
|
|
2280
|
+
* |[z]|단일값 배열이면 y, z값. x 값은 순서에 따라 자동 결정.|
|
|
2284
2281
|
* |[y, z]|두 값 배열이면 y값과 z값. x 값은 순서에 따라 자동 결정.|
|
|
2285
2282
|
* |[x, y, z,]|세 값 이상이면 순서대로 x, y, z값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index. {@page zField}는 z값의 index.|
|
|
2286
2283
|
*
|
|
@@ -2328,7 +2325,7 @@ declare const BumpSeriesType = "bump";
|
|
|
2328
2325
|
*
|
|
2329
2326
|
* @config chart.series[type=bump]
|
|
2330
2327
|
*/
|
|
2331
|
-
interface
|
|
2328
|
+
interface BumpSeriesGroupOptions extends SeriesGroupOptions {
|
|
2332
2329
|
type?: typeof BumpSeriesType;
|
|
2333
2330
|
}
|
|
2334
2331
|
/**
|
|
@@ -2339,7 +2336,7 @@ interface BumpSeriesOptions extends SeriesOptions {
|
|
|
2339
2336
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.<br/>
|
|
2340
2337
|
* [주의] high와 y값은 동일한 값이다.
|
|
2341
2338
|
*
|
|
2342
|
-
* ######
|
|
2339
|
+
* ###### 단일값 또는 단일값 배열
|
|
2343
2340
|
* |형식|설명|
|
|
2344
2341
|
* |---|---|
|
|
2345
2342
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2404,7 +2401,7 @@ interface CircleBarPointLabelOptions extends DataPointLabelOptions {
|
|
|
2404
2401
|
*/
|
|
2405
2402
|
position?: PointItemPosition;
|
|
2406
2403
|
}
|
|
2407
|
-
declare const
|
|
2404
|
+
declare const CircleBarSeriesType = "circlebar";
|
|
2408
2405
|
/**
|
|
2409
2406
|
* CirleBar 시리즈.<br/>
|
|
2410
2407
|
* 직사각형 대신 원형 막대로 여러 값들을 **비교**하는 데 사용한다.
|
|
@@ -2413,7 +2410,7 @@ declare const CirclebarSeriesType = "circlebar";
|
|
|
2413
2410
|
*
|
|
2414
2411
|
*{@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2415
2412
|
*
|
|
2416
|
-
* ######
|
|
2413
|
+
* ###### 단일값 또는 단일값 배열
|
|
2417
2414
|
* |형식|설명|
|
|
2418
2415
|
* |---|---|
|
|
2419
2416
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2430,15 +2427,15 @@ declare const CirclebarSeriesType = "circlebar";
|
|
|
2430
2427
|
*
|
|
2431
2428
|
* @config chart.series[type=circlebar]
|
|
2432
2429
|
*/
|
|
2433
|
-
interface
|
|
2434
|
-
type?: typeof
|
|
2430
|
+
interface CircleBarSeriesOptions extends BarSeriesBaseOptions {
|
|
2431
|
+
type?: typeof CircleBarSeriesType;
|
|
2435
2432
|
}
|
|
2436
|
-
declare const
|
|
2433
|
+
declare const CircleBarSeriesGroupType = "circlebargroup";
|
|
2437
2434
|
/**
|
|
2438
2435
|
* @config chart.series[type=circlebargroup]
|
|
2439
2436
|
*/
|
|
2440
|
-
interface
|
|
2441
|
-
type?: typeof
|
|
2437
|
+
interface CircleBarSeriesGroupOptions extends BarSeriesGroupBaseOptions<CircleBarSeriesOptions> {
|
|
2438
|
+
type?: typeof CircleBarSeriesGroupType;
|
|
2442
2439
|
}
|
|
2443
2440
|
interface DumbbellSeriesMarkerOptions extends SeriesMarkerOptions {
|
|
2444
2441
|
/**
|
|
@@ -2463,12 +2460,12 @@ declare const DumbbellSeriesType = "dumbbell";
|
|
|
2463
2460
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2464
2461
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
2465
2462
|
*
|
|
2466
|
-
* ######
|
|
2463
|
+
* ###### 단일값 또는 단일값 배열
|
|
2467
2464
|
* |형식|설명|
|
|
2468
2465
|
* |---|---|
|
|
2469
2466
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
2470
2467
|
* |[]|빈 배열이면 null. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2471
|
-
* |[z]
|
|
2468
|
+
* |[z]|단일값 배열이면 low, y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2472
2469
|
* |[low, y]|두 값 배열이면 low값과 y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2473
2470
|
* |[x, low, y,]|세 값 이상이면 순서대로 x, low, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page lowField}는 low값의 index. {@page yField}는 y값의 index.|
|
|
2474
2471
|
*
|
|
@@ -2496,7 +2493,7 @@ declare const EqualizerSeriesType = "equalizer";
|
|
|
2496
2493
|
*
|
|
2497
2494
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2498
2495
|
*
|
|
2499
|
-
* ######
|
|
2496
|
+
* ###### 단일값 또는 단일값 배열
|
|
2500
2497
|
* |형식|설명|
|
|
2501
2498
|
* |---|---|
|
|
2502
2499
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2525,7 +2522,7 @@ interface LowRangedSeriesOptions extends RangedSeriesOptions {
|
|
|
2525
2522
|
lowField?: string;
|
|
2526
2523
|
highField?: string;
|
|
2527
2524
|
}
|
|
2528
|
-
declare const
|
|
2525
|
+
declare const ErrorBarSeriesType = "errorbar";
|
|
2529
2526
|
/**
|
|
2530
2527
|
* ErrorBar 시리즈.<br/>
|
|
2531
2528
|
* 오류(차) 표시 막대를 표시한다.<br/><br/>
|
|
@@ -2533,12 +2530,12 @@ declare const ErrorbarSeriesType = "errorbar";
|
|
|
2533
2530
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2534
2531
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
2535
2532
|
*
|
|
2536
|
-
* ######
|
|
2533
|
+
* ###### 단일값 또는 단일값 배열
|
|
2537
2534
|
* |형식|설명|
|
|
2538
2535
|
* |---|---|
|
|
2539
2536
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
2540
2537
|
* |[]|빈 배열이면 null. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2541
|
-
* |[z]
|
|
2538
|
+
* |[z]|단일값 배열이면 low, y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2542
2539
|
* |[low, y]|두 값 배열이면 low값과 y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2543
2540
|
* |[x, low, y,]|세 값 이상이면 순서대로 x, low, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page lowField}는 low값의 index. {@page yField}는 y값의 index.|
|
|
2544
2541
|
*
|
|
@@ -2552,8 +2549,8 @@ declare const ErrorbarSeriesType = "errorbar";
|
|
|
2552
2549
|
*
|
|
2553
2550
|
* @config chart.series[type=errorbar]
|
|
2554
2551
|
*/
|
|
2555
|
-
interface
|
|
2556
|
-
type?: typeof
|
|
2552
|
+
interface ErrorBarSeriesOptions extends LowRangedSeriesOptions {
|
|
2553
|
+
type?: typeof ErrorBarSeriesType;
|
|
2557
2554
|
/**
|
|
2558
2555
|
* @override
|
|
2559
2556
|
* @default 0.3
|
|
@@ -2611,12 +2608,12 @@ declare const HeatmapSeriesType = "heatmap";
|
|
|
2611
2608
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2612
2609
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
2613
2610
|
*
|
|
2614
|
-
* ######
|
|
2611
|
+
* ###### 단일값 또는 단일값 배열
|
|
2615
2612
|
* |형식|설명|
|
|
2616
2613
|
* |---|---|
|
|
2617
2614
|
* |y|단일 숫자면 y, z값. x 값은 순서에 따라 자동 결정.|
|
|
2618
2615
|
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
2619
|
-
* |[z]
|
|
2616
|
+
* |[z]|단일값 배열이면 y, z값. x 값은 순서에 따라 자동 결정.|
|
|
2620
2617
|
* |[y, z]|두 값 배열이면 y값과 z값. x 값은 순서에 따라 자동 결정.|
|
|
2621
2618
|
* |[x, y, z,]|세 값 이상이면 순서대로 x, y, z값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index. {@page zField}는 z값의 index.|
|
|
2622
2619
|
*
|
|
@@ -2673,12 +2670,12 @@ declare const ArearangeSeriesType = "arearange";
|
|
|
2673
2670
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2674
2671
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
2675
2672
|
*
|
|
2676
|
-
* ######
|
|
2673
|
+
* ###### 단일값 또는 단일값 배열
|
|
2677
2674
|
* |형식|설명|
|
|
2678
2675
|
* |---|---|
|
|
2679
2676
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
2680
2677
|
* |[]|빈 배열이면 null. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2681
|
-
* |[z]
|
|
2678
|
+
* |[z]|단일값 배열이면 low, y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2682
2679
|
* |[low, y]|두 값 배열이면 low값과 y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
2683
2680
|
* |[x, low, y,]|세 값 이상이면 순서대로 x, low, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page lowField}는 low값의 index. {@page yField}는 y값의 index.|
|
|
2684
2681
|
*
|
|
@@ -2692,7 +2689,7 @@ declare const ArearangeSeriesType = "arearange";
|
|
|
2692
2689
|
*
|
|
2693
2690
|
* @config chart.series[type=arearange]
|
|
2694
2691
|
*/
|
|
2695
|
-
interface
|
|
2692
|
+
interface AreaRangeSeriesOptions extends LineSeriesBaseOptions {
|
|
2696
2693
|
type?: typeof ArearangeSeriesType;
|
|
2697
2694
|
/**
|
|
2698
2695
|
* json 객체나 배열로 전달되는 데이터포인트 정보에서 낮은(low) 값을 지정하는 속성명이나 인덱스.\
|
|
@@ -2743,7 +2740,7 @@ declare const LollipopSeriesType = "lollipop";
|
|
|
2743
2740
|
*
|
|
2744
2741
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2745
2742
|
*
|
|
2746
|
-
* ######
|
|
2743
|
+
* ###### 단일값 또는 단일값 배열
|
|
2747
2744
|
* |형식|설명|
|
|
2748
2745
|
* |---|---|
|
|
2749
2746
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2774,7 +2771,7 @@ declare const OhlcSeriesType = "ohlc";
|
|
|
2774
2771
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
2775
2772
|
* [주의] high와 y값은 동일한 값이다.
|
|
2776
2773
|
*
|
|
2777
|
-
* ######
|
|
2774
|
+
* ###### 단일값 또는 단일값 배열
|
|
2778
2775
|
* |형식|설명|
|
|
2779
2776
|
* |---|---|
|
|
2780
2777
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2873,7 +2870,7 @@ declare const PieSeriesType = "pie";
|
|
|
2873
2870
|
*
|
|
2874
2871
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2875
2872
|
*
|
|
2876
|
-
* ######
|
|
2873
|
+
* ###### 단일값 또는 단일값 배열
|
|
2877
2874
|
* |형식|설명|
|
|
2878
2875
|
* |---|---|
|
|
2879
2876
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -2946,7 +2943,7 @@ declare const ScatterSeriesType = "scatter";
|
|
|
2946
2943
|
*
|
|
2947
2944
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
2948
2945
|
*
|
|
2949
|
-
* ######
|
|
2946
|
+
* ###### 단일값 또는 단일값 배열
|
|
2950
2947
|
* |형식|설명|
|
|
2951
2948
|
* |---|---|
|
|
2952
2949
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -3032,20 +3029,20 @@ type TreemapAlgorithm = typeof _TreemapAlgorithm[keyof typeof _TreemapAlgorithm]
|
|
|
3032
3029
|
declare const TreemapSeriesType = "treemap";
|
|
3033
3030
|
/**
|
|
3034
3031
|
* treemap 시리즈.<br/>
|
|
3035
|
-
* 차트나 split pane에 하나의 treemap만 존재할 수 있다.<br
|
|
3032
|
+
* 차트나 split pane에 하나의 treemap만 존재할 수 있다.<br/>
|
|
3036
3033
|
*
|
|
3037
3034
|
* //1. 본래 하드 드라이브의 파일 분포 상태를 표시하기 위해 고안됨.
|
|
3038
3035
|
* //2. node & link 스타일의 전통적 표시 방식은 공간을 많이 필요로 한다.
|
|
3039
3036
|
* //3. 일정 표시 공간을 100% 사용한다.
|
|
3040
3037
|
* //4. 초기 공간을 재귀적으로 나누어 가면서 구성한다.
|
|
3041
3038
|
*
|
|
3042
|
-
* // TODO: grouping된 data 설정 가능하도록 한다. data[{data:[]}, {data:[]}]
|
|
3039
|
+
* // TODO: grouping된 data 설정 가능하도록 한다. `data[{data:[]}, {data:[]}]`
|
|
3043
3040
|
*
|
|
3044
3041
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
3045
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이
|
|
3042
|
+
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.<br/>
|
|
3046
3043
|
* [주의] id, group 값은 문자열로 변환돼 사용된다.
|
|
3047
3044
|
*
|
|
3048
|
-
* ######
|
|
3045
|
+
* ###### 단일값 또는 단일값 배열
|
|
3049
3046
|
* |형식|설명|
|
|
3050
3047
|
* |---|---|
|
|
3051
3048
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -3086,9 +3083,8 @@ interface TreemapSeriesOptions extends SeriesOptions {
|
|
|
3086
3083
|
*/
|
|
3087
3084
|
alternate?: boolean;
|
|
3088
3085
|
/**백
|
|
3089
|
-
* 시작
|
|
3086
|
+
* 시작 방향.<br/>
|
|
3090
3087
|
* 지정하지 않으면 ploting 영역의 너비/높이 비율 기준으로 정해진다.
|
|
3091
|
-
*
|
|
3092
3088
|
*/
|
|
3093
3089
|
startDir?: 'vertical' | 'horizontal';
|
|
3094
3090
|
/**
|
|
@@ -3101,10 +3097,8 @@ interface TreemapSeriesOptions extends SeriesOptions {
|
|
|
3101
3097
|
* group mode일 때 group 레벨별 표시 방식 지정.
|
|
3102
3098
|
*/
|
|
3103
3099
|
/**
|
|
3104
|
-
* 툴팁 표시 기준 level
|
|
3100
|
+
* 툴팁 표시 기준 level.<br/>
|
|
3105
3101
|
* 값을 지정하지 않거나 범위를 벗어나면 마우스 아래 표시되는 node의 툴팁을 표시한다.
|
|
3106
|
-
*
|
|
3107
|
-
* // TODO:
|
|
3108
3102
|
*/
|
|
3109
3103
|
tooltipLevel?: number;
|
|
3110
3104
|
}
|
|
@@ -3166,7 +3160,7 @@ declare const VectorSeriesType = "vector";
|
|
|
3166
3160
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
3167
3161
|
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
3168
3162
|
*
|
|
3169
|
-
* ######
|
|
3163
|
+
* ###### 단일값 또는 단일값 배열
|
|
3170
3164
|
* |형식|설명|
|
|
3171
3165
|
* |---|---|
|
|
3172
3166
|
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -3234,7 +3228,7 @@ declare const WaterfallSeriesType = "waterfall";
|
|
|
3234
3228
|
*
|
|
3235
3229
|
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
3236
3230
|
*
|
|
3237
|
-
* ######
|
|
3231
|
+
* ###### 단일값 또는 단일값 배열
|
|
3238
3232
|
* |형식|설명|
|
|
3239
3233
|
* |---|---|
|
|
3240
3234
|
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
@@ -3280,7 +3274,7 @@ declare const LineSeriesTypes: {
|
|
|
3280
3274
|
readonly BellCurveSeriesType: "bellcurve";
|
|
3281
3275
|
};
|
|
3282
3276
|
type LineSeriesOptionsType = typeof LineSeriesTypes[keyof typeof LineSeriesTypes];
|
|
3283
|
-
type SeriesOptionsType = SeriesOptions | SeriesGroupOptions |
|
|
3277
|
+
type SeriesOptionsType = SeriesOptions | SeriesGroupOptions | BarRangeSeriesOptions | BarSeriesOptions | BarSeriesGroupOptions | BellCurveSeriesOptions | BoxPlotSeriesOptions | BubbleSeriesOptions | BumpSeriesGroupOptions | CandlestickSeriesOptions | CircleBarSeriesOptions | DumbbellSeriesOptions | EqualizerSeriesOptions | ErrorBarSeriesOptions | FunnelSeriesOptions | HeatmapSeriesOptions | HistogramSeriesOptions | AreaRangeSeriesOptions | AreaSeriesOptions | LineSeriesOptions | LineSeriesGroupOptions | SplineSeriesOptions | LollipopSeriesOptions | OhlcSeriesOptions | ParetoSeriesOptions | PieSeriesOptions | PieSeriesGroupOptions | ScatterSeriesOptions | TreemapSeriesOptions | VectorSeriesOptions | WaterfallSeriesOptions;
|
|
3284
3278
|
|
|
3285
3279
|
/**
|
|
3286
3280
|
* 차트 제목(title) 설정 모델.<br/>
|
|
@@ -4101,6 +4095,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
4101
4095
|
static defaults: ChartItemOptions;
|
|
4102
4096
|
readonly chart: IChart;
|
|
4103
4097
|
private _config;
|
|
4098
|
+
private _children;
|
|
4104
4099
|
/**
|
|
4105
4100
|
* @readonly
|
|
4106
4101
|
*
|
|
@@ -4116,26 +4111,47 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
4116
4111
|
* options.style과 동일하다.<br/>
|
|
4117
4112
|
*/
|
|
4118
4113
|
_style: SVGStyleOrClass;
|
|
4119
|
-
private _children;
|
|
4120
4114
|
/**
|
|
4121
4115
|
* 이 클래스를 계승한 차트 구성 요소 객체들은 차트 내부에서 자동 생성되므로 이 생성자를 직접 호출할 일은 없다.
|
|
4122
4116
|
*
|
|
4123
4117
|
* @param chart 차트 객체
|
|
4124
4118
|
*/
|
|
4125
4119
|
constructor(chart: IChart);
|
|
4126
|
-
init(): this;
|
|
4127
|
-
protected _doInit(): void;
|
|
4128
4120
|
/**
|
|
4129
|
-
*
|
|
4130
|
-
|
|
4121
|
+
* @internal
|
|
4122
|
+
*/
|
|
4123
|
+
init(): OP;
|
|
4124
|
+
protected _doInit(op: OP): void;
|
|
4125
|
+
protected _doInitChildren(op: {
|
|
4126
|
+
[child: string]: ChartItemOptions;
|
|
4127
|
+
}): void;
|
|
4128
|
+
/**
|
|
4129
|
+
* @internal
|
|
4130
|
+
* for Testing...
|
|
4131
|
+
*/
|
|
4132
|
+
_initObject(): this;
|
|
4133
|
+
/**
|
|
4134
|
+
* 차트를 생성할 때나 {@page updateOptions} 등을 통해 이 모델 객체에 설정된 옵션 값들과
|
|
4135
|
+
* 기본 설정값들이 포함된 원본 설정 객체(복사본이 아니다).<br/>
|
|
4136
|
+
* 리턴된 객체의 속성값들을 가져올 수 있지만,
|
|
4137
|
+
* 속성들을 직접 수정하는 것은 권장되는 방법이 아니다.
|
|
4131
4138
|
* {@page updateOptions}나 {@page updateOption} 등을 사용해서 옵션들을 변경해야 한다.
|
|
4132
4139
|
*/
|
|
4133
4140
|
get options(): OP;
|
|
4134
4141
|
/**
|
|
4135
4142
|
* 표시 여부.<br/>
|
|
4136
|
-
* options
|
|
4143
|
+
* 설정 옵션의 [visible](/docs/api/options/ChartItemOptions#visible) 값을 그대로 return하는 것이 아니라,
|
|
4137
4144
|
* undefined나 null 등으로 지정하는 경우 모델의 상태에 따라 true나 false로 해석될 수 있다.<br/>
|
|
4138
|
-
* 설정의 경우 {@page
|
|
4145
|
+
* 설정의 경우 {@page updateOption}으로 지정하는 것과 동일하다.
|
|
4146
|
+
*
|
|
4147
|
+
* ```
|
|
4148
|
+
* model.updateOption('visible', value);
|
|
4149
|
+
* ```
|
|
4150
|
+
* ```
|
|
4151
|
+
* model.updateOptions({
|
|
4152
|
+
* visible: value
|
|
4153
|
+
* });
|
|
4154
|
+
* ```
|
|
4139
4155
|
*
|
|
4140
4156
|
* @default true
|
|
4141
4157
|
*/
|
|
@@ -4144,8 +4160,33 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
4144
4160
|
protected _isVisible(): boolean;
|
|
4145
4161
|
/** @internal */
|
|
4146
4162
|
_load(source: any): OP;
|
|
4147
|
-
|
|
4148
|
-
|
|
4163
|
+
/**
|
|
4164
|
+
* 기존 옵션 값들을 모두 제거하고 source에 지정한 값들로 새로 구성한다.<br/>
|
|
4165
|
+
*
|
|
4166
|
+
* ```js
|
|
4167
|
+
* chart.legend.loadOptions({
|
|
4168
|
+
* visible: true,
|
|
4169
|
+
* location: 'right
|
|
4170
|
+
* })
|
|
4171
|
+
* ```
|
|
4172
|
+
*
|
|
4173
|
+
* @param source 설정 정보 객체 혹은 단일값.
|
|
4174
|
+
* @returns 이 객체 자신.
|
|
4175
|
+
*/
|
|
4176
|
+
loadOptions(source: OP): this;
|
|
4177
|
+
/**
|
|
4178
|
+
* 이 모델 객체에 설정된 전역 기본값과 다른 옵션 값들이 포함된 사본 객체로 리턴한다.<br/>
|
|
4179
|
+
* {@link options} 객체에는 전역 기본값들도 포함되어 있다.
|
|
4180
|
+
*
|
|
4181
|
+
* ```js
|
|
4182
|
+
* const options = chart.legend.saveOptions();
|
|
4183
|
+
* console.log(options);
|
|
4184
|
+
* ```
|
|
4185
|
+
*
|
|
4186
|
+
* @param recursive 기본값 true이면 하위 모델의 옵션들도 포함된다.
|
|
4187
|
+
* @returns 옵션 사본 객체.
|
|
4188
|
+
*/
|
|
4189
|
+
saveOptions(recursive?: boolean): any;
|
|
4149
4190
|
/**
|
|
4150
4191
|
* 하나 이상의 option 설정을 하고,
|
|
4151
4192
|
* 차트가 다시 그려지도록 한다.<br/>
|
|
@@ -4166,14 +4207,17 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
4166
4207
|
* chart.legend.updateOptions();
|
|
4167
4208
|
* ```
|
|
4168
4209
|
*
|
|
4169
|
-
* @param source 설정 정보 객체 혹은
|
|
4210
|
+
* @param source 설정 정보 객체 혹은 단일값.
|
|
4170
4211
|
* @param render true로 지정하면 설정 후 차트를 다시 그린다.
|
|
4171
|
-
* @returns
|
|
4212
|
+
* @returns 객체 자신.
|
|
4172
4213
|
*/
|
|
4173
4214
|
updateOptions(source?: OP, render?: boolean): this;
|
|
4174
4215
|
/**
|
|
4175
4216
|
* 하나의 속성 값을 설정한다.<br/>
|
|
4176
4217
|
* 여러 속성들을 한꺼번에 변경할 때는 {@page updateOptions}를 사용한다.
|
|
4218
|
+
*
|
|
4219
|
+
* @param render true로 지정하면 설정 후 차트를 다시 그린다.
|
|
4220
|
+
* @returns 객체 자신.
|
|
4177
4221
|
*/
|
|
4178
4222
|
updateOption(prop: keyof OP, value: any, render?: boolean): this;
|
|
4179
4223
|
/**
|
|
@@ -4184,18 +4228,26 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
4184
4228
|
* chart.getSeries('ser02').toggleOption('visible');
|
|
4185
4229
|
* ```
|
|
4186
4230
|
*
|
|
4187
|
-
* @param prop 설정 속성
|
|
4231
|
+
* @param prop 설정 속성 이름.
|
|
4188
4232
|
* @param render true로 지정하면 chart를 다시 그린다.
|
|
4189
4233
|
* false로 지정하고 여러 설정 후에 {@page Chart.render render}를 호출해서 다시 그리게 할 수도 있다.
|
|
4190
4234
|
* 기본값은 true.
|
|
4191
|
-
* @returns
|
|
4235
|
+
* @returns 객체 자신.
|
|
4192
4236
|
*/
|
|
4193
4237
|
toggleOption(prop: keyof OP, render?: boolean): this;
|
|
4238
|
+
/**
|
|
4239
|
+
* 지정한 속성에 설정한 값이 있으면 제거하고, 기본값으로(있다면) 되돌린다.
|
|
4240
|
+
*
|
|
4241
|
+
* @param prop 속성 이름.
|
|
4242
|
+
* @param render true(기본값)으로 지정하면 차트를 다시 그린다.
|
|
4243
|
+
* @returns 객체 자신.
|
|
4244
|
+
*/
|
|
4194
4245
|
removeOption(prop: keyof OP, render?: boolean): this;
|
|
4195
4246
|
/**
|
|
4196
|
-
* {@page updateOptions}나 {@page updateOption} 등을 통해 설정된 옵션 값들을
|
|
4197
|
-
* 기본값이
|
|
4247
|
+
* {@page updateOptions}나 {@page updateOption} 등을 통해 설정된 모든 옵션 값들을 제거하거나,
|
|
4248
|
+
* 전역 기본값이 존재하는 경우 그 값으로 되돌린다.<br/>
|
|
4198
4249
|
*
|
|
4250
|
+
* @param render true(기본값)으로 지정하면 차트를 다시 그린다.
|
|
4199
4251
|
* @returns 객체 자신.
|
|
4200
4252
|
*/
|
|
4201
4253
|
clearOptions(render?: boolean): this;
|
|
@@ -4206,17 +4258,22 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
4206
4258
|
/** @internal */
|
|
4207
4259
|
protected _doLoad(options: ChartItemOptions, source: any): void;
|
|
4208
4260
|
/** @internal */
|
|
4261
|
+
protected _doSave(target: any, defs: OP, recursive: boolean): void;
|
|
4262
|
+
/** @internal */
|
|
4263
|
+
protected _doSaveArray(prop: string, value: any[]): any[];
|
|
4264
|
+
/** @internal */
|
|
4209
4265
|
protected _doSetSimple(src: any): boolean;
|
|
4210
4266
|
/** @internal */
|
|
4211
4267
|
protected _doLoadProp(prop: string, value: any): boolean;
|
|
4268
|
+
/** @internal */
|
|
4212
4269
|
private $_applyOptions;
|
|
4270
|
+
/** @internal */
|
|
4213
4271
|
protected _setDim(options: ChartItemOptions, prop: string): void;
|
|
4272
|
+
/** @internal */
|
|
4214
4273
|
protected _setDims(options: ChartItemOptions, ...props: string[]): void;
|
|
4215
4274
|
/** @internal */
|
|
4216
4275
|
protected _doApply(options: ChartItemOptions): void;
|
|
4217
4276
|
/** @internal */
|
|
4218
|
-
protected _doSave(target: object): void;
|
|
4219
|
-
/** @internal */
|
|
4220
4277
|
protected _doUpdate(source: any): void;
|
|
4221
4278
|
/** @internal */
|
|
4222
4279
|
protected _doPrepareRender(chart: IChart): void;
|
|
@@ -4285,15 +4342,24 @@ declare const _LegendItemsAlign: {
|
|
|
4285
4342
|
};
|
|
4286
4343
|
type LegendItemsAlign = typeof _LegendItemsAlign[keyof typeof _LegendItemsAlign];
|
|
4287
4344
|
/**
|
|
4288
|
-
*
|
|
4289
|
-
* legend가 차트 상하에 배치되면 item들을 수평으로 배치.
|
|
4290
|
-
*
|
|
4291
|
-
* horizontal: item들을 수평으로 배치
|
|
4292
|
-
*
|
|
4293
|
-
* vertical: item들을 수직으로 배치
|
|
4294
|
-
*
|
|
4345
|
+
* @enum
|
|
4295
4346
|
*/
|
|
4296
|
-
|
|
4347
|
+
declare const _LegendLayout: {
|
|
4348
|
+
/**
|
|
4349
|
+
* legend가 차트 좌우에 배치되면 item들을 수직으로 배치하고,
|
|
4350
|
+
* legend가 차트 상하에 배치되면 item들을 수평으로 배치한다.
|
|
4351
|
+
*/
|
|
4352
|
+
readonly AUTO: "auto";
|
|
4353
|
+
/**
|
|
4354
|
+
* item들을 수평으로 배치한다.
|
|
4355
|
+
*/
|
|
4356
|
+
readonly HORIZONTAL: "horizontal";
|
|
4357
|
+
/**
|
|
4358
|
+
* item들을 수직으로 배치한다.
|
|
4359
|
+
*/
|
|
4360
|
+
readonly VERTICAL: "vertical";
|
|
4361
|
+
};
|
|
4362
|
+
type LegendLayout = typeof _LegendLayout[keyof typeof _LegendLayout];
|
|
4297
4363
|
/**
|
|
4298
4364
|
* @enum
|
|
4299
4365
|
*/
|
|
@@ -4488,10 +4554,23 @@ declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
|
4488
4554
|
text(): string;
|
|
4489
4555
|
}
|
|
4490
4556
|
/**
|
|
4491
|
-
* 차트 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 범례
|
|
4492
|
-
*
|
|
4493
|
-
*
|
|
4494
|
-
*
|
|
4557
|
+
* 차트 시리즈 구성을 직관적으로 이해할 수 있도록 도와주는 범례 모델.<br/>
|
|
4558
|
+
* 설정 {@link options} 모델은 {@page op.LegendOptions}이고,
|
|
4559
|
+
* {@page config.legend} 항목으로 설정한다.
|
|
4560
|
+
* ```js
|
|
4561
|
+
* const config = {
|
|
4562
|
+
* legend: {
|
|
4563
|
+
* visible: true,
|
|
4564
|
+
* location: 'right',
|
|
4565
|
+
* },
|
|
4566
|
+
* };
|
|
4567
|
+
* ```
|
|
4568
|
+
* 또, Chart.{@page rc.Chart#legend}로 모델 객체를 가져올 수 있다.
|
|
4569
|
+
* ```js
|
|
4570
|
+
* const legend = chart.legend;
|
|
4571
|
+
* legend.visible = false;
|
|
4572
|
+
* ```
|
|
4573
|
+
* visible 기본값은 undefined인데 따로 지정하지 않으면 시리즈가 둘 이상 포함돼야 범례가 표시된다.<br/>
|
|
4495
4574
|
* {@page guide.legend 범례 개요} 페이지를 참조한다.
|
|
4496
4575
|
*/
|
|
4497
4576
|
declare class Legend extends Widget<LegendOptions> {
|
|
@@ -4520,7 +4599,22 @@ interface ITooltipOwner {
|
|
|
4520
4599
|
getTooltipContext(level: TooltipScope, series: ISeries, point: DataPoint): ITooltipContext;
|
|
4521
4600
|
}
|
|
4522
4601
|
/**
|
|
4523
|
-
* Tooltip 설정
|
|
4602
|
+
* Tooltip 설정 모델.<br/>
|
|
4603
|
+
* 설정 {@link options} 모델은 {@page op.TooltipOptions}이고,
|
|
4604
|
+
* {@page config.tooltip} 항목으로 설정한다.
|
|
4605
|
+
* ```js
|
|
4606
|
+
* const config = {
|
|
4607
|
+
* tooltip: {
|
|
4608
|
+
* visible: true,
|
|
4609
|
+
* scope: 'hover',
|
|
4610
|
+
* },
|
|
4611
|
+
* };
|
|
4612
|
+
* ```
|
|
4613
|
+
* 또, Chart.{@page rc.Chart#tooltip}으로 모델 객체를 가져올 수 있다.
|
|
4614
|
+
* ```js
|
|
4615
|
+
* const tooltip = chart.tooltip;
|
|
4616
|
+
* tooltip.visible = false;
|
|
4617
|
+
* ```
|
|
4524
4618
|
*/
|
|
4525
4619
|
declare class Tooltip extends ChartItem<TooltipOptions> {
|
|
4526
4620
|
owner: ITooltipOwner;
|
|
@@ -4533,7 +4627,7 @@ declare class Tooltip extends ChartItem<TooltipOptions> {
|
|
|
4533
4627
|
private _siblings;
|
|
4534
4628
|
private _domain;
|
|
4535
4629
|
constructor(owner: ITooltipOwner);
|
|
4536
|
-
protected _doInit(): void;
|
|
4630
|
+
protected _doInit(op: TooltipOptions): void;
|
|
4537
4631
|
setTarget(series: ISeries, point: DataPoint, siblings: DataPoint[]): ITooltipContext;
|
|
4538
4632
|
getTextDomain(): IRichTextDomain;
|
|
4539
4633
|
isFollowPointer(series: ISeries): boolean;
|
|
@@ -4550,7 +4644,7 @@ declare class DataPointLabel<OP extends DataPointLabelOptions = DataPointLabelOp
|
|
|
4550
4644
|
static defaults: DataPointLabelOptions;
|
|
4551
4645
|
private _point;
|
|
4552
4646
|
_domain: IRichTextDomain;
|
|
4553
|
-
protected _doInit(): void;
|
|
4647
|
+
protected _doInit(op: OP): void;
|
|
4554
4648
|
getValue(p: DataPoint, index: number): any;
|
|
4555
4649
|
getTextDomain(p: DataPoint): IRichTextDomain;
|
|
4556
4650
|
getText(value: any): string;
|
|
@@ -4589,7 +4683,22 @@ interface IPlottingItem {
|
|
|
4589
4683
|
seriesChanged(): boolean;
|
|
4590
4684
|
}
|
|
4591
4685
|
/**
|
|
4592
|
-
* 시리즈 추세선
|
|
4686
|
+
* 시리즈 {@page https://en.wikipedia.org/wiki/Trend_line_(technical_analysis) 추세선} 모델.<br/>
|
|
4687
|
+
* 설정 {@link options} 모델은 {@page op.TrendlineOptions}이고,
|
|
4688
|
+
* {@page config.base.series.trendline} 항목으로 설정한다.
|
|
4689
|
+
* ```js
|
|
4690
|
+
* const config = {
|
|
4691
|
+
* series: {
|
|
4692
|
+
* trendline: {
|
|
4693
|
+
* type: 'logarithmic'
|
|
4694
|
+
* },
|
|
4695
|
+
* },
|
|
4696
|
+
* };
|
|
4697
|
+
* ```
|
|
4698
|
+
* 또, Chart.{@page rc.Series#trendline}로 모델 객체를 가져올 수 있다.
|
|
4699
|
+
* ```js
|
|
4700
|
+
* chart.series.trendline.type = 'logarithmic';
|
|
4701
|
+
* ```
|
|
4593
4702
|
*/
|
|
4594
4703
|
declare class Trendline extends ChartItem<TrendlineOptions> {
|
|
4595
4704
|
series: Series;
|
|
@@ -4658,10 +4767,11 @@ interface ISeries extends IPlottingItem {
|
|
|
4658
4767
|
isMarker(): boolean;
|
|
4659
4768
|
}
|
|
4660
4769
|
/**
|
|
4661
|
-
*
|
|
4770
|
+
* 차트 시리즈 모델들의 기반 클래스.<br/>
|
|
4771
|
+
* 시리즈는 {@page data}로 지정된 값들을 데이터포인트로 표시하는 차트의 핵심 구성 요소이며,
|
|
4772
|
+
* 여러 개의 연관된 시리즈들을 동시에 표시할 수 있다.<br/>
|
|
4662
4773
|
* 차트 설정의 다른 부분이나 API에 참조하기 위해서는 {@page name}을 반드시 지정해야 햔다.
|
|
4663
|
-
* 차트 생성 시
|
|
4664
|
-
* //데이터포인트 색상은 {@page pointStyleCallback}, 데이터포인트별로 지정된 색상, {@page pointColors}, {@page color} 순서대로 우선 적용된다.
|
|
4774
|
+
* 차트 생성 시 {@page config.base.series#type}을 지정하지 않으면 **'bar'** 시리즈로 생성된다.<br/>
|
|
4665
4775
|
*/
|
|
4666
4776
|
declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends ChartItem<OP> implements ISeries, IChartDataListener, ILegendSource, ITooltipContext {
|
|
4667
4777
|
static readonly LEGEND_MARKER = "rct-legend-item-marker";
|
|
@@ -4709,7 +4819,10 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4709
4819
|
private _argsPoint;
|
|
4710
4820
|
private _loaded;
|
|
4711
4821
|
_pointsChanged: boolean;
|
|
4712
|
-
protected _doInit(): void;
|
|
4822
|
+
protected _doInit(op: OP): void;
|
|
4823
|
+
protected _doInitChildren(op: {
|
|
4824
|
+
[child: string]: ChartItemOptions;
|
|
4825
|
+
}): void;
|
|
4713
4826
|
onDataValueChanged(data: DataObject, row: number, field: string, value: any, oldValue: any): void;
|
|
4714
4827
|
onDataRowUpdated(data: DataObject, row: number, oldValues: any): void;
|
|
4715
4828
|
onDataRowAdded(data: DataObject, row: number): void;
|
|
@@ -4861,7 +4974,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4861
4974
|
* ```
|
|
4862
4975
|
*
|
|
4863
4976
|
* @param p 데이터포인트 객체.
|
|
4864
|
-
* @param values 변경할
|
|
4977
|
+
* @param values 변경할 단일값, 배열, 또는 json.
|
|
4865
4978
|
* @returns 변경됐으면 true.
|
|
4866
4979
|
*/
|
|
4867
4980
|
updatePoint(p: DataPoint | string | number, props: any): boolean;
|
|
@@ -5060,6 +5173,9 @@ declare abstract class RangedSeries<OP extends RangedSeriesOptions> extends Clus
|
|
|
5060
5173
|
declare abstract class LowRangedSeries<OP extends LowRangedSeriesOptions = LowRangedSeriesOptions> extends RangedSeries<OP> {
|
|
5061
5174
|
}
|
|
5062
5175
|
/**
|
|
5176
|
+
* 시리즈그룹 모델들의 기반 클래스<br/>
|
|
5177
|
+
* 기본 {@page options 설정} 모델은 {@page opt.SeriesGroupOptions}이다.<br/>
|
|
5178
|
+
* 같은 {@page opt.SeriesOptions#type}의 여러 시리즈들을 연관지어 표시한다.
|
|
5063
5179
|
*/
|
|
5064
5180
|
declare abstract class SeriesGroup<T extends Series = Series, OP extends SeriesGroupOptions = SeriesGroupOptions> extends ChartItem<OP> implements ISeriesGroup, ITooltipContext {
|
|
5065
5181
|
static readonly type: string;
|
|
@@ -5112,6 +5228,7 @@ declare abstract class SeriesGroup<T extends Series = Series, OP extends SeriesG
|
|
|
5112
5228
|
remove(series: T): boolean;
|
|
5113
5229
|
_getVisiblePoints(): DataPoint[];
|
|
5114
5230
|
protected _doApply(options: ChartItemOptions): void;
|
|
5231
|
+
protected _doSaveArray(prop: string, value: any[]): any[];
|
|
5115
5232
|
_prepareRender(): void;
|
|
5116
5233
|
protected _doPrepareRender(chart: IChart): void;
|
|
5117
5234
|
prepareAfter(): void;
|
|
@@ -5146,15 +5263,17 @@ declare abstract class MarkerSeries<OP extends MarkerSeriesOptions = MarkerSerie
|
|
|
5146
5263
|
}
|
|
5147
5264
|
|
|
5148
5265
|
/**
|
|
5149
|
-
*
|
|
5266
|
+
* 시리즈에 연결된 데이터의 개별 값들에 대한 모델.<br/>
|
|
5267
|
+
* 실행 시간 내부적으로 자동 생성/사용/제거되므로 직접 생성할 일은 없다.
|
|
5150
5268
|
*
|
|
5151
|
-
*
|
|
5152
|
-
* isNull
|
|
5269
|
+
* //데이터포인트를 표시할 수 없는 값을 설정하면 null로 간주한다.<br/>
|
|
5270
|
+
* //isNull과 visible은 다르다.
|
|
5271
|
+
* //isNull이어도 자리를 차지한다.
|
|
5153
5272
|
*
|
|
5154
|
-
* [y]
|
|
5155
|
-
* [x, y]
|
|
5273
|
+
* //[y]
|
|
5274
|
+
* //[x, y]
|
|
5156
5275
|
*/
|
|
5157
|
-
declare class DataPoint {
|
|
5276
|
+
declare abstract class DataPoint {
|
|
5158
5277
|
index: number;
|
|
5159
5278
|
vindex: number;
|
|
5160
5279
|
x: any;
|
|
@@ -5198,10 +5317,14 @@ declare class DataPoint {
|
|
|
5198
5317
|
getTooltip(param: string): any;
|
|
5199
5318
|
initValues(): void;
|
|
5200
5319
|
/**
|
|
5320
|
+
* @internal
|
|
5321
|
+
*
|
|
5201
5322
|
* 동적으로 생성 시 animation을 위해 prev 값들을 초기화 한다.
|
|
5202
5323
|
*/
|
|
5203
5324
|
initPrev(axis: IAxis, prev: any): void;
|
|
5204
5325
|
/**
|
|
5326
|
+
* @internal
|
|
5327
|
+
*
|
|
5205
5328
|
* ValueAnimation에서 호출한다.
|
|
5206
5329
|
* 처음 생성될 때, 값이 변경될 때 모두 호출된다.
|
|
5207
5330
|
* yValue는 series.collectValues()에서 계산한다.
|
|
@@ -5213,6 +5336,7 @@ declare class DataPoint {
|
|
|
5213
5336
|
protected _readSingle(v: any): void;
|
|
5214
5337
|
protected _valuesChangd(prev: any): boolean;
|
|
5215
5338
|
}
|
|
5339
|
+
/** @internal */
|
|
5216
5340
|
declare class DataPointCollection {
|
|
5217
5341
|
protected _owner: ISeries;
|
|
5218
5342
|
private _points;
|
|
@@ -5232,6 +5356,8 @@ declare class DataPointCollection {
|
|
|
5232
5356
|
getPoints(xAxis: IAxis, yAxis: IAxis): DataPoint[];
|
|
5233
5357
|
}
|
|
5234
5358
|
/**
|
|
5359
|
+
* @internal
|
|
5360
|
+
*
|
|
5235
5361
|
* [low, high |y]
|
|
5236
5362
|
* [x, low, high | y]
|
|
5237
5363
|
*/
|
|
@@ -5254,14 +5380,14 @@ declare class RangedPoint extends DataPoint {
|
|
|
5254
5380
|
}
|
|
5255
5381
|
|
|
5256
5382
|
/**
|
|
5257
|
-
* 직선 또는 bar 형태로 축 위의 마우스 위치를 표시하는 구성 요소
|
|
5383
|
+
* 직선 또는 bar 형태로 축 위의 마우스 위치를 표시하는 구성 요소 모델.<br/>
|
|
5258
5384
|
*/
|
|
5259
5385
|
declare class Crosshair extends ChartItem<CrosshairOptions> {
|
|
5260
5386
|
axis: IAxis;
|
|
5261
5387
|
static defaults: CrosshairOptions;
|
|
5262
5388
|
private _args;
|
|
5263
5389
|
constructor(axis: IAxis);
|
|
5264
|
-
protected _doInit(): void;
|
|
5390
|
+
protected _doInit(op: CrosshairOptions): void;
|
|
5265
5391
|
/**
|
|
5266
5392
|
* 축 상에 crosshair의 정보를 표시하는 view.
|
|
5267
5393
|
*/
|
|
@@ -5317,7 +5443,7 @@ interface IAxis {
|
|
|
5317
5443
|
isBreak(pos: number): boolean;
|
|
5318
5444
|
}
|
|
5319
5445
|
/**
|
|
5320
|
-
* @
|
|
5446
|
+
* {@page Axis 축} 구성 요소들의 기반 모델<br/>
|
|
5321
5447
|
*/
|
|
5322
5448
|
declare abstract class AxisItem<OP extends AxisItemOptions> extends ChartItem<OP> {
|
|
5323
5449
|
readonly axis: Axis;
|
|
@@ -5325,6 +5451,7 @@ declare abstract class AxisItem<OP extends AxisItemOptions> extends ChartItem<OP
|
|
|
5325
5451
|
}
|
|
5326
5452
|
/**
|
|
5327
5453
|
* 축 선(line) 설정 모델.<br/>
|
|
5454
|
+
* {@page options} 모델은 {@page op.AxisLineOptions}이다.
|
|
5328
5455
|
*/
|
|
5329
5456
|
declare class AxisLine extends AxisItem<AxisLineOptions> {
|
|
5330
5457
|
static defaults: AxisLineOptions;
|
|
@@ -5332,7 +5459,8 @@ declare class AxisLine extends AxisItem<AxisLineOptions> {
|
|
|
5332
5459
|
protected _doSetSimple(src: any): boolean;
|
|
5333
5460
|
}
|
|
5334
5461
|
/**
|
|
5335
|
-
* 축 타이틀 설정
|
|
5462
|
+
* 축 타이틀 설정 모델.<br/>
|
|
5463
|
+
* {@page options} 모델은 {@page op.AxisTitleOptions}이다.
|
|
5336
5464
|
*/
|
|
5337
5465
|
declare class AxisTitle extends AxisItem<AxisTitleOptions> {
|
|
5338
5466
|
static defaults: AxisTitleOptions;
|
|
@@ -5362,26 +5490,32 @@ interface IAxisGridRow {
|
|
|
5362
5490
|
color: string;
|
|
5363
5491
|
}
|
|
5364
5492
|
/**
|
|
5365
|
-
* 축 그리드 사이에 생성된 영역 표시 설정
|
|
5493
|
+
* 축 그리드 사이에 생성된 영역 표시 설정 모델.<br/>
|
|
5494
|
+
* {@page options} 모델은 {@page op.AxisGridRowsOptions}이다.
|
|
5366
5495
|
*/
|
|
5367
5496
|
declare class AxisGridRows extends AxisItem<AxisGridRowsOptions> {
|
|
5368
5497
|
getRows(): IAxisGridRow[];
|
|
5369
5498
|
protected _doSetSimple(source: any): boolean;
|
|
5370
5499
|
}
|
|
5371
5500
|
/**
|
|
5372
|
-
* Axis tick의 위치에 수평 혹은 수직선으로 plot 영역을 구분
|
|
5501
|
+
* Axis tick의 위치에 수평 혹은 수직선으로 plot 영역을 구분 표시한다.<br/>
|
|
5373
5502
|
* {@page visible} 기본값이 undefined인데,
|
|
5374
5503
|
* visible이 undefined나 null로 지정되면, 축 위치에 따라 visible 여부가 결정된다.
|
|
5504
|
+
* {@page options} 모델은 {@page op.AxisGridOptions}이다.
|
|
5375
5505
|
*/
|
|
5376
5506
|
declare abstract class AxisGrid<OP extends AxisGridOptions = AxisGridOptions> extends AxisItem<OP> {
|
|
5377
5507
|
static defaults: AxisGridOptions;
|
|
5378
|
-
|
|
5379
|
-
|
|
5508
|
+
private _rows;
|
|
5509
|
+
protected _doInitChildren(op: {
|
|
5510
|
+
[child: string]: ChartItemOptions;
|
|
5511
|
+
}): void;
|
|
5512
|
+
get rows(): AxisGridRows;
|
|
5380
5513
|
abstract getPoints(axis: Axis, length: number): number[];
|
|
5381
5514
|
protected _isVisible(): boolean;
|
|
5382
5515
|
}
|
|
5383
5516
|
/**
|
|
5384
|
-
* 축 가이드 label 설정
|
|
5517
|
+
* 축 가이드 label 설정 모델.<br/>
|
|
5518
|
+
* {@page options} 모델은 {@page op.AxisGuideLabelOptions}이다.
|
|
5385
5519
|
*/
|
|
5386
5520
|
declare class AxisGuideLabel extends IconedText<AxisGuideLabelOptions> {
|
|
5387
5521
|
static defaults: AxisGuideLabelOptions;
|
|
@@ -5389,22 +5523,24 @@ declare class AxisGuideLabel extends IconedText<AxisGuideLabelOptions> {
|
|
|
5389
5523
|
}
|
|
5390
5524
|
/**
|
|
5391
5525
|
* 기본적으로 이 축에 연결된 모든 body에 모두 표시된다.<br/>
|
|
5392
|
-
* col, row를 지정해서 특정 body에만 표시되도록 할 수
|
|
5526
|
+
* col, row를 지정해서 특정 body에만 표시되도록 할 수 있다.<br/>
|
|
5527
|
+
* {@page options} 모델은 {@page op.AxisGuideOptions}이다.
|
|
5393
5528
|
*/
|
|
5394
5529
|
declare abstract class AxisGuide<OP extends AxisGuideOptions = AxisGuideOptions> extends AxisItem<OP> {
|
|
5395
5530
|
static defaults: AxisGuideOptions;
|
|
5396
|
-
|
|
5531
|
+
private _label;
|
|
5532
|
+
protected _doInitChildren(op: {
|
|
5533
|
+
[child: string]: ChartItemOptions;
|
|
5534
|
+
}): void;
|
|
5397
5535
|
/**
|
|
5398
|
-
* @readonly
|
|
5399
|
-
*
|
|
5400
5536
|
* label 모델.
|
|
5401
|
-
*
|
|
5402
5537
|
*/
|
|
5403
|
-
label: AxisGuideLabel;
|
|
5538
|
+
get label(): AxisGuideLabel;
|
|
5404
5539
|
canConstainedTo(row: number, col: number): boolean;
|
|
5405
5540
|
}
|
|
5406
5541
|
/**
|
|
5407
|
-
* 축에 표시되는 tick 위치와 표시 마크에 관한 설정
|
|
5542
|
+
* 축에 표시되는 tick 위치와 표시 마크에 관한 설정 모델.<br/>
|
|
5543
|
+
* {@page options} 모델은 {@page op.AxisTickOptions}이다.
|
|
5408
5544
|
*/
|
|
5409
5545
|
declare abstract class AxisTick<OP extends AxisTickOptions = AxisTickOptions> extends AxisItem<OP> {
|
|
5410
5546
|
static defaults: AxisTickOptions;
|
|
@@ -5413,6 +5549,7 @@ declare abstract class AxisTick<OP extends AxisTickOptions = AxisTickOptions> ex
|
|
|
5413
5549
|
}
|
|
5414
5550
|
/**
|
|
5415
5551
|
* 축 label 설정 모델.<br/>
|
|
5552
|
+
* {@page options} 모델은 {@page op.AxisLabelOptions}이다.
|
|
5416
5553
|
*
|
|
5417
5554
|
* //[겹치는 경우가 발생할 때]
|
|
5418
5555
|
* //1. step이 0보다 큰 값으로 설정되면 반영한다.
|
|
@@ -5444,7 +5581,8 @@ interface IAxisTick {
|
|
|
5444
5581
|
}
|
|
5445
5582
|
/**
|
|
5446
5583
|
* 축 스크롤바 모델.<br/>
|
|
5447
|
-
* 축 스크롤 상태를 표시하고, 사용자가 스크롤 범위나 위치를 변경할 수
|
|
5584
|
+
* 축 스크롤 상태를 표시하고, 사용자가 스크롤 범위나 위치를 변경할 수 있다.<br/>
|
|
5585
|
+
* {@page options} 모델은 {@page op.AxisScrollBarOptions}이다.
|
|
5448
5586
|
*/
|
|
5449
5587
|
declare class AxisScrollBar extends AxisItem<AxisScrollBarOptions> {
|
|
5450
5588
|
static defaults: AxisScrollBarOptions;
|
|
@@ -5476,8 +5614,19 @@ declare class AxisZoom {
|
|
|
5476
5614
|
declare class AxisSectorLine extends AxisLine {
|
|
5477
5615
|
}
|
|
5478
5616
|
/**
|
|
5479
|
-
* 축
|
|
5480
|
-
*
|
|
5617
|
+
* 차트 축 모델들의 기반 클래스.<br/>
|
|
5618
|
+
* {@page options} 모델은 {@page op.AxisOptions}이다.<br/>
|
|
5619
|
+
* 축은 시리즈 데이터포인트들이 표시될 위치를 지정하는 차트의 핵심 구성 요소이고,
|
|
5620
|
+
* 축 설정에 따라 같은 데이터도 다양한 배치로 표현될 수 있다.<br/>
|
|
5621
|
+
* 기본 적으로 카테고리 축과 연속 축으로 구별되며, 2차원 차트에 맞게 **x|y** 축을 구별해서 설정한다.
|
|
5622
|
+
* ```
|
|
5623
|
+
* const config = {
|
|
5624
|
+
* xAxis: {},
|
|
5625
|
+
* yAxis: {}
|
|
5626
|
+
* }
|
|
5627
|
+
* ```
|
|
5628
|
+
* 또, 방향마다 둘 이상의 축을 설정하고 각 시리즈들이 연결할 축을 다르게 설정할 수 있다.<br/>
|
|
5629
|
+
* 차트에서 축을 명식적으로 지정하지 않으면, 첫번째 시리즈에 합당한 축이 기본 생성된다.
|
|
5481
5630
|
* {@page guide.axes 축 개요} 페이지를 참조한다.
|
|
5482
5631
|
*/
|
|
5483
5632
|
declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartItem<OP> implements IAxis {
|
|
@@ -5528,18 +5677,20 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
5528
5677
|
readonly guides: AxisGuide[];
|
|
5529
5678
|
_animating(): boolean;
|
|
5530
5679
|
constructor(chart: IChart, isX: boolean);
|
|
5531
|
-
protected
|
|
5680
|
+
protected _doInitChildren(op: {
|
|
5681
|
+
[child: string]: ChartItemOptions;
|
|
5682
|
+
}): void;
|
|
5532
5683
|
_type(): string;
|
|
5533
5684
|
/**
|
|
5534
5685
|
* 축 이름.<br/>
|
|
5535
5686
|
*/
|
|
5536
5687
|
get name(): string;
|
|
5537
5688
|
/**
|
|
5538
|
-
*
|
|
5689
|
+
* 축 타이틀 모델<br/>
|
|
5539
5690
|
*/
|
|
5540
5691
|
get title(): AxisTitle;
|
|
5541
5692
|
/**
|
|
5542
|
-
*
|
|
5693
|
+
* 축 선 모델<br/>
|
|
5543
5694
|
*/
|
|
5544
5695
|
get line(): AxisLine;
|
|
5545
5696
|
/**
|
|
@@ -5548,34 +5699,31 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
5548
5699
|
*/
|
|
5549
5700
|
get sectorLine(): AxisSectorLine;
|
|
5550
5701
|
/**
|
|
5551
|
-
* tick
|
|
5702
|
+
* 축에 표시되는 tick 위치와 표시 마크에 관한 설정 모델.
|
|
5552
5703
|
*/
|
|
5553
5704
|
get tick(): AxisTick;
|
|
5554
5705
|
/**
|
|
5555
|
-
* label
|
|
5706
|
+
* 축 label 설정 모델.<br/>
|
|
5556
5707
|
*/
|
|
5557
5708
|
get label(): AxisLabel;
|
|
5558
5709
|
/**
|
|
5559
|
-
*
|
|
5560
|
-
*
|
|
5710
|
+
* 축 그리드 설정 모델.<br/>
|
|
5711
|
+
* tick의 위치에 수평 혹은 수직선으로 plot 영역을 구분 표시한다.<br/>
|
|
5561
5712
|
*/
|
|
5562
5713
|
get grid(): AxisGrid;
|
|
5563
5714
|
/**
|
|
5564
|
-
*
|
|
5715
|
+
* Crosshair 모델.<br/>
|
|
5716
|
+
* 직선 또는 bar 형태로 축 위의 마우스 위치를 표시한다.<br/>
|
|
5565
5717
|
*/
|
|
5566
5718
|
get crosshair(): Crosshair;
|
|
5567
5719
|
/**
|
|
5568
|
-
*
|
|
5720
|
+
* 축 스크롤바 모델.<br/>
|
|
5569
5721
|
*/
|
|
5570
5722
|
get scrollBar(): AxisScrollBar;
|
|
5571
5723
|
/**
|
|
5572
5724
|
* 축 방향.
|
|
5573
5725
|
*/
|
|
5574
5726
|
get xy(): 'x' | 'y';
|
|
5575
|
-
/**
|
|
5576
|
-
* x축이면 true.
|
|
5577
|
-
*/
|
|
5578
|
-
get isX(): boolean;
|
|
5579
5727
|
/**
|
|
5580
5728
|
* 시리즈 연결 여부.<br/>
|
|
5581
5729
|
* 연결된 시리즈가 하나도 없으면 true.
|
|
@@ -5864,28 +6012,19 @@ declare const _AxisLabelArrange: {
|
|
|
5864
6012
|
/**
|
|
5865
6013
|
* label들이 겹치도록 놔둔다.<br/>
|
|
5866
6014
|
* // TODO: @{link overflow} 설정이 적용된다.
|
|
5867
|
-
*
|
|
5868
|
-
* @config
|
|
5869
6015
|
*/
|
|
5870
6016
|
readonly NONE: "none";
|
|
5871
6017
|
/**
|
|
5872
6018
|
* -45도 회전시킨다.
|
|
5873
|
-
*
|
|
5874
|
-
* @config
|
|
5875
6019
|
*/
|
|
5876
6020
|
readonly ROTATE: "rotate";
|
|
5877
6021
|
/**
|
|
5878
|
-
* label들이 겹치지 않도록 건너 뛰면서
|
|
6022
|
+
* label들이 겹치지 않도록 건너 뛰면서 배치한다.
|
|
5879
6023
|
* {@page startStep}으로 지정된 step부터 배치된다.
|
|
5880
|
-
*
|
|
5881
|
-
* @config
|
|
5882
6024
|
*/
|
|
5883
6025
|
readonly STEP: "step";
|
|
5884
6026
|
/**
|
|
5885
6027
|
* label들이 겹치지 않도록 여러 줄로 나누어 배치한다.
|
|
5886
|
-
* <br>
|
|
5887
|
-
*
|
|
5888
|
-
* @config
|
|
5889
6028
|
*/
|
|
5890
6029
|
readonly ROWS: "rows";
|
|
5891
6030
|
};
|
|
@@ -5989,16 +6128,6 @@ interface AxisLabelOptions extends IconedTextOptions {
|
|
|
5989
6128
|
* label들이 본래 차지하는 공간을 초과할 때,
|
|
5990
6129
|
* label들을 재배치하는 방식을 지정한다.
|
|
5991
6130
|
*
|
|
5992
|
-
* none: label들이 겹치도록 놔둔다.<br/>
|
|
5993
|
-
*
|
|
5994
|
-
* rotate: -45도 회전시킨다.
|
|
5995
|
-
*
|
|
5996
|
-
* step: label들이 겹치지 않도록 건너 뛰면서 배치한다.<br/>
|
|
5997
|
-
* {@page startStep}으로 지정된 step부터 배치된다.
|
|
5998
|
-
*
|
|
5999
|
-
* rows: label들이 겹치지 않도록 여러 줄로 나누어 배치한다.
|
|
6000
|
-
* <br>
|
|
6001
|
-
*
|
|
6002
6131
|
* @default 'rotate'
|
|
6003
6132
|
*/
|
|
6004
6133
|
autoArrange?: AxisLabelArrange;
|
|
@@ -6693,7 +6822,7 @@ interface ContinuousAxisLabelOptions extends AxisLabelOptions {
|
|
|
6693
6822
|
* 최대한 데이터포인트들을 표시해야 하므로 'bar' 시리즈 등 너비가 있는 것들을 표시하기 위해서
|
|
6694
6823
|
* 양 끝에 공간을 추가할 수 있다. // calcPoints() 참조.
|
|
6695
6824
|
*/
|
|
6696
|
-
interface ContinuousAxisOptions extends
|
|
6825
|
+
interface ContinuousAxisOptions extends AxisOptions {
|
|
6697
6826
|
/**
|
|
6698
6827
|
* base value 위치에 표시되는 선분 설정 모델.<br/>
|
|
6699
6828
|
* 기본적으로 표시되지 않는다.
|
|
@@ -6866,7 +6995,7 @@ declare const TimeAxisType = "time";
|
|
|
6866
6995
|
* @config chart.xAxis[type=time]
|
|
6867
6996
|
* @config chart.yAxis[type=time]
|
|
6868
6997
|
*/
|
|
6869
|
-
interface TimeAxisOptions extends
|
|
6998
|
+
interface TimeAxisOptions extends ContinuousAxisOptions {
|
|
6870
6999
|
type?: typeof TimeAxisType;
|
|
6871
7000
|
/**
|
|
6872
7001
|
* @override
|
|
@@ -7004,7 +7133,7 @@ interface GaugeOptions extends GaugeBaseOptions {
|
|
|
7004
7133
|
*/
|
|
7005
7134
|
duration?: number;
|
|
7006
7135
|
}
|
|
7007
|
-
interface GaugeGroupOptions<T extends ValueGaugeOptions> extends GaugeBaseOptions {
|
|
7136
|
+
interface GaugeGroupOptions<T extends ValueGaugeOptions = ValueGaugeOptions> extends GaugeBaseOptions {
|
|
7008
7137
|
/**
|
|
7009
7138
|
* 게이지 그룹 요소들의 Options 배열.
|
|
7010
7139
|
*/
|
|
@@ -7112,12 +7241,12 @@ interface LinearGaugeBaseOptions extends ValueGaugeOptions {
|
|
|
7112
7241
|
* label 설정 모델.
|
|
7113
7242
|
*
|
|
7114
7243
|
*/
|
|
7115
|
-
label?: LinearGaugeLabelOptions;
|
|
7244
|
+
label?: LinearGaugeLabelOptions | boolean;
|
|
7116
7245
|
/**
|
|
7117
7246
|
* scale.
|
|
7118
7247
|
*
|
|
7119
7248
|
*/
|
|
7120
|
-
scale?: LinearGaugeScaleOptions;
|
|
7249
|
+
scale?: LinearGaugeScaleOptions | boolean;
|
|
7121
7250
|
}
|
|
7122
7251
|
interface LinearGaugeChildLabelOptions extends ChartItemOptions {
|
|
7123
7252
|
/**
|
|
@@ -7156,19 +7285,19 @@ interface LinearGaugeGroupBaseOptions<T extends LinearGaugeBaseOptions> extends
|
|
|
7156
7285
|
*
|
|
7157
7286
|
* @config
|
|
7158
7287
|
*/
|
|
7159
|
-
label?: LinearGaugeLabelOptions;
|
|
7288
|
+
label?: LinearGaugeLabelOptions | boolean;
|
|
7160
7289
|
/**
|
|
7161
7290
|
* 자식 게이지들의 label 표시 관련 속성 모델.
|
|
7162
7291
|
*
|
|
7163
7292
|
* @config
|
|
7164
7293
|
*/
|
|
7165
|
-
itemLabel?: LinearGaugeChildLabelOptions;
|
|
7294
|
+
itemLabel?: LinearGaugeChildLabelOptions | boolean;
|
|
7166
7295
|
/**
|
|
7167
7296
|
* scale.
|
|
7168
7297
|
*
|
|
7169
7298
|
* @config
|
|
7170
7299
|
*/
|
|
7171
|
-
scale?: LinearGaugeScaleOptions;
|
|
7300
|
+
scale?: LinearGaugeScaleOptions | boolean;
|
|
7172
7301
|
/**
|
|
7173
7302
|
* 자식 게이지들 사이의 표시 간격을 픽셀 단위로 지정한다.
|
|
7174
7303
|
*
|
|
@@ -7246,17 +7375,17 @@ interface BulletGaugeOptions extends LinearGaugeBaseOptions {
|
|
|
7246
7375
|
* 밴드.
|
|
7247
7376
|
*
|
|
7248
7377
|
*/
|
|
7249
|
-
band?: BulletGaugeBandOptions;
|
|
7378
|
+
band?: BulletGaugeBandOptions | boolean;
|
|
7250
7379
|
/**
|
|
7251
7380
|
* tarbar.
|
|
7252
7381
|
*
|
|
7253
7382
|
*/
|
|
7254
|
-
targetBar?: BulletTargetBarOptions;
|
|
7383
|
+
targetBar?: BulletTargetBarOptions | boolean;
|
|
7255
7384
|
/**
|
|
7256
7385
|
* actual bar.
|
|
7257
7386
|
*
|
|
7258
7387
|
*/
|
|
7259
|
-
valueBar?: BulletValueBarOptions;
|
|
7388
|
+
valueBar?: BulletValueBarOptions | boolean;
|
|
7260
7389
|
/**
|
|
7261
7390
|
* 목표 값.
|
|
7262
7391
|
*
|
|
@@ -7387,7 +7516,7 @@ interface CircularGaugeOptions extends ValueGaugeOptions {
|
|
|
7387
7516
|
* 게이지 중앙에 표시되는 label 설정 모델
|
|
7388
7517
|
*
|
|
7389
7518
|
*/
|
|
7390
|
-
label?: CircularGaugeLabelOptions;
|
|
7519
|
+
label?: CircularGaugeLabelOptions | boolean;
|
|
7391
7520
|
/**
|
|
7392
7521
|
* 내부 원에 적용할 스타일셋 혹은 class selector.
|
|
7393
7522
|
*
|
|
@@ -7460,7 +7589,7 @@ interface CircularGaugeGroupOptions extends GaugeGroupOptions<CircleGaugeOptions
|
|
|
7460
7589
|
*
|
|
7461
7590
|
* @config
|
|
7462
7591
|
*/
|
|
7463
|
-
label?: CircularGaugeLabelOptions;
|
|
7592
|
+
label?: CircularGaugeLabelOptions | boolean;
|
|
7464
7593
|
/**
|
|
7465
7594
|
* 내부 원에 적용할 스타일셋 혹은 class selector.
|
|
7466
7595
|
*
|
|
@@ -7532,7 +7661,7 @@ interface GaugeRangeBandOptions extends ChartItemOptions {
|
|
|
7532
7661
|
* {@page position}이 'inside'일 때만 표시될 수 있다.
|
|
7533
7662
|
*
|
|
7534
7663
|
*/
|
|
7535
|
-
rangeLabel?: GaugeRangeLabelOptions;
|
|
7664
|
+
rangeLabel?: GaugeRangeLabelOptions | boolean;
|
|
7536
7665
|
/**
|
|
7537
7666
|
* 각 range의 양 끝에 해당하는 값을 표시한다.
|
|
7538
7667
|
*
|
|
@@ -7577,13 +7706,13 @@ interface GaugeScaleOptions extends ChartItemOptions {
|
|
|
7577
7706
|
position?: 'default' | 'opposite' | 'inside';
|
|
7578
7707
|
/**
|
|
7579
7708
|
*/
|
|
7580
|
-
line?: ChartItemOptions;
|
|
7709
|
+
line?: ChartItemOptions | boolean;
|
|
7581
7710
|
/**
|
|
7582
7711
|
*/
|
|
7583
|
-
tick?: GuageScaleTickOptions;
|
|
7712
|
+
tick?: GuageScaleTickOptions | boolean;
|
|
7584
7713
|
/**
|
|
7585
7714
|
*/
|
|
7586
|
-
label?: GaugeScaleLabelOptions;
|
|
7715
|
+
label?: GaugeScaleLabelOptions | boolean;
|
|
7587
7716
|
/**
|
|
7588
7717
|
*/
|
|
7589
7718
|
steps?: number[];
|
|
@@ -7662,13 +7791,6 @@ interface CircleGaugeValueRimOptions extends CircleGaugeRimBaseOptions {
|
|
|
7662
7791
|
*/
|
|
7663
7792
|
stroked?: boolean;
|
|
7664
7793
|
}
|
|
7665
|
-
interface CircleGaugeValueMarkerOptions extends ChartItemOptions {
|
|
7666
|
-
/**
|
|
7667
|
-
* @override
|
|
7668
|
-
* @default false
|
|
7669
|
-
*/
|
|
7670
|
-
visible?: boolean;
|
|
7671
|
-
}
|
|
7672
7794
|
interface CircleGaugeHandOptions extends ChartItemOptions {
|
|
7673
7795
|
/**
|
|
7674
7796
|
* @override
|
|
@@ -7724,32 +7846,32 @@ interface CircleGaugeOptions extends CircularGaugeOptions {
|
|
|
7724
7846
|
* 게이지 본체 주변이나 내부에 값 영역들을 구분해서 표시하는 band의 모델.
|
|
7725
7847
|
*
|
|
7726
7848
|
*/
|
|
7727
|
-
band?: GaugeRangeBandOptions;
|
|
7849
|
+
band?: GaugeRangeBandOptions | boolean;
|
|
7728
7850
|
/**
|
|
7729
7851
|
* 스케일 모델.
|
|
7730
7852
|
*
|
|
7731
7853
|
*/
|
|
7732
|
-
scale?: CircleGaugeScaleOptions;
|
|
7854
|
+
scale?: CircleGaugeScaleOptions | boolean;
|
|
7733
7855
|
/**
|
|
7734
7856
|
* 게이지 배경 원호 테두리 설정 모델.
|
|
7735
7857
|
*
|
|
7736
7858
|
*/
|
|
7737
|
-
rim?: CircleGaugeRimOptions;
|
|
7859
|
+
rim?: CircleGaugeRimOptions | boolean;
|
|
7738
7860
|
/**
|
|
7739
7861
|
* 게이지의 값 원호 테두리 설정 모델.
|
|
7740
7862
|
*
|
|
7741
7863
|
*/
|
|
7742
|
-
valueRim?: CircleGaugeValueRimOptions;
|
|
7864
|
+
valueRim?: CircleGaugeValueRimOptions | boolean;
|
|
7743
7865
|
/**
|
|
7744
7866
|
* 게이지 바늘 설정 모델.
|
|
7745
7867
|
*
|
|
7746
7868
|
*/
|
|
7747
|
-
hand?: CircleGaugeHandOptions;
|
|
7869
|
+
hand?: CircleGaugeHandOptions | boolean;
|
|
7748
7870
|
/**
|
|
7749
7871
|
* 게이지 중앙에 표시되는 핀 설정 모델.
|
|
7750
7872
|
*
|
|
7751
7873
|
*/
|
|
7752
|
-
pin?: CircleGaugePinOptions;
|
|
7874
|
+
pin?: CircleGaugePinOptions | boolean;
|
|
7753
7875
|
}
|
|
7754
7876
|
declare const CircleGaugeGroupType = "circlegroup";
|
|
7755
7877
|
interface CircleGaugeGroupOptions extends CircularGaugeGroupOptions {
|
|
@@ -7884,47 +8006,47 @@ interface ClockGaugeOptions extends GaugeOptions {
|
|
|
7884
8006
|
* rim 설정 모델.
|
|
7885
8007
|
*
|
|
7886
8008
|
*/
|
|
7887
|
-
rim?: ClockGaugeRimOptions;
|
|
8009
|
+
rim?: ClockGaugeRimOptions | boolean;
|
|
7888
8010
|
/**
|
|
7889
8011
|
* 시침 설정 모델.
|
|
7890
8012
|
*
|
|
7891
8013
|
*/
|
|
7892
|
-
hourHand?: ClockGaugeHandOptions;
|
|
8014
|
+
hourHand?: ClockGaugeHandOptions | boolean;
|
|
7893
8015
|
/**
|
|
7894
8016
|
* 분침 설정 모델.
|
|
7895
8017
|
*
|
|
7896
8018
|
*/
|
|
7897
|
-
minuteHand?: ClockGaugeHandOptions;
|
|
8019
|
+
minuteHand?: ClockGaugeHandOptions | boolean;
|
|
7898
8020
|
/**
|
|
7899
8021
|
* 초침 설정 모델.
|
|
7900
8022
|
*
|
|
7901
8023
|
*/
|
|
7902
|
-
secondHand?: ClockGaugeSecondHandOptions;
|
|
8024
|
+
secondHand?: ClockGaugeSecondHandOptions | boolean;
|
|
7903
8025
|
/**
|
|
7904
8026
|
* main tick.
|
|
7905
8027
|
*
|
|
7906
8028
|
*/
|
|
7907
|
-
tick?: ClockGaugeTickOptions;
|
|
8029
|
+
tick?: ClockGaugeTickOptions | boolean;
|
|
7908
8030
|
/**
|
|
7909
8031
|
* minor tick
|
|
7910
8032
|
*
|
|
7911
8033
|
*/
|
|
7912
|
-
minorTick?: ClockGaugeTickOptions;
|
|
8034
|
+
minorTick?: ClockGaugeTickOptions | boolean;
|
|
7913
8035
|
/**
|
|
7914
8036
|
* tick label
|
|
7915
8037
|
*
|
|
7916
8038
|
*/
|
|
7917
|
-
tickLabel?: ClockGaugeTickLabelOptions;
|
|
8039
|
+
tickLabel?: ClockGaugeTickLabelOptions | boolean;
|
|
7918
8040
|
/**
|
|
7919
8041
|
* pin
|
|
7920
8042
|
*
|
|
7921
8043
|
*/
|
|
7922
|
-
pin?: ClockGaugePinOptions;
|
|
8044
|
+
pin?: ClockGaugePinOptions | boolean;
|
|
7923
8045
|
/**
|
|
7924
8046
|
* label
|
|
7925
8047
|
*
|
|
7926
8048
|
*/
|
|
7927
|
-
label?: ClockGaugeLabelOptions;
|
|
8049
|
+
label?: ClockGaugeLabelOptions | boolean;
|
|
7928
8050
|
/**
|
|
7929
8051
|
* 시계 동작 여부.
|
|
7930
8052
|
*
|
|
@@ -7946,12 +8068,12 @@ interface LinearGaugeOptions extends LinearGaugeBaseOptions {
|
|
|
7946
8068
|
* 게이지 값을 표시하는 bar 모델.
|
|
7947
8069
|
*
|
|
7948
8070
|
*/
|
|
7949
|
-
valueBar?: LinearValueBarOptions;
|
|
8071
|
+
valueBar?: LinearValueBarOptions | boolean;
|
|
7950
8072
|
/**
|
|
7951
8073
|
* 게이지 본체 주변이나 내부에 값 영역들을 구분해서 표시하는 band의 모델.
|
|
7952
8074
|
*
|
|
7953
8075
|
*/
|
|
7954
|
-
band?: GaugeRangeBandOptions;
|
|
8076
|
+
band?: GaugeRangeBandOptions | boolean;
|
|
7955
8077
|
}
|
|
7956
8078
|
declare const LinearGaugeGroupType = "lineargroup";
|
|
7957
8079
|
interface LinearGaugeGroupOptions extends LinearGaugeGroupBaseOptions<LinearGaugeOptions> {
|
|
@@ -8020,25 +8142,6 @@ interface SplitOptions extends ChartItemOptions {
|
|
|
8020
8142
|
* @config chart
|
|
8021
8143
|
*/
|
|
8022
8144
|
interface ChartConfiguration {
|
|
8023
|
-
templates?: ConfigObject;
|
|
8024
|
-
assets?: AssetOptionsType | AssetOptionsType[];
|
|
8025
|
-
options?: ChartOptionsOptions;
|
|
8026
|
-
title?: TitleOptions | string;
|
|
8027
|
-
subtitle?: SubtitleOptions | string;
|
|
8028
|
-
legend?: LegendOptions | boolean;
|
|
8029
|
-
tooltip?: TooltipOptions | boolean;
|
|
8030
|
-
series?: SeriesOptionsType | SeriesOptionsType[];
|
|
8031
|
-
xAxis?: AxisOptionsType;
|
|
8032
|
-
yAxis?: AxisOptionsType;
|
|
8033
|
-
xAxes?: AxisOptionsType | AxisOptionsType[];
|
|
8034
|
-
yAxes?: AxisOptionsType | AxisOptionsType[];
|
|
8035
|
-
split?: SplitOptions;
|
|
8036
|
-
gauges?: GaugeOptionsType | GaugeOptionsType[];
|
|
8037
|
-
gauge?: GaugeOptionsType;
|
|
8038
|
-
body?: BodyOptions;
|
|
8039
|
-
annotations?: AnnotationOptionsType | AnnotationOptionsType[];
|
|
8040
|
-
seriesNavigator?: SeriesNavigatorOptions | boolean;
|
|
8041
|
-
exporting?: ExporterOptions;
|
|
8042
8145
|
/**
|
|
8043
8146
|
* 기본 시리즈 type.<br/>
|
|
8044
8147
|
* {@page SeriesOptionsType._type}의 기본값.
|
|
@@ -8093,6 +8196,25 @@ interface ChartConfiguration {
|
|
|
8093
8196
|
*
|
|
8094
8197
|
*/
|
|
8095
8198
|
startOfWeek?: number;
|
|
8199
|
+
templates?: ConfigObject;
|
|
8200
|
+
assets?: AssetOptionsType | AssetOptionsType[];
|
|
8201
|
+
options?: ChartOptionsOptions;
|
|
8202
|
+
title?: TitleOptions | string;
|
|
8203
|
+
subtitle?: SubtitleOptions | string;
|
|
8204
|
+
legend?: LegendOptions | boolean;
|
|
8205
|
+
tooltip?: TooltipOptions | boolean;
|
|
8206
|
+
series?: SeriesOptionsType | SeriesOptionsType[];
|
|
8207
|
+
xAxis?: AxisOptionsType;
|
|
8208
|
+
yAxis?: AxisOptionsType;
|
|
8209
|
+
xAxes?: AxisOptionsType | AxisOptionsType[];
|
|
8210
|
+
yAxes?: AxisOptionsType | AxisOptionsType[];
|
|
8211
|
+
split?: SplitOptions;
|
|
8212
|
+
gauges?: GaugeOptionsType | GaugeOptionsType[];
|
|
8213
|
+
gauge?: GaugeOptionsType;
|
|
8214
|
+
body?: BodyOptions;
|
|
8215
|
+
annotations?: AnnotationOptionsType | AnnotationOptionsType[];
|
|
8216
|
+
seriesNavigator?: SeriesNavigatorOptions | boolean;
|
|
8217
|
+
exporting?: ExporterOptions;
|
|
8096
8218
|
}
|
|
8097
8219
|
|
|
8098
8220
|
declare abstract class AssetItem<T extends AssetItemOptions> {
|
|
@@ -8120,7 +8242,8 @@ declare class AssetCollection {
|
|
|
8120
8242
|
}
|
|
8121
8243
|
|
|
8122
8244
|
/**
|
|
8123
|
-
* 게이지
|
|
8245
|
+
* {@page Gauge 게이지}와 {@page GaugeGroup 게이지그룹} 모델들의 기반 클래스.<br/>
|
|
8246
|
+
* {@page options} 모델은 {@page op.GaugeBaseOptions}이다.<br/>
|
|
8124
8247
|
*/
|
|
8125
8248
|
declare abstract class GaugeBase<OP extends GaugeBaseOptions = GaugeBaseOptions> extends Widget<OP> {
|
|
8126
8249
|
static readonly type: string;
|
|
@@ -8157,7 +8280,8 @@ declare abstract class GaugeItem<OP extends ChartItemOptions> extends ChartItem<
|
|
|
8157
8280
|
constructor(gauge: GaugeBase);
|
|
8158
8281
|
}
|
|
8159
8282
|
/**
|
|
8160
|
-
* 게이지
|
|
8283
|
+
* 단일 게이지 모델들의 기반 클래스.<br/>
|
|
8284
|
+
* {@page options} 모델은 {@page op.GaugeBaseOptions}이다.<br/>
|
|
8161
8285
|
*/
|
|
8162
8286
|
declare abstract class Gauge<OP extends GaugeOptions = GaugeOptions> extends GaugeBase<OP> {
|
|
8163
8287
|
static register(...clses: typeof Gauge<GaugeOptions>[]): void;
|
|
@@ -8168,9 +8292,10 @@ declare abstract class Gauge<OP extends GaugeOptions = GaugeOptions> extends Gau
|
|
|
8168
8292
|
setGroup(group: GaugeGroup, index: number): void;
|
|
8169
8293
|
}
|
|
8170
8294
|
/**
|
|
8171
|
-
*
|
|
8172
|
-
*
|
|
8173
|
-
*
|
|
8295
|
+
* 게이지그룹 모델들의 기반 클래스<br/>
|
|
8296
|
+
* {@page options} 모델은 {@page op.GaugeBaseOptions}이다.<br/>
|
|
8297
|
+
* 같은 {@page op.GaugeOptions#type}의 여러 {@page ValueGauge 게이지}들을 연관지어 표시한다.
|
|
8298
|
+
* //TODO: 모든 자식들의 최소 최대가 포함되는 range로 구성한다.
|
|
8174
8299
|
*/
|
|
8175
8300
|
declare abstract class GaugeGroup<T extends ValueGauge = ValueGauge, OP extends GaugeGroupOptions<ValueGaugeOptions> = GaugeGroupOptions<ValueGaugeOptions>> extends GaugeBase<OP> {
|
|
8176
8301
|
static readonly gaugeType: string;
|
|
@@ -8178,6 +8303,7 @@ declare abstract class GaugeGroup<T extends ValueGauge = ValueGauge, OP extends
|
|
|
8178
8303
|
static defaults: GaugeGroupOptions<ValueGaugeOptions>;
|
|
8179
8304
|
private _gauges;
|
|
8180
8305
|
protected _visibles: T[];
|
|
8306
|
+
get gauges(): T[];
|
|
8181
8307
|
count(): number;
|
|
8182
8308
|
isEmpty(): boolean;
|
|
8183
8309
|
visibles(): T[];
|
|
@@ -8186,6 +8312,7 @@ declare abstract class GaugeGroup<T extends ValueGauge = ValueGauge, OP extends
|
|
|
8186
8312
|
getVisible(index: number): T;
|
|
8187
8313
|
calcedMinMax(): IMinMax;
|
|
8188
8314
|
protected _doApply(options: GaugeBaseOptions): void;
|
|
8315
|
+
protected _doSaveArray(prop: string, value: any[]): any[];
|
|
8189
8316
|
_prepareRender(): void;
|
|
8190
8317
|
private $_loadGauges;
|
|
8191
8318
|
private $_add;
|
|
@@ -8209,7 +8336,8 @@ declare class GaugeCollection extends ChartItemCollection<GaugeBase> {
|
|
|
8209
8336
|
private $_loadItem;
|
|
8210
8337
|
}
|
|
8211
8338
|
/**
|
|
8212
|
-
* 게이지
|
|
8339
|
+
* 단일 값을 갖는 게이지 모델들의 기반 클래스<br/>
|
|
8340
|
+
* {@page options} 모델은 {@page op.ValueGaugeOptions}이다.<br/>
|
|
8213
8341
|
*/
|
|
8214
8342
|
declare abstract class ValueGauge<OP extends ValueGaugeOptions = ValueGaugeOptions> extends Gauge<OP> {
|
|
8215
8343
|
static defaults: ValueGaugeOptions;
|
|
@@ -8222,17 +8350,26 @@ declare abstract class ValueGauge<OP extends ValueGaugeOptions = ValueGaugeOptio
|
|
|
8222
8350
|
getParam(param: string): any;
|
|
8223
8351
|
calcedMinMax(): IMinMax;
|
|
8224
8352
|
}
|
|
8353
|
+
/**
|
|
8354
|
+
* 게이지 스케일 틱 모델<br/>
|
|
8355
|
+
* {@page options} 모델은 {@page op.GaugeScaleTickOptions}이다.<br/>
|
|
8356
|
+
*/
|
|
8225
8357
|
declare class GaugeScaleTick extends ChartItem<GaugeScaleTickOptions> {
|
|
8226
8358
|
scale: GaugeScale;
|
|
8227
8359
|
static defaults: GaugeScaleTickOptions;
|
|
8228
8360
|
constructor(scale: GaugeScale);
|
|
8229
8361
|
}
|
|
8362
|
+
/**
|
|
8363
|
+
* 게이지 스케일 라벨 모델.<br/>
|
|
8364
|
+
* {@page options} 모델은 {@page op.GaugeScaleLabelOptions}이다.<br/>
|
|
8365
|
+
*/
|
|
8230
8366
|
declare class GaugeScaleLabel extends IconedText<GaugeScaleLabelOptions> {
|
|
8231
8367
|
getText(value: any): string;
|
|
8232
8368
|
getDefaultIconPos(): IconPosition;
|
|
8233
8369
|
}
|
|
8234
8370
|
/**
|
|
8235
|
-
*
|
|
8371
|
+
* 게이지 스케일 모델.<br/>
|
|
8372
|
+
* {@page options} 모델은 {@page op.GaugeScaleOptions}이다.<br/>
|
|
8236
8373
|
*/
|
|
8237
8374
|
declare abstract class GaugeScale<OP extends GaugeScaleOptions = GaugeScaleOptions> extends ChartItem<OP> {
|
|
8238
8375
|
gauge: ValueGauge | GaugeGroup;
|
|
@@ -8245,7 +8382,9 @@ declare abstract class GaugeScale<OP extends GaugeScaleOptions = GaugeScaleOptio
|
|
|
8245
8382
|
_min: number;
|
|
8246
8383
|
_max: number;
|
|
8247
8384
|
constructor(gauge: ValueGauge | GaugeGroup);
|
|
8248
|
-
protected
|
|
8385
|
+
protected _doInitChildren(op: {
|
|
8386
|
+
[child: string]: ChartItemOptions;
|
|
8387
|
+
}): void;
|
|
8249
8388
|
/**
|
|
8250
8389
|
* @config
|
|
8251
8390
|
*/
|
|
@@ -8278,15 +8417,15 @@ declare abstract class GaugeScale<OP extends GaugeScaleOptions = GaugeScaleOptio
|
|
|
8278
8417
|
protected _getStepsByPixels(length: number, pixels: number, min: number, max: number): number[];
|
|
8279
8418
|
}
|
|
8280
8419
|
/**
|
|
8281
|
-
*
|
|
8420
|
+
* 게이지 range 라벨 모델.<br/>
|
|
8421
|
+
* {@page options} 모델은 {@page op.GaugeRangeLabelOptions}이다.<br/>
|
|
8282
8422
|
*/
|
|
8283
8423
|
declare class GaugeRangeLabel extends ChartItem<GaugeRangeLabelOptions> {
|
|
8284
8424
|
static defaults: GaugeRangeLabelOptions;
|
|
8285
8425
|
}
|
|
8286
8426
|
/**
|
|
8287
|
-
* 게이지 밴드
|
|
8288
|
-
*
|
|
8289
|
-
* @config
|
|
8427
|
+
* 게이지 밴드 모델.<br/>
|
|
8428
|
+
* {@page options} 모델은 {@page op.GaugeRangeBandOptions}이다.<br/>
|
|
8290
8429
|
*/
|
|
8291
8430
|
declare class GaugeRangeBand extends ChartItem<GaugeRangeBandOptions> {
|
|
8292
8431
|
gauge: ValueGauge | GaugeGroup;
|
|
@@ -8298,7 +8437,9 @@ declare class GaugeRangeBand extends ChartItem<GaugeRangeBandOptions> {
|
|
|
8298
8437
|
private _runRanges;
|
|
8299
8438
|
private _thicknessDim;
|
|
8300
8439
|
constructor(gauge: ValueGauge | GaugeGroup);
|
|
8301
|
-
protected
|
|
8440
|
+
protected _doInitChildren(op: {
|
|
8441
|
+
[child: string]: ChartItemOptions;
|
|
8442
|
+
}): void;
|
|
8302
8443
|
/**
|
|
8303
8444
|
* {@page position}이 'inside'일 때만 표시될 수 있다.
|
|
8304
8445
|
*
|
|
@@ -8316,15 +8457,27 @@ declare class GaugeRangeBand extends ChartItem<GaugeRangeBandOptions> {
|
|
|
8316
8457
|
protected _doApply(options: GaugeRangeBandOptions): void;
|
|
8317
8458
|
private $_internalRanges;
|
|
8318
8459
|
}
|
|
8460
|
+
/**
|
|
8461
|
+
* 게이지 라벨 모델.<br/>
|
|
8462
|
+
* {@page options} 모델은 {@page op.GaugeLabelOptions}이다.<br/>
|
|
8463
|
+
*/
|
|
8319
8464
|
declare abstract class GaugeLabel<OP extends GaugeLabelOptions = GaugeLabelOptions> extends ChartText<OP> {
|
|
8320
8465
|
static defaults: GaugeLabelOptions;
|
|
8321
8466
|
_domain: IRichTextDomain;
|
|
8322
8467
|
protected _doPrepareRender(chart: IChart): void;
|
|
8323
8468
|
}
|
|
8469
|
+
/**
|
|
8470
|
+
* {@page LinearGauge} 스케일 모델.<br/>
|
|
8471
|
+
* {@page options} 모델은 {@page op.LinearGaugeScaleOptions}이다.<br/>
|
|
8472
|
+
*/
|
|
8324
8473
|
declare class LinearGaugeScale extends GaugeScale<LinearGaugeScaleOptions> {
|
|
8325
8474
|
_vertical: boolean;
|
|
8326
8475
|
_reversed: boolean;
|
|
8327
8476
|
}
|
|
8477
|
+
/**
|
|
8478
|
+
* {@page CircularGaugeLabel} 라벨 모델.<br/>
|
|
8479
|
+
* {@page options} 모델은 {@page op.CircularGaugeLabelOptions}이다.<br/>
|
|
8480
|
+
*/
|
|
8328
8481
|
declare class CircularGaugeLabel extends GaugeLabel<CircularGaugeLabelOptions> {
|
|
8329
8482
|
static defaults: CircularGaugeLabelOptions;
|
|
8330
8483
|
private _offsetX;
|
|
@@ -8382,7 +8535,8 @@ declare class CircularProps {
|
|
|
8382
8535
|
prepareAngles(startAngle: number, sweepAngle: number): void;
|
|
8383
8536
|
}
|
|
8384
8537
|
/**
|
|
8385
|
-
* 원형 게이지
|
|
8538
|
+
* 원형 게이지 모델.<br/>
|
|
8539
|
+
* {@page options} 모델은 {@page op.CircularGaugeOptions}이다.<br/>
|
|
8386
8540
|
* label의 기본 위치의 x는 원호의 좌위 최대 각 위치를 연결한 지점,
|
|
8387
8541
|
* y는 중심 각도의 위치.
|
|
8388
8542
|
*/
|
|
@@ -8394,7 +8548,10 @@ declare abstract class CircularGauge<OP extends CircularGaugeOptions = CircularG
|
|
|
8394
8548
|
private _label;
|
|
8395
8549
|
_props: CircularProps;
|
|
8396
8550
|
_childProps: CircularProps;
|
|
8397
|
-
protected _doInit(): void;
|
|
8551
|
+
protected _doInit(op: OP): void;
|
|
8552
|
+
protected _doInitChildren(op: {
|
|
8553
|
+
[child: string]: ChartItemOptions;
|
|
8554
|
+
}): void;
|
|
8398
8555
|
/**
|
|
8399
8556
|
* label.
|
|
8400
8557
|
*/
|
|
@@ -8414,7 +8571,10 @@ declare abstract class CircularGaugeGroup<T extends CircularGauge = CircularGaug
|
|
|
8414
8571
|
static defaults: CircularGaugeGroupOptions;
|
|
8415
8572
|
private _label;
|
|
8416
8573
|
props: CircularProps;
|
|
8417
|
-
protected _doInit(): void;
|
|
8574
|
+
protected _doInit(op: OP): void;
|
|
8575
|
+
protected _doInitChildren(op: {
|
|
8576
|
+
[child: string]: ChartItemOptions;
|
|
8577
|
+
}): void;
|
|
8418
8578
|
/**
|
|
8419
8579
|
* 게이지 중앙에 표시되는 label 설정 모델
|
|
8420
8580
|
*
|
|
@@ -8439,15 +8599,30 @@ interface IPolar {
|
|
|
8439
8599
|
rd: number;
|
|
8440
8600
|
}
|
|
8441
8601
|
/**
|
|
8442
|
-
* 시리즈 및 게이지들이
|
|
8443
|
-
* 설정
|
|
8602
|
+
* 시리즈 및 게이지들이 표시되는 영역 모델.<br/>
|
|
8603
|
+
* 설정 {@link options} 모델은 {@page op.BodyOptions}이고,
|
|
8604
|
+
* {@page config.body} 항목으로 설정한다.
|
|
8605
|
+
* ```js
|
|
8606
|
+
* const config = {
|
|
8607
|
+
* body: {
|
|
8608
|
+
* radius: '50%',
|
|
8609
|
+
* },
|
|
8610
|
+
* };
|
|
8611
|
+
* ```
|
|
8612
|
+
* 또, Chart.{@page rc.Chart#body}로 모델 객체를 가져올 수 있다.
|
|
8613
|
+
* ```js
|
|
8614
|
+
* const body = chart.body;
|
|
8615
|
+
* body.radius = '50%';
|
|
8616
|
+
* ```
|
|
8444
8617
|
*/
|
|
8445
8618
|
declare class Body<OP extends BodyOptions = BodyOptions> extends ChartItem<OP> implements IAnnotationOwner {
|
|
8446
8619
|
static defaults: BodyOptions;
|
|
8447
8620
|
private _radius;
|
|
8448
8621
|
private _centerX;
|
|
8449
8622
|
private _centerY;
|
|
8450
|
-
private
|
|
8623
|
+
private _image;
|
|
8624
|
+
private _zoomButton;
|
|
8625
|
+
_annotations: AnnotationCollection;
|
|
8451
8626
|
private _radiusDim;
|
|
8452
8627
|
private _centerXDim;
|
|
8453
8628
|
private _centerYDim;
|
|
@@ -8455,10 +8630,12 @@ declare class Body<OP extends BodyOptions = BodyOptions> extends ChartItem<OP> i
|
|
|
8455
8630
|
private _cx;
|
|
8456
8631
|
private _cy;
|
|
8457
8632
|
constructor(chart: IChart);
|
|
8458
|
-
protected
|
|
8633
|
+
protected _doInitChildren(op: {
|
|
8634
|
+
[child: string]: ChartItemOptions;
|
|
8635
|
+
}): void;
|
|
8459
8636
|
anchorByName(name: string): ChartItem;
|
|
8460
|
-
image: BackgroundImage;
|
|
8461
|
-
zoomButton: ZoomButton;
|
|
8637
|
+
get image(): BackgroundImage;
|
|
8638
|
+
get zoomButton(): ZoomButton;
|
|
8462
8639
|
base(): Body;
|
|
8463
8640
|
canZoom(): boolean;
|
|
8464
8641
|
getRadius(width: number, height: number): number;
|
|
@@ -8486,23 +8663,37 @@ declare class NavigatorMask extends ChartItem<NavigiatorMaskOptions> {
|
|
|
8486
8663
|
}
|
|
8487
8664
|
/**
|
|
8488
8665
|
* 시리즈 내비게이터 모델.<br/>
|
|
8489
|
-
* 내비게이터에 표시되는 시리즈는 기본적으로 'area' 시리즈로 표시되지만,
|
|
8490
|
-
* 'line'
|
|
8666
|
+
* 내비게이터에 표시되는 시리즈는 기본적으로 **'area'** 시리즈로 표시되지만,
|
|
8667
|
+
* **'line'**, **'area'**, **'bar'** 시리즈로 지정할 수도 있다.<br/>
|
|
8491
8668
|
* 내비게이터의 x축 종류는 명시적으로 설정하지 않으면 소스 시리즈의 x축 type을 따라간다.
|
|
8492
|
-
* y축은 항상 'linear'
|
|
8669
|
+
* y축은 항상 **'linear'**로 생성된다.
|
|
8493
8670
|
*/
|
|
8494
8671
|
declare class SeriesNavigator extends ChartItem<SeriesNavigatorOptions> {
|
|
8495
8672
|
static defaults: SeriesNavigatorOptions;
|
|
8673
|
+
private _handle;
|
|
8674
|
+
private _mask;
|
|
8675
|
+
private _borderLine;
|
|
8496
8676
|
private _source;
|
|
8497
8677
|
_naviChart: IChart;
|
|
8498
8678
|
_dataChanged: boolean;
|
|
8499
8679
|
_vertical: boolean;
|
|
8500
8680
|
private _chartConfig;
|
|
8501
8681
|
private _axisType;
|
|
8502
|
-
protected
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8682
|
+
protected _doInitChildren(op: {
|
|
8683
|
+
[child: string]: ChartItemOptions;
|
|
8684
|
+
}): void;
|
|
8685
|
+
/**
|
|
8686
|
+
* 핸들 모델.
|
|
8687
|
+
*/
|
|
8688
|
+
get handle(): NavigiatorHandle;
|
|
8689
|
+
/**
|
|
8690
|
+
* 마스크 모델.
|
|
8691
|
+
*/
|
|
8692
|
+
get mask(): NavigatorMask;
|
|
8693
|
+
/**
|
|
8694
|
+
* 경계선 설정 모델.
|
|
8695
|
+
*/
|
|
8696
|
+
get borderLine(): ChartItem<ChartItemOptions>;
|
|
8506
8697
|
getThickness(): number;
|
|
8507
8698
|
getGap(): number;
|
|
8508
8699
|
getGapFar(): number;
|
|
@@ -8523,12 +8714,24 @@ declare class PaneBody extends Body<PaneBodyOptions$1> {
|
|
|
8523
8714
|
declare class Pane extends ChartItem<PaneOptions> {
|
|
8524
8715
|
row: number;
|
|
8525
8716
|
col: number;
|
|
8717
|
+
private _body;
|
|
8526
8718
|
constructor(chart: IChart, row: number, col: number);
|
|
8527
|
-
protected
|
|
8719
|
+
protected _doInitChildren(op: {
|
|
8720
|
+
[child: string]: ChartItemOptions;
|
|
8721
|
+
}): void;
|
|
8722
|
+
/**
|
|
8723
|
+
* Body 모델.
|
|
8724
|
+
*/
|
|
8725
|
+
get body(): PaneBody;
|
|
8726
|
+
/**
|
|
8727
|
+
*/
|
|
8528
8728
|
width: number;
|
|
8729
|
+
/**
|
|
8730
|
+
*/
|
|
8529
8731
|
height: number;
|
|
8732
|
+
/**
|
|
8733
|
+
*/
|
|
8530
8734
|
inverted: boolean;
|
|
8531
|
-
body: PaneBody;
|
|
8532
8735
|
_prepareRender(): void;
|
|
8533
8736
|
}
|
|
8534
8737
|
/**
|
|
@@ -8589,7 +8792,22 @@ declare class Split extends ChartItem<SplitOptions> {
|
|
|
8589
8792
|
|
|
8590
8793
|
/**
|
|
8591
8794
|
* 차트 제목(title) 모델.<br/>
|
|
8592
|
-
*
|
|
8795
|
+
* 설정 {@link options} 모델은 {@page op.TitleOptions}이고,
|
|
8796
|
+
* {@page config.title} 항목으로 설정한다.<br/>
|
|
8797
|
+
* ```js
|
|
8798
|
+
* const config = {
|
|
8799
|
+
* title: {
|
|
8800
|
+
* visible: true,
|
|
8801
|
+
* text: 'Chart Title',
|
|
8802
|
+
* },
|
|
8803
|
+
* };
|
|
8804
|
+
* ```
|
|
8805
|
+
* 또, Chart.{@page rc.Chart#title}로 모델 객체를 가져올 수 있다.
|
|
8806
|
+
* ```js
|
|
8807
|
+
* const title = chart.title;
|
|
8808
|
+
* legend.text = 'Chart Title';
|
|
8809
|
+
* ```
|
|
8810
|
+
* 기본적으로 차트 중앙 상단에 표시되지만 {@page config.title#align}, {@page config.title#verticalAlign} 등으로 위치를 변경할 수 있다.<br/>
|
|
8593
8811
|
* {@page guide.title 타이틀 개요} 페이지를 참조한다.
|
|
8594
8812
|
*/
|
|
8595
8813
|
declare class Title<OP extends TitleOptions = TitleOptions> extends ChartItem<OP> {
|
|
@@ -8600,6 +8818,21 @@ declare class Title<OP extends TitleOptions = TitleOptions> extends ChartItem<OP
|
|
|
8600
8818
|
/**
|
|
8601
8819
|
* 차트 부제목(subtitle) 설정 모델.<br/>
|
|
8602
8820
|
* 기본적으로 주 제목(title)의 설정을 따르고, 몇가지 속성들이 추가된다.<br/>
|
|
8821
|
+
* 설정 {@page options} 모델은 {@page op.SubtitleOptions}이고,
|
|
8822
|
+
* {@page config.subtitle} 항목으로 설정한다.<br/>
|
|
8823
|
+
* ```js
|
|
8824
|
+
* const config = {
|
|
8825
|
+
* subtitle: {
|
|
8826
|
+
* visible: true,
|
|
8827
|
+
* text: 'Sub-Title',
|
|
8828
|
+
* },
|
|
8829
|
+
* };
|
|
8830
|
+
* ```
|
|
8831
|
+
* 또, Chart.{@page rc.Chart#subtitle}로 모델 객체를 가져올 수 있다.
|
|
8832
|
+
* ```js
|
|
8833
|
+
* const title = chart.title;
|
|
8834
|
+
* legend.text = 'Sub-Title';
|
|
8835
|
+
* ```
|
|
8603
8836
|
* {@page guide.subtitle 부제목 개요} 페이지를 참조한다.
|
|
8604
8837
|
*/
|
|
8605
8838
|
declare class Subtitle extends Title<SubtitleOptions> {
|
|
@@ -8675,39 +8908,27 @@ declare class Credits extends ChartItem<CreditsOptions> {
|
|
|
8675
8908
|
*/
|
|
8676
8909
|
declare class PointHovering extends ChartItem<PointHoveringOptions> {
|
|
8677
8910
|
static defaults: PointHoveringOptions;
|
|
8678
|
-
/**
|
|
8679
|
-
* 데이터포인트 hover시 동일한 효과를 표시할 연관된 포인트들을 선택하는 범위.<br/>
|
|
8680
|
-
*/
|
|
8681
|
-
scope: PointHoverScope;
|
|
8682
|
-
/**
|
|
8683
|
-
* {@page config.series.line line},
|
|
8684
|
-
* {@page config.series.bubble bubble},
|
|
8685
|
-
* {@page config.series.scatter scatter} 시리즈처럼 marker로 표시되는 데이터포인트의 위치를 찾을 때
|
|
8686
|
-
* 데이터포인트 maker 외부로 추가되는 가상의 두께.<br/>
|
|
8687
|
-
* 0이하면 표시되는 크기로 계산된다.
|
|
8688
|
-
* 상당히 큰 크기로 지정하면 마우스가 어느 위치에 있든 마우스에 가장 가까운 marker가 찾아진다.<br/>
|
|
8689
|
-
* 물론 마우스가 실제 표시되는 marker 위에 있다면 그 것으로 결정된다.
|
|
8690
|
-
* 찾아진 데이터포인트가 마우스 아래 있는 것으로 여겨져서 hover 효과가 표시되거나 관련 이벤트가 발생한다.<br/>
|
|
8691
|
-
* 기본값은 차트에 tooltip이 표시되고 tooltip.{@page config.tooltip.followPointer}가 true이면 차트 크기보다 큰 값이 되고,
|
|
8692
|
-
* 아니면 **30** 픽셀이다.
|
|
8693
|
-
*/
|
|
8694
|
-
hintDistance: number;
|
|
8695
8911
|
getHintDistance(series: ISeries): number;
|
|
8696
8912
|
getScope(series: ISeries, p: DataPoint): PointHoverScope;
|
|
8697
8913
|
}
|
|
8698
8914
|
/**
|
|
8699
|
-
*
|
|
8915
|
+
* 차트 전역 설정 모델.
|
|
8700
8916
|
*/
|
|
8701
8917
|
declare class ChartOptions extends ChartItem<ChartOptionsOptions> {
|
|
8918
|
+
private _credits;
|
|
8919
|
+
private _pointHovering;
|
|
8702
8920
|
static defaults: ChartOptionsOptions;
|
|
8921
|
+
protected _doInitChildren(op: {
|
|
8922
|
+
[child: string]: ChartItemOptions;
|
|
8923
|
+
}): void;
|
|
8703
8924
|
/**
|
|
8704
8925
|
* 크레딧 모델.
|
|
8705
8926
|
*/
|
|
8706
|
-
|
|
8927
|
+
get credits(): Credits;
|
|
8707
8928
|
/**
|
|
8708
8929
|
* 데이터포인트에 마우수가 올라갈 때 처리하는 방식.<br/>
|
|
8709
8930
|
*/
|
|
8710
|
-
|
|
8931
|
+
get pointHovering(): PointHovering;
|
|
8711
8932
|
getXStart(axis: IAxis): number | string;
|
|
8712
8933
|
}
|
|
8713
8934
|
interface IChartEventListener {
|
|
@@ -8793,14 +9014,14 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
8793
9014
|
* false이면 직교 좌표가 표시되지 않는다.
|
|
8794
9015
|
*/
|
|
8795
9016
|
_needAxes(): boolean;
|
|
9017
|
+
/** @internal*/
|
|
8796
9018
|
_getSeries(): PlottingItemCollection;
|
|
9019
|
+
/** @internal*/
|
|
8797
9020
|
_getGauges(): GaugeCollection;
|
|
9021
|
+
/** @internal*/
|
|
8798
9022
|
_getXAxes(): AxisCollection;
|
|
9023
|
+
/** @internal*/
|
|
8799
9024
|
_getYAxes(): AxisCollection;
|
|
8800
|
-
/**
|
|
8801
|
-
* 차트 보조 요소 설정
|
|
8802
|
-
*/
|
|
8803
|
-
'@config annotation': Annotation[];
|
|
8804
9025
|
getAnnotations(): Annotation[];
|
|
8805
9026
|
isGauge(): boolean;
|
|
8806
9027
|
isPolar(): boolean;
|
|
@@ -8860,7 +9081,24 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
8860
9081
|
}
|
|
8861
9082
|
|
|
8862
9083
|
/**
|
|
8863
|
-
* Annotation
|
|
9084
|
+
* Annotation 모델들의 기반 클래스.<br/>
|
|
9085
|
+
* 설정 {@link options} 모델은 {@page op.AnnotaionOptions}이고,
|
|
9086
|
+
* {@page config.annotation} 항목으로 설정한다.
|
|
9087
|
+
* ```js
|
|
9088
|
+
* const config = {
|
|
9089
|
+
* annotation: [{
|
|
9090
|
+
* type: 'image',
|
|
9091
|
+
* name: 'image1',
|
|
9092
|
+
* }],
|
|
9093
|
+
* };
|
|
9094
|
+
* ```
|
|
9095
|
+
* 또, Chart.{@page rc.Chart.getannotation}으로
|
|
9096
|
+
* 모델 객체를 가져올 수 있다.
|
|
9097
|
+
* ```js
|
|
9098
|
+
* const annotation = chart.getAnnotation('image1');
|
|
9099
|
+
* annotation.visible = false;
|
|
9100
|
+
* ```
|
|
9101
|
+
* {@page guide.annotations Annotation 개요} 페이지를 참조한다.
|
|
8864
9102
|
*/
|
|
8865
9103
|
declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptions> extends ChartItem<OP> {
|
|
8866
9104
|
inBody: boolean;
|
|
@@ -8886,14 +9124,26 @@ declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptio
|
|
|
8886
9124
|
_type(): string;
|
|
8887
9125
|
/**
|
|
8888
9126
|
* 어노테이션 이름.<br/>
|
|
8889
|
-
*
|
|
9127
|
+
* 생성 옵션에서 설정한 후 변경하지 말아야 한다.
|
|
9128
|
+
* annotation.[name](/config/config/base/annotation#name)으로 설정한다.
|
|
8890
9129
|
*
|
|
8891
|
-
*
|
|
9130
|
+
* ```
|
|
9131
|
+
* const config = {
|
|
9132
|
+
* annotation: [{
|
|
9133
|
+
* name: 'title'
|
|
9134
|
+
* }]
|
|
9135
|
+
* };
|
|
9136
|
+
* ```
|
|
9137
|
+
*
|
|
9138
|
+
* 실행 시간에 Chart.[getAnnotation](/docs/api/classes/Chart#getannotation)으로 모델 객체에 접근하기 위해서는
|
|
9139
|
+
* 반드시 지정해야 한다.
|
|
9140
|
+
*
|
|
9141
|
+
* ```
|
|
9142
|
+
* const annotation = chart.getAnnotation('name');
|
|
9143
|
+
* annotation.visible = false;
|
|
9144
|
+
* ```
|
|
8892
9145
|
*/
|
|
8893
9146
|
get name(): string;
|
|
8894
|
-
/**
|
|
8895
|
-
* TODO: 처음 표시될 때 실행될 에니메이션 설정 정보.
|
|
8896
|
-
*/
|
|
8897
9147
|
getOffset(w: number, h: number): Point;
|
|
8898
9148
|
getSize(wDomain: number, hDomain: number): Size;
|
|
8899
9149
|
getPosition(inverted: boolean, left: number, top: number, wDomain: number, hDomain: number, width: number, height: number): Point;
|
|
@@ -8947,10 +9197,10 @@ declare class Chart {
|
|
|
8947
9197
|
*/
|
|
8948
9198
|
get options(): ChartConfiguration;
|
|
8949
9199
|
/**
|
|
9200
|
+
* 차트 데이터 셋.
|
|
8950
9201
|
*/
|
|
8951
9202
|
get data(): ChartDataCollection;
|
|
8952
9203
|
/**
|
|
8953
|
-
*
|
|
8954
9204
|
* 기본 시리즈 종류.<br/>
|
|
8955
9205
|
* 시리즈에 type을 지정하지 않으면 이 속성 type의 시리즈로 생성된다.
|
|
8956
9206
|
*
|
|
@@ -8959,7 +9209,6 @@ declare class Chart {
|
|
|
8959
9209
|
*/
|
|
8960
9210
|
get type(): string;
|
|
8961
9211
|
/**
|
|
8962
|
-
*
|
|
8963
9212
|
* 기본 게이지 종류.<br/>
|
|
8964
9213
|
* 게이지에 type을 지정하지 않으면 이 속성 type의 시리즈로 생성된다.
|
|
8965
9214
|
*
|
|
@@ -8987,18 +9236,20 @@ declare class Chart {
|
|
|
8987
9236
|
* @readonly
|
|
8988
9237
|
*/
|
|
8989
9238
|
get polar(): boolean;
|
|
8990
|
-
|
|
9239
|
+
/**
|
|
9240
|
+
* 차트 전역 속성 모델.<br/>
|
|
9241
|
+
*/
|
|
8991
9242
|
get chartOptions(): ChartOptions;
|
|
8992
9243
|
/**
|
|
8993
|
-
* 차트
|
|
9244
|
+
* 차트 제목 모델.<br/>
|
|
8994
9245
|
*/
|
|
8995
9246
|
get title(): Title;
|
|
8996
9247
|
/**
|
|
8997
|
-
* 차트 부제목
|
|
9248
|
+
* 차트 부제목 모델.<br/>
|
|
8998
9249
|
*/
|
|
8999
9250
|
get subtitle(): Subtitle;
|
|
9000
9251
|
/**
|
|
9001
|
-
*
|
|
9252
|
+
* 첫번째 시리즈 혹은 시리즈그룹.<br/>
|
|
9002
9253
|
*/
|
|
9003
9254
|
get first(): Series | SeriesGroup;
|
|
9004
9255
|
/**
|
|
@@ -9036,15 +9287,11 @@ declare class Chart {
|
|
|
9036
9287
|
*/
|
|
9037
9288
|
get split(): Split;
|
|
9038
9289
|
/**
|
|
9039
|
-
|
|
9040
|
-
get xPaneAxes(): PaneXAxisMatrix;
|
|
9041
|
-
/**
|
|
9042
|
-
*/
|
|
9043
|
-
get yPaneAxes(): PaneYAxisMatrix;
|
|
9044
|
-
/**
|
|
9290
|
+
* 시리즈 내비게이터 모델.
|
|
9045
9291
|
*/
|
|
9046
9292
|
get seriesNavigator(): SeriesNavigator;
|
|
9047
9293
|
/**
|
|
9294
|
+
* 차트 내보내기 관련 설정 모델.
|
|
9048
9295
|
*/
|
|
9049
9296
|
get exporter(): Exporter;
|
|
9050
9297
|
/**
|
|
@@ -9138,13 +9385,32 @@ declare class Chart {
|
|
|
9138
9385
|
removeSeries(series: string | Series, animate?: boolean): void;
|
|
9139
9386
|
}
|
|
9140
9387
|
/**
|
|
9141
|
-
* 차트 전용 데이터
|
|
9142
|
-
* 시리즈 {@page config.base.series#data data} 속성에 값 배열을 직접 지정하는 대신,
|
|
9143
|
-
* 이
|
|
9388
|
+
* 차트 전용 데이터 모델.<br/>
|
|
9389
|
+
* 시리즈 설정 시 {@page config.base.series#data data} 속성에 값 배열을 직접 지정하는 대신,
|
|
9390
|
+
* 이 데이터를 참조하도록 할 수 있다.
|
|
9391
|
+
*
|
|
9392
|
+
* ```js
|
|
9393
|
+
* const data = RealChart.createData({ fields: ['name', 'value'] }, [
|
|
9394
|
+
* ['name1', 341],
|
|
9395
|
+
* ['name2', 341],
|
|
9396
|
+
* ...
|
|
9397
|
+
* ]);
|
|
9398
|
+
* const config = {
|
|
9399
|
+
* series: {
|
|
9400
|
+
* type: 'line',
|
|
9401
|
+
* data,
|
|
9402
|
+
* },
|
|
9403
|
+
* }
|
|
9404
|
+
* const chart = RealChart.createChart(document, 'div', config);
|
|
9405
|
+
* ```
|
|
9406
|
+
*
|
|
9407
|
+
* 또, 시리즈에 연결된 상태에서 {@link setValue} 등으로 값들을 변경하면 시리즈에 바로 반영된다.<br/>
|
|
9408
|
+
* [주의] 이 객체의 생성자 대신 {@page RealChart.createData}를 이용해 생성해야 한다.
|
|
9144
9409
|
*/
|
|
9145
9410
|
declare class ChartData {
|
|
9146
9411
|
private _obj;
|
|
9147
9412
|
/**
|
|
9413
|
+
* @internal
|
|
9148
9414
|
* 이 생성자 대신 {@page RealChart.createData}를 이용해 생성해야 한다.
|
|
9149
9415
|
*/
|
|
9150
9416
|
constructor(options?: ChartDataOptions, rows?: any[]);
|
|
@@ -9256,7 +9522,11 @@ declare class Globals {
|
|
|
9256
9522
|
static setDebugging(debug: boolean): void;
|
|
9257
9523
|
/**
|
|
9258
9524
|
* true로 지정하면 라이브러리 내부 메시지를 출력한다.<br/>
|
|
9259
|
-
*
|
|
9525
|
+
* 기본값은 false다.
|
|
9526
|
+
*
|
|
9527
|
+
* ```js
|
|
9528
|
+
* RealChart.setLogging(true);
|
|
9529
|
+
* ```
|
|
9260
9530
|
*
|
|
9261
9531
|
* @param logging 로그 메시지 표시 여부
|
|
9262
9532
|
*/
|
|
@@ -9273,6 +9543,21 @@ declare class Globals {
|
|
|
9273
9543
|
* @param value 애니메이션 실행 여부
|
|
9274
9544
|
*/
|
|
9275
9545
|
static setAnimatable(value: boolean): void;
|
|
9546
|
+
/**
|
|
9547
|
+
* javascript 개발 환경에서 typescript 지원을 받을 수 있도록 타입이 단언된 객체를 생성한다.
|
|
9548
|
+
*
|
|
9549
|
+
* ```js
|
|
9550
|
+
* // @ts-check
|
|
9551
|
+
* const config = RealChart.configure({
|
|
9552
|
+
* ... // 작성시 코드 에디터가 타입 정보를 이용할 수 있다.
|
|
9553
|
+
* })
|
|
9554
|
+
* const chart = RealChart.createChart(documemt, 'div', config);
|
|
9555
|
+
* ```
|
|
9556
|
+
*
|
|
9557
|
+
* @param config 설정 객체.
|
|
9558
|
+
* @returns 매개 변수 객체를 그대로 리턴한다.
|
|
9559
|
+
*/
|
|
9560
|
+
static configure(config: ChartConfiguration): ChartConfiguration;
|
|
9276
9561
|
/**
|
|
9277
9562
|
* 차트 설정 모델을 기반으로 svg를 생성한 후,
|
|
9278
9563
|
* 지정된 div 엘리먼트의 유일한 자식으로 포함시킨다.\
|
|
@@ -9292,12 +9577,33 @@ declare class Globals {
|
|
|
9292
9577
|
*/
|
|
9293
9578
|
static createChart(doc: Document, container: string | HTMLDivElement, config: ChartConfiguration, animate?: boolean, callback?: () => void): Chart;
|
|
9294
9579
|
/**
|
|
9295
|
-
* 차트 시리즈에 연결할 수 있는
|
|
9580
|
+
* 차트 시리즈에 연결할 수 있는 데이터.<br/>
|
|
9296
9581
|
* 저장되는 행은 json, array 또는 단일값일 수 있다.
|
|
9297
9582
|
* 기본적으로 한 필드의 모든 행이 시리즈의 데이터로 연결되어 표시된다.
|
|
9298
9583
|
* **rows**로 전달된 배열이 초기 데이터로 저장된다.
|
|
9299
9584
|
* 이 때, rows 배열 항목들의 사본(shallow copy)이 저장되므로,
|
|
9300
|
-
* 차트 렌더링에 불필요한 값들은 최소화 해야
|
|
9585
|
+
* 차트 렌더링에 불필요한 값들은 최소화 해야 한다.<br/>
|
|
9586
|
+
*
|
|
9587
|
+
* ```js
|
|
9588
|
+
* const data = RealChart.createData({}, [
|
|
9589
|
+
* ['name1', 341],
|
|
9590
|
+
* ['name2', 341],
|
|
9591
|
+
* ...
|
|
9592
|
+
* ]);
|
|
9593
|
+
* ```
|
|
9594
|
+
*
|
|
9595
|
+
* 이렇게 생성된 데이터는 차트 생성 시 시리즈 옵션의 {@page rc.SeriesOptions#data data} 속성에 바로 지정할 수 있다.
|
|
9596
|
+
*
|
|
9597
|
+
* ```js
|
|
9598
|
+
* const config = {
|
|
9599
|
+
* series: {
|
|
9600
|
+
* type: 'line',
|
|
9601
|
+
* data,
|
|
9602
|
+
* },
|
|
9603
|
+
* }
|
|
9604
|
+
* ```
|
|
9605
|
+
*
|
|
9606
|
+
* 또, 시리즈에 연결된 data의 값들을 변경하면 시리즈에 바로 반영된다.
|
|
9301
9607
|
*
|
|
9302
9608
|
* @param options 데이터 생성 옵션들.
|
|
9303
9609
|
* @param rows 행 목록. 각 행은 json, array 또는 단일값일 수 있다.
|
|
@@ -9306,42 +9612,37 @@ declare class Globals {
|
|
|
9306
9612
|
static createData(options?: ChartDataOptions, rows?: any[]): ChartData;
|
|
9307
9613
|
}
|
|
9308
9614
|
|
|
9615
|
+
/**
|
|
9616
|
+
* 카테고리축의 tick 모델.<br/>
|
|
9617
|
+
* {@page options} 모델은 {@page op.CategoryAxisTickOptions}이다.
|
|
9618
|
+
*/
|
|
9309
9619
|
declare class CategoryAxisTick extends AxisTick<CategoryAxisTickOptions> {
|
|
9310
9620
|
static defaults: CategoryAxisTickOptions;
|
|
9311
9621
|
getPosition(): CategoryTickPosition;
|
|
9312
9622
|
}
|
|
9313
9623
|
/**
|
|
9314
|
-
*
|
|
9624
|
+
* @internal
|
|
9625
|
+
*
|
|
9626
|
+
* 카테고리축의 라벨 모델.<br/>
|
|
9627
|
+
* {@page options} 모델은 {@page op.AxisLabelOptions}이다.
|
|
9315
9628
|
*/
|
|
9316
9629
|
declare class CategoryAxisLabel extends AxisLabel<AxisLabelOptions> {
|
|
9317
9630
|
getTick(index: number, v: any): string;
|
|
9318
9631
|
getIcon(tick: IAxisTick): string;
|
|
9319
9632
|
}
|
|
9633
|
+
/**
|
|
9634
|
+
* @internal
|
|
9635
|
+
*
|
|
9636
|
+
* 카테고리축의 grid 모델.<br/>
|
|
9637
|
+
* {@page options} 모델은 {@page op.AxisGridOptions}이다.
|
|
9638
|
+
*/
|
|
9320
9639
|
declare class CategoryAxisGrid extends AxisGrid<AxisGridOptions> {
|
|
9321
9640
|
getPoints(axis: CategoryAxis): number[];
|
|
9322
9641
|
}
|
|
9323
9642
|
/**
|
|
9324
|
-
*
|
|
9325
|
-
*
|
|
9326
|
-
*
|
|
9327
|
-
* 기본적으로 개별 카테고리의 너비(간격)나 카테고리들 사이의 순서는 의미가 없다.
|
|
9328
|
-
* 즉, 카테고리가 위치한 축 값(숫자)이 data로서는 별 의미가 없는 경우에 사용한다.
|
|
9329
|
-
* 축 상에 데이터포인트가 존재하지 않는 영역이 존재하게 된다면 선형 축을 고려해야 한다.
|
|
9330
|
-
* (데이터포인트가 없은 영역을 자동으로 없애지는 않는다.)<br/>
|
|
9331
|
-
* 반대로, 선형(linear, time, log) 축들은 축 값이 의미있는 data이므로,
|
|
9332
|
-
* 축 값은 연속되고 데이터포인트가 없는 영역 또한 그 자체로 의미가 있다.<br/>
|
|
9333
|
-
* // TODO: 그렇기 때문에, 카테고리를 정렬(sort)할 수 있다. (ex. 첫번째 시리즈 y값을 기준으로...). 필터링?
|
|
9334
|
-
* 또, 축 label에 카테고리를 대표하는 이름을 표시할 필요한 경우 먼저 카테고리 축을 고려해야 한다.
|
|
9335
|
-
*
|
|
9336
|
-
* //1. categories 속성으로 카테고리 목록을 구성한다.
|
|
9337
|
-
* //2. 이 축에 연결된 시리즈들에 포함된 data point들의 문자열인 값들, 혹은 categoryField에 해당하는 값들을 수집한다.
|
|
9338
|
-
* // 수집된 category들 중 숫자가 아닌 것들은 {@page startValue}부터 시작해서 {@page valueStep} 속성에 지정된 값씩 차례대로 증가한 값을 갖게된다.
|
|
9339
|
-
* //3. 각 카테고리 영역의 크기는 기본적으로 동일하게 배분되고,
|
|
9340
|
-
* // 카테고리 영역 중간점이 카테고리 값의 위치가 된다.
|
|
9341
|
-
* // {@page categories} 속성으로 카테고리를 지정할 때, 상대적 크기를 width로 지정해서 각 카테고리의 값을 다르게 표시할 수 있다.
|
|
9342
|
-
* //4. tick mark나 label은 기본적으로 카테고리 값 위치(카테고리 중앙)에 표시된다.
|
|
9343
|
-
* // tick mark는 카테고리 양끝에 표시될 수 있다.
|
|
9344
|
-
*
|
|
9643
|
+
* 카테고리축 모델<br/>
|
|
9644
|
+
* {@page op.AxisOptions#type}은 **'category'** 이고,
|
|
9645
|
+
* {@page options 설정} 모델은 {@page op.CategoryAxisOptions}이다.
|
|
9345
9646
|
*/
|
|
9346
9647
|
declare class CategoryAxis extends Axis<CategoryAxisOptions> {
|
|
9347
9648
|
static type: string;
|
|
@@ -9363,8 +9664,6 @@ declare class CategoryAxis extends Axis<CategoryAxisOptions> {
|
|
|
9363
9664
|
_pts: number[];
|
|
9364
9665
|
_tstep: number;
|
|
9365
9666
|
get tick(): CategoryAxisTick;
|
|
9366
|
-
get label(): CategoryAxisLabel;
|
|
9367
|
-
get grid(): CategoryAxisGrid;
|
|
9368
9667
|
getCategories(): string[];
|
|
9369
9668
|
xValueAt(pos: number): number;
|
|
9370
9669
|
getWdith(length: number, category: number): number;
|
|
@@ -9388,9 +9687,17 @@ declare class CategoryAxis extends Axis<CategoryAxisOptions> {
|
|
|
9388
9687
|
private $_collectCategories;
|
|
9389
9688
|
}
|
|
9390
9689
|
|
|
9690
|
+
/**
|
|
9691
|
+
* 연속축의 그리드 모델.<br/>
|
|
9692
|
+
* {@page options} 모델은 {@page op.ContinuousAxisGridOptions}이다.
|
|
9693
|
+
*/
|
|
9391
9694
|
declare class ContinuousAxisGrid extends AxisGrid<ContinuousAxisGridOptions> {
|
|
9392
9695
|
getPoints(axis: ContinuousAxis, length: number): number[];
|
|
9393
9696
|
}
|
|
9697
|
+
/**
|
|
9698
|
+
* 연속축의 tick 모델.<br/>
|
|
9699
|
+
* {@page options} 모델은 {@page op.ContinuousAxisTickOptions}이다.
|
|
9700
|
+
*/
|
|
9394
9701
|
declare class ContinuousAxisTick<OP extends ContinuousAxisTickOptions = ContinuousAxisTickOptions> extends AxisTick<OP> {
|
|
9395
9702
|
static defaults: ContinuousAxisTickOptions;
|
|
9396
9703
|
_baseAxis: Axis;
|
|
@@ -9409,22 +9716,32 @@ declare class ContinuousAxisTick<OP extends ContinuousAxisTickOptions = Continuo
|
|
|
9409
9716
|
protected _getStepMultiples(step: number): number[];
|
|
9410
9717
|
protected _getStepsByPixels(length: number, pixels: number, base: number, min: number, max: number): number[];
|
|
9411
9718
|
}
|
|
9719
|
+
/**
|
|
9720
|
+
* 연속축의 label 모델.<br/>
|
|
9721
|
+
* {@page options} 모델은 {@page op.ContinuousAxisLabelOptions}이다.
|
|
9722
|
+
*/
|
|
9412
9723
|
declare abstract class ContinuousAxisLabel<OP extends ContinuousAxisLabelOptions = ContinuousAxisLabelOptions> extends AxisLabel<OP> {
|
|
9413
9724
|
static defaults: ContinuousAxisLabelOptions;
|
|
9414
9725
|
}
|
|
9726
|
+
/**
|
|
9727
|
+
* 선형축의 label 모델.<br/>
|
|
9728
|
+
* {@page options} 모델은 {@page op.LinearAxisLabelOptions}이다.
|
|
9729
|
+
*/
|
|
9415
9730
|
declare class LinearAxisLabel extends ContinuousAxisLabel<LinearAxisLabelOptions> {
|
|
9416
9731
|
static defaults: LinearAxisLabelOptions;
|
|
9417
9732
|
getTick(index: number, v: any): string;
|
|
9418
9733
|
}
|
|
9419
9734
|
/**
|
|
9735
|
+
* 선형축의 berak 모델.<br/>
|
|
9736
|
+
* {@page options} 모델은 {@page op.AxisBreakOptions}이다.<br/>
|
|
9420
9737
|
* from에서 to 이전까지의 값은 from으로 표시된다.
|
|
9421
|
-
* space는 break line 등을 표시하기 위한
|
|
9738
|
+
* space는 break line 등을 표시하기 위한 공간이다.
|
|
9422
9739
|
*
|
|
9423
|
-
* 1. to가 from보다 커야 한다.
|
|
9424
|
-
* 2. ratio가 0보다 크고 1보다 작은 값으로 반드시 설정돼야 한다.
|
|
9425
|
-
* 3. 이전 break의 ratio보다 큰 값으로 설정돼야 한다.
|
|
9426
|
-
* 4. 1, 2, 3 중 하나라도 위반하면 병합에서 제외시킨다.
|
|
9427
|
-
* 5. 이전 범위와 겹치면 병합된다.
|
|
9740
|
+
* //1. to가 from보다 커야 한다.
|
|
9741
|
+
* //2. ratio가 0보다 크고 1보다 작은 값으로 반드시 설정돼야 한다.
|
|
9742
|
+
* //3. 이전 break의 ratio보다 큰 값으로 설정돼야 한다.
|
|
9743
|
+
* //4. 1, 2, 3 중 하나라도 위반하면 병합에서 제외시킨다.
|
|
9744
|
+
* //5. 이전 범위와 겹치면 병합된다.
|
|
9428
9745
|
*/
|
|
9429
9746
|
declare class AxisBreak extends AxisItem<AxisBreakOptions> {
|
|
9430
9747
|
static defaults: AxisBreakOptions;
|
|
@@ -9441,19 +9758,22 @@ interface IAxisBreakSect {
|
|
|
9441
9758
|
}
|
|
9442
9759
|
/**
|
|
9443
9760
|
* 연속 축의 {@page config.yAxis.linear#baseValue} 위치에 표시되는 선 설정 모델.<br/>
|
|
9761
|
+
* {@page options} 모델은 {@page op.AxisBaseLineOptions}이다.<br/>
|
|
9444
9762
|
* 기본적으로 표시되지 않는다.
|
|
9445
9763
|
*/
|
|
9446
9764
|
declare class AxisBaseLine extends AxisLine {
|
|
9447
9765
|
static defaults: AxisBaseLineOptions;
|
|
9448
9766
|
}
|
|
9449
9767
|
/**
|
|
9450
|
-
*
|
|
9768
|
+
* 연속축 모델들의 기반 클래스.<br/>
|
|
9769
|
+
* {@page options} 모델은 {@page op.ContinuousAxisOptions}이다.<br/>
|
|
9451
9770
|
*
|
|
9452
9771
|
* 최대한 데이터포인트들을 표시해야 하므로 'bar' 시리즈 등 너비가 있는 것들을 표시하기 위해서
|
|
9453
9772
|
* 양 끝에 공간을 추가할 수 있다. // calcPoints() 참조.
|
|
9454
9773
|
*/
|
|
9455
9774
|
declare abstract class ContinuousAxis<OP extends ContinuousAxisOptions = ContinuousAxisOptions> extends Axis<OP> {
|
|
9456
9775
|
static defaults: ContinuousAxisOptions;
|
|
9776
|
+
private _baseLine;
|
|
9457
9777
|
private _baseVal;
|
|
9458
9778
|
private _unitLen;
|
|
9459
9779
|
_calcedMin: number;
|
|
@@ -9465,14 +9785,16 @@ declare abstract class ContinuousAxis<OP extends ContinuousAxisOptions = Continu
|
|
|
9465
9785
|
private _runBreaks;
|
|
9466
9786
|
private _sects;
|
|
9467
9787
|
private _lastSect;
|
|
9468
|
-
protected
|
|
9788
|
+
protected _doInitChildren(op: {
|
|
9789
|
+
[child: string]: ChartItemOptions;
|
|
9790
|
+
}): void;
|
|
9469
9791
|
/**
|
|
9470
9792
|
* base value 위치에 표시되는 선분 설정 모델.<br/>
|
|
9471
9793
|
* 기본적으로 표시되지 않는다.
|
|
9472
9794
|
*
|
|
9473
9795
|
* @config
|
|
9474
9796
|
*/
|
|
9475
|
-
baseLine: AxisBaseLine;
|
|
9797
|
+
get baseLine(): AxisBaseLine;
|
|
9476
9798
|
/**
|
|
9477
9799
|
* @override
|
|
9478
9800
|
* @config
|
|
@@ -9485,10 +9807,8 @@ declare abstract class ContinuousAxis<OP extends ContinuousAxisOptions = Continu
|
|
|
9485
9807
|
get grid(): ContinuousAxisGrid;
|
|
9486
9808
|
getBaseValue(): number;
|
|
9487
9809
|
hasBreak(): boolean;
|
|
9488
|
-
|
|
9810
|
+
_getBreaks(): AxisBreak[];
|
|
9489
9811
|
isBreak(pos: number): boolean;
|
|
9490
|
-
getStartFit(): AxisFit;
|
|
9491
|
-
getEndFit(): AxisFit;
|
|
9492
9812
|
protected _doApply(options: AxisOptions): void;
|
|
9493
9813
|
continuous(): boolean;
|
|
9494
9814
|
contains(value: number): boolean;
|
|
@@ -9507,6 +9827,8 @@ declare abstract class ContinuousAxis<OP extends ContinuousAxisOptions = Continu
|
|
|
9507
9827
|
xValueAt(pos: number): number;
|
|
9508
9828
|
getUnitLen(length: number, value: number): number;
|
|
9509
9829
|
getLabelLength(length: number, value: number): number;
|
|
9830
|
+
private _getStartFit;
|
|
9831
|
+
private _getEndFit;
|
|
9510
9832
|
protected _adjustMinMax(length: number, min: number, max: number): {
|
|
9511
9833
|
min: number;
|
|
9512
9834
|
max: number;
|
|
@@ -9529,9 +9851,9 @@ declare abstract class ContinuousAxis<OP extends ContinuousAxisOptions = Continu
|
|
|
9529
9851
|
private $_mergeBreaks;
|
|
9530
9852
|
}
|
|
9531
9853
|
/**
|
|
9532
|
-
* 선형
|
|
9533
|
-
*
|
|
9534
|
-
*
|
|
9854
|
+
* 선형 연속축 모델.<br/>
|
|
9855
|
+
* {@page op.AxisOptions#type}은 **'linear'** 이고,
|
|
9856
|
+
* {@page options 설정} 모델은 {@page op.LinearAxisOptions}이다.
|
|
9535
9857
|
*/
|
|
9536
9858
|
declare class LinearAxis extends ContinuousAxis<LinearAxisOptions> {
|
|
9537
9859
|
static type: string;
|
|
@@ -9549,6 +9871,8 @@ declare class LinearAxis extends ContinuousAxis<LinearAxisOptions> {
|
|
|
9549
9871
|
|
|
9550
9872
|
/**
|
|
9551
9873
|
* @internal
|
|
9874
|
+
* 시간축의 tick 모델.<br/>
|
|
9875
|
+
* {@page options} 모델은 {@page op.LinearGaugeLabelOptions}이다.
|
|
9552
9876
|
*
|
|
9553
9877
|
* [주의] javascript에서 숫자값을 Date로 변환하거나, Date를 숫자로 변환할 때는 모두 new Date가 기준이 된다.
|
|
9554
9878
|
*/
|
|
@@ -9560,6 +9884,10 @@ declare class TimeAxisTick extends ContinuousAxisTick<TimeAxisTickOptions> {
|
|
|
9560
9884
|
protected _getStepsByPixels(length: number, pixels: number, base: number, min: number, max: number): number[];
|
|
9561
9885
|
protected _getStepsByInterval(interval: any, base: number, min: number, max: number): number[];
|
|
9562
9886
|
}
|
|
9887
|
+
/**
|
|
9888
|
+
* 시간축 라벨 모델.<br/>
|
|
9889
|
+
* {@page options} 모델은 {@page op.TimeAxisLabelOptions}이다.
|
|
9890
|
+
*/
|
|
9563
9891
|
declare class TimeAxisLabel extends ContinuousAxisLabel<TimeAxisLabelOptions> {
|
|
9564
9892
|
static defaults: TimeAxisLabelOptions;
|
|
9565
9893
|
private _formats;
|
|
@@ -9568,18 +9896,15 @@ declare class TimeAxisLabel extends ContinuousAxisLabel<TimeAxisLabelOptions> {
|
|
|
9568
9896
|
getTick(index: number, v: any): string;
|
|
9569
9897
|
}
|
|
9570
9898
|
/**
|
|
9571
|
-
*
|
|
9572
|
-
*
|
|
9899
|
+
* 시간축 모델.<br/>
|
|
9900
|
+
* {@page op.AxisOptions#type}은 **'time'** 이고,
|
|
9901
|
+
* {@page options 설정} 모델은 {@page op.TimeAxisOptions}이다.
|
|
9573
9902
|
*/
|
|
9574
9903
|
declare class TimeAxis extends ContinuousAxis<TimeAxisOptions> {
|
|
9575
9904
|
static type: string;
|
|
9576
9905
|
static subtype: string;
|
|
9577
9906
|
static defaults: TimeAxisOptions;
|
|
9578
9907
|
_offset: number;
|
|
9579
|
-
/**
|
|
9580
|
-
* @override
|
|
9581
|
-
*/
|
|
9582
|
-
get tick(): TimeAxisTick;
|
|
9583
9908
|
/**
|
|
9584
9909
|
* @override
|
|
9585
9910
|
*/
|
|
@@ -9595,6 +9920,10 @@ declare class TimeAxis extends ContinuousAxis<TimeAxisOptions> {
|
|
|
9595
9920
|
getXValue(value: number): number | Date;
|
|
9596
9921
|
}
|
|
9597
9922
|
|
|
9923
|
+
/**
|
|
9924
|
+
* 로그축의 tick 모델.<br/>
|
|
9925
|
+
* {@page options} 모델은 {@page op.LogAxisTickOptions}이다.
|
|
9926
|
+
*/
|
|
9598
9927
|
declare class LogAxisTick extends ContinuousAxisTick<LogAxisTickOptions> {
|
|
9599
9928
|
static defaults: LogAxisTickOptions;
|
|
9600
9929
|
canUseNumSymbols(): boolean;
|
|
@@ -9605,8 +9934,9 @@ declare class LogAxisTick extends ContinuousAxisTick<LogAxisTickOptions> {
|
|
|
9605
9934
|
_normalizeSteps(steps: number[], min: number, max: number): number[];
|
|
9606
9935
|
}
|
|
9607
9936
|
/**
|
|
9608
|
-
*
|
|
9609
|
-
*
|
|
9937
|
+
* 로그축 모델.<br/>
|
|
9938
|
+
* {@page op.AxisOptions#type}은 **'log'** 이고,
|
|
9939
|
+
* {@page options 설정} 모델은 {@page op.LogAxisOptions}이다.
|
|
9610
9940
|
*/
|
|
9611
9941
|
declare class LogAxis extends ContinuousAxis<LogAxisOptions> {
|
|
9612
9942
|
static type: string;
|
|
@@ -9657,19 +9987,22 @@ declare class LinePointLabel extends DataPointLabel<LinePointLabelOptions> {
|
|
|
9657
9987
|
getAlignOffset(): number;
|
|
9658
9988
|
}
|
|
9659
9989
|
/**
|
|
9660
|
-
* 포인트 label들은 'head', 'foot', 'inside'에 위치할 수
|
|
9990
|
+
* 포인트 label들은 'head', 'foot', 'inside'에 위치할 수 있다.<br/>
|
|
9661
9991
|
* 기본값은 'auto'('head'')이다.
|
|
9662
9992
|
* pointLabel.align으로 수평 정렬을 설정할 수있다.
|
|
9663
9993
|
*/
|
|
9664
9994
|
declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSeriesBaseOptions> extends Series<OP> {
|
|
9665
9995
|
static defaults: LineSeriesBaseOptions;
|
|
9996
|
+
private _marker;
|
|
9666
9997
|
private _shape;
|
|
9667
9998
|
_lines: PointLine[];
|
|
9668
|
-
protected
|
|
9999
|
+
protected _doInitChildren(op: {
|
|
10000
|
+
[child: string]: ChartItemOptions;
|
|
10001
|
+
}): void;
|
|
9669
10002
|
/**
|
|
9670
10003
|
* @config
|
|
9671
10004
|
*/
|
|
9672
|
-
marker: LineSeriesMarker;
|
|
10005
|
+
get marker(): LineSeriesMarker;
|
|
9673
10006
|
getShape(p: LineSeriesPoint): Shape;
|
|
9674
10007
|
getRadius(p: LineSeriesPoint): number;
|
|
9675
10008
|
/**
|
|
@@ -9703,34 +10036,18 @@ declare class LineSeriesFlag extends IconedText<LineSeriesFlagOptions> {
|
|
|
9703
10036
|
}
|
|
9704
10037
|
/**
|
|
9705
10038
|
* Line 시리즈.<br/>
|
|
9706
|
-
*
|
|
9707
|
-
*
|
|
9708
|
-
* 데이터포인트의 값에 해당하는 지점에 표시되는 데이터포인트 마커들을 연결한 선으로 표시되며,
|
|
9709
|
-
* 기본 x축은 [linear](/config/config/xAxis/linear)이다.<br/><br/>
|
|
9710
|
-
*
|
|
9711
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
9712
|
-
*
|
|
9713
|
-
* ###### 단일 값 및 값 배열
|
|
9714
|
-
* |형식|설명|
|
|
9715
|
-
* |---|---|
|
|
9716
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
9717
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
9718
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
9719
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
9720
|
-
*
|
|
9721
|
-
* ###### json 배열
|
|
9722
|
-
* |Series 속성|설명 |
|
|
9723
|
-
* |---|---|
|
|
9724
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
9725
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
9726
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10039
|
+
* {@page op.SeriesOptions#type}은 **'line'** 이고,
|
|
10040
|
+
* {@page options} 모델은 {@page op.LineSeriesOptions}이다.
|
|
9727
10041
|
*/
|
|
9728
10042
|
declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> extends LineSeriesBase<OP> {
|
|
9729
10043
|
static readonly type: string;
|
|
9730
10044
|
static defaults: LineSeriesOptions;
|
|
10045
|
+
private _flag;
|
|
9731
10046
|
private _base;
|
|
9732
|
-
protected
|
|
9733
|
-
|
|
10047
|
+
protected _doInitChildren(op: {
|
|
10048
|
+
[child: string]: ChartItemOptions;
|
|
10049
|
+
}): void;
|
|
10050
|
+
get flag(): LineSeriesFlag;
|
|
9734
10051
|
backDir(): LineStepDirection;
|
|
9735
10052
|
isMarker(): boolean;
|
|
9736
10053
|
getLineType(): LineType;
|
|
@@ -9738,8 +10055,11 @@ declare class LineSeries<OP extends LineSeriesOptions = LineSeriesOptions> exten
|
|
|
9738
10055
|
protected _doPrepareRender(): void;
|
|
9739
10056
|
}
|
|
9740
10057
|
/**
|
|
10058
|
+
* Spline 시리즈.<br/>
|
|
9741
10059
|
* {@page lineType} 설정을 무시하고 항상 'spline'으로 표시되는 것 외에는
|
|
9742
|
-
* {@page
|
|
10060
|
+
* {@page LineSeries} 시리즈와 동일하다.<br/>
|
|
10061
|
+
* {@page op.SeriesOptions#type}은 **'spline'** 이고,
|
|
10062
|
+
* {@page options 설정} 모델은 {@page op.SplineSeriesOptions}이다.
|
|
9743
10063
|
*/
|
|
9744
10064
|
declare class SplineSeries extends LineSeries<SplineSeriesOptions> {
|
|
9745
10065
|
static readonly type = "spline";
|
|
@@ -9751,29 +10071,16 @@ declare class AreaSeriesPoint extends LineSeriesPoint {
|
|
|
9751
10071
|
}
|
|
9752
10072
|
/**
|
|
9753
10073
|
* Area 시리즈.<br/>
|
|
9754
|
-
* 대부분 {@page config.series.line 'line'} 시리즈와 동일하고 라인 아래 부분을 별도의 색상으로
|
|
9755
|
-
*
|
|
9756
|
-
*
|
|
9757
|
-
*
|
|
9758
|
-
* ###### 단일 값 및 값 배열
|
|
9759
|
-
* |형식|설명|
|
|
9760
|
-
* |---|---|
|
|
9761
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
9762
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
9763
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
9764
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
9765
|
-
*
|
|
9766
|
-
* ###### json 배열
|
|
9767
|
-
* |Series 속성|설명 |
|
|
9768
|
-
* |---|---|
|
|
9769
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
9770
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
9771
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10074
|
+
* 대부분 {@page config.series.line 'line'} 시리즈와 동일하고 라인 아래 부분을 별도의 색상으로 채운다.<br/>
|
|
10075
|
+
* {@page opt.SeriesOptions#type}은 **'area'** 이고,
|
|
10076
|
+
* {@page options 설정} 모델은 {@page opt.AreaSeriesOptions}이다.
|
|
9772
10077
|
*/
|
|
9773
10078
|
declare class AreaSeries<OP extends AreaSeriesOptions = AreaSeriesOptions> extends LineSeries<OP> {
|
|
9774
10079
|
static readonly type: string;
|
|
9775
10080
|
_areas: PointLine[];
|
|
9776
|
-
protected
|
|
10081
|
+
protected _doInitChildren(op: {
|
|
10082
|
+
[child: string]: ChartItemOptions;
|
|
10083
|
+
}): void;
|
|
9777
10084
|
/**
|
|
9778
10085
|
* 미리 생성된 line들을 기준으로 area들을 생성한다.
|
|
9779
10086
|
*/
|
|
@@ -9806,31 +10113,12 @@ declare class AreaRangeSeriesPoint extends AreaSeriesPoint {
|
|
|
9806
10113
|
}
|
|
9807
10114
|
/**
|
|
9808
10115
|
* AreaRange 시리즈.<br/>
|
|
9809
|
-
*
|
|
9810
|
-
*
|
|
9811
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
9812
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
9813
|
-
*
|
|
9814
|
-
* ###### 단일 값 및 값 배열
|
|
9815
|
-
* |형식|설명|
|
|
9816
|
-
* |---|---|
|
|
9817
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
9818
|
-
* |[]|빈 배열이면 null. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
9819
|
-
* |[z]|단일 값 배열이면 low, y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
9820
|
-
* |[low, y]|두 값 배열이면 low값과 y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
9821
|
-
* |[x, low, y,]|세 값 이상이면 순서대로 x, low, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page lowField}는 low값의 index. {@page yField}는 y값의 index.|
|
|
9822
|
-
*
|
|
9823
|
-
* ###### json 배열
|
|
9824
|
-
* |Series 속성|설명|
|
|
9825
|
-
* |---|---|
|
|
9826
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
9827
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
9828
|
-
* |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
|
|
9829
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10116
|
+
* {@page op.SeriesOptions#type}은 **'arearange'** 이고,
|
|
10117
|
+
* {@page options 설정} 모델은 {@page op.AreaRangeSeriesOptions}이다.
|
|
9830
10118
|
*/
|
|
9831
|
-
declare class AreaRangeSeries extends LineSeriesBase<
|
|
10119
|
+
declare class AreaRangeSeries extends LineSeriesBase<AreaRangeSeriesOptions> {
|
|
9832
10120
|
static readonly type = "arearange";
|
|
9833
|
-
static defaults:
|
|
10121
|
+
static defaults: AreaRangeSeriesOptions;
|
|
9834
10122
|
protected _createLegendMarker(doc: Document, size: number): RcElement;
|
|
9835
10123
|
protected _createPoint(source: any): AreaRangeSeriesPoint;
|
|
9836
10124
|
getLineType(): LineType;
|
|
@@ -9838,7 +10126,7 @@ declare class AreaRangeSeries extends LineSeriesBase<ArearangeSeriesOptions> {
|
|
|
9838
10126
|
protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
|
|
9839
10127
|
}
|
|
9840
10128
|
/**
|
|
9841
|
-
*
|
|
10129
|
+
* Line 시리즈 그룹<br/>
|
|
9842
10130
|
*/
|
|
9843
10131
|
declare class LineSeriesGroup extends SeriesGroup<LineSeries, LineSeriesGroupOptions> {
|
|
9844
10132
|
static readonly type = "linegroup";
|
|
@@ -9848,7 +10136,7 @@ declare class LineSeriesGroup extends SeriesGroup<LineSeries, LineSeriesGroupOpt
|
|
|
9848
10136
|
getBaseValue(axis: IAxis): number;
|
|
9849
10137
|
}
|
|
9850
10138
|
/**
|
|
9851
|
-
*
|
|
10139
|
+
* Area 시리즈 그룹<br/>
|
|
9852
10140
|
*/
|
|
9853
10141
|
declare class AreaSeriesGroup extends SeriesGroup<AreaSeries, AreaSeriesGroupOptions> {
|
|
9854
10142
|
static readonly type = "areagroup";
|
|
@@ -9868,31 +10156,16 @@ declare abstract class BarSeriesBase<OP extends BarSeriesBaseOptions = BarSeries
|
|
|
9868
10156
|
}
|
|
9869
10157
|
/**
|
|
9870
10158
|
* Bar 시리즈.<br/>
|
|
9871
|
-
*
|
|
9872
|
-
*
|
|
9873
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [category](/config/config/xAxis/category)이다.<br/><br/>
|
|
9874
|
-
*
|
|
9875
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
9876
|
-
*
|
|
9877
|
-
* ###### 단일 값 및 값 배열
|
|
9878
|
-
* |형식|설명|
|
|
9879
|
-
* |---|---|
|
|
9880
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
9881
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
9882
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
9883
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
9884
|
-
*
|
|
9885
|
-
* ###### json 배열
|
|
9886
|
-
* |Series 속성|설명 |
|
|
9887
|
-
* |---|---|
|
|
9888
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
9889
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
9890
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10159
|
+
* {@page op.SeriesOptions#type}은 **'bar'** 이고,
|
|
10160
|
+
* {@page options 설정} 모델은 {@page op.BarSeriesOptions}이다.
|
|
9891
10161
|
*/
|
|
9892
10162
|
declare class BarSeries extends BarSeriesBase<BarSeriesOptions> {
|
|
9893
10163
|
static readonly type = "bar";
|
|
9894
10164
|
protected _createLegendMarker(doc: Document, size: number): RcElement;
|
|
9895
10165
|
}
|
|
10166
|
+
/**
|
|
10167
|
+
* {@page BarSeries}, {@page CircleBarSeires}의 그룹 기반 모델.
|
|
10168
|
+
*/
|
|
9896
10169
|
declare abstract class BarSeriesGroupBase<T extends BarSeriesBase, OP extends BarSeriesGroupBaseOptions<BarSeriesBaseOptions>> extends ClusterableSeriesGroup<T, OP> implements IClusterable {
|
|
9897
10170
|
static defaults: BarSeriesGroupBaseOptions<BarSeriesBaseOptions>;
|
|
9898
10171
|
canCategorized(): boolean;
|
|
@@ -9900,7 +10173,9 @@ declare abstract class BarSeriesGroupBase<T extends BarSeriesBase, OP extends Ba
|
|
|
9900
10173
|
protected _doPrepareSeries(series: T[]): void;
|
|
9901
10174
|
}
|
|
9902
10175
|
/**
|
|
9903
|
-
* Bar
|
|
10176
|
+
* Bar 시리즈 그룹<br/>
|
|
10177
|
+
* {@page op.SeriesOptions#type}은 **'bargroup'** 이고,
|
|
10178
|
+
* {@page options} 모델은 {@page op.BarSeriesGroupOptions}이다.
|
|
9904
10179
|
*/
|
|
9905
10180
|
declare class BarSeriesGroup extends BarSeriesGroupBase<BarSeries, BarSeriesGroupOptions> {
|
|
9906
10181
|
static readonly type = "bargroup";
|
|
@@ -9910,33 +10185,12 @@ declare class BarSeriesGroup extends BarSeriesGroupBase<BarSeries, BarSeriesGrou
|
|
|
9910
10185
|
|
|
9911
10186
|
/**
|
|
9912
10187
|
* BarRange 시리즌.<br/>
|
|
9913
|
-
*
|
|
9914
|
-
*
|
|
9915
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [category](/config/config/xAxis/category)이다.<br/><br/>
|
|
9916
|
-
*
|
|
9917
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
9918
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.<br/>
|
|
9919
|
-
*
|
|
9920
|
-
* ###### 단일 값 및 값 배열
|
|
9921
|
-
* |형식|설명|
|
|
9922
|
-
* |---|---|
|
|
9923
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
9924
|
-
* |[]|빈 배열이면 null. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
9925
|
-
* |[z]|단일 값 배열이면 low, y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
9926
|
-
* |[low, y]|두 값 배열이면 low값과 y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
9927
|
-
* |[x, low, y,]|세 값 이상이면 순서대로 x, low, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page lowField}는 low값의 index. {@page yField}는 y값의 index.|
|
|
9928
|
-
*
|
|
9929
|
-
* ###### json 배열
|
|
9930
|
-
* |Series 속성|설명|
|
|
9931
|
-
* |---|---|
|
|
9932
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
9933
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
9934
|
-
* |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
|
|
9935
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10188
|
+
* {@page op.SeriesOptions#type}은 **'barrange'** 이고,
|
|
10189
|
+
* {@page options} 모델은 {@page op.BarRangeSeriesOptions}이다.
|
|
9936
10190
|
*/
|
|
9937
|
-
declare class BarRangeSeries extends LowRangedSeries<
|
|
10191
|
+
declare class BarRangeSeries extends LowRangedSeries<BarRangeSeriesOptions> {
|
|
9938
10192
|
static readonly type: string;
|
|
9939
|
-
static defaults:
|
|
10193
|
+
static defaults: BarRangeSeriesOptions;
|
|
9940
10194
|
_lowFielder: (src: any) => any;
|
|
9941
10195
|
pointLabelCount(): number;
|
|
9942
10196
|
protected _createLegendMarker(doc: Document, size: number): RcElement;
|
|
@@ -9949,29 +10203,12 @@ declare class BellCurveSeriesPoint extends AreaSeriesPoint {
|
|
|
9949
10203
|
}
|
|
9950
10204
|
/**
|
|
9951
10205
|
* BellCurve 시리즈.<br/>
|
|
9952
|
-
* {@page
|
|
9953
|
-
* {@page
|
|
9954
|
-
*
|
|
9955
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
9956
|
-
*
|
|
9957
|
-
* ###### 단일 값 및 값 배열
|
|
9958
|
-
* |형식|설명|
|
|
9959
|
-
* |---|---|
|
|
9960
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
9961
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
9962
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
9963
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
9964
|
-
*
|
|
9965
|
-
* ###### json 배열
|
|
9966
|
-
* |Series 속성|설명 |
|
|
9967
|
-
* |---|---|
|
|
9968
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
9969
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
9970
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10206
|
+
* {@page op.SeriesOptions#type}은 **'bellcurve'** 이고,
|
|
10207
|
+
* {@page options 설정} 모델은 {@page op.BellCurveSeriesOptions}이다.
|
|
9971
10208
|
*/
|
|
9972
|
-
declare class BellCurveSeries extends AreaSeries<
|
|
10209
|
+
declare class BellCurveSeries extends AreaSeries<BellCurveSeriesOptions> {
|
|
9973
10210
|
static readonly type = "bellcurve";
|
|
9974
|
-
static defaults:
|
|
10211
|
+
static defaults: BellCurveSeriesOptions;
|
|
9975
10212
|
getLineType(): LineType;
|
|
9976
10213
|
protected _createPoint(source: any): BellCurveSeriesPoint;
|
|
9977
10214
|
protected _doLoadData(src: any): any[];
|
|
@@ -10012,34 +10249,12 @@ declare class BoxPlotSeriesPoint extends DataPoint {
|
|
|
10012
10249
|
}
|
|
10013
10250
|
/**
|
|
10014
10251
|
* {@page https://en.wikipedia.org/wiki/Box_plot BoxPlot} 시리즈.<br/>
|
|
10015
|
-
*
|
|
10016
|
-
*
|
|
10017
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10018
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
10019
|
-
*
|
|
10020
|
-
* <br/>
|
|
10021
|
-
* ###### 단일 값 및 값 배열
|
|
10022
|
-
* |형식|설명|
|
|
10023
|
-
* |---|---|
|
|
10024
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
10025
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10026
|
-
* |[min, low, mid, high, y]|형식 설명 순서대로 값 결정. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10027
|
-
* |[x, min, low, mid, high, y]|형깃 설명 순서대로 값 결정.<br/> 또는 {@page xField} 속성이 숫자이면 x값, {@page minField}는 min값,<br/> {@page lowField}는 low값, {@page midField}는 mid값,<br/> {@page highField}는 high값, {@page yField}는 y값의 index.|
|
|
10028
|
-
*
|
|
10029
|
-
* ###### json 배열
|
|
10030
|
-
* |Series 속성|설명|
|
|
10031
|
-
* |---|---|
|
|
10032
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10033
|
-
* |{@page minField}|속성 값, 또는 'min' 속성 값이 min 값이 된다.|
|
|
10034
|
-
* |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
|
|
10035
|
-
* |{@page midField}|속성 값, 또는 'mid' 속성 값이 mid 값이 된다.|
|
|
10036
|
-
* |{@page highField}|속성 값, 또는 'high' 속성 값이 high 값이 된다.|
|
|
10037
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10038
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10252
|
+
* {@page op.SeriesOptions#type}은 **'boxplot'** 이고,
|
|
10253
|
+
* {@page options 설정} 모델은 {@page op.BoxPlotSeriesOptions}이다.
|
|
10039
10254
|
*/
|
|
10040
|
-
declare class BoxPlotSeries extends LowRangedSeries<
|
|
10255
|
+
declare class BoxPlotSeries extends LowRangedSeries<BoxPlotSeriesOptions> {
|
|
10041
10256
|
static readonly type = "boxplot";
|
|
10042
|
-
static defaults:
|
|
10257
|
+
static defaults: BoxPlotSeriesOptions;
|
|
10043
10258
|
_minFielder: (src: any) => any;
|
|
10044
10259
|
_lowFielder: (src: any) => any;
|
|
10045
10260
|
_midFielder: (src: any) => any;
|
|
@@ -10053,30 +10268,9 @@ declare class BoxPlotSeries extends LowRangedSeries<BoxplotSeriesOptions> {
|
|
|
10053
10268
|
}
|
|
10054
10269
|
|
|
10055
10270
|
/**
|
|
10056
|
-
* 버블
|
|
10057
|
-
*
|
|
10058
|
-
*
|
|
10059
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [linear](/config/config/xAxis/linear)이다.<br/><br/>
|
|
10060
|
-
*
|
|
10061
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10062
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
10063
|
-
*
|
|
10064
|
-
* ###### 단일 값 및 값 배열
|
|
10065
|
-
* |형식|설명|
|
|
10066
|
-
* |---|---|
|
|
10067
|
-
* |y|단일 숫자면 y, z값. x 값은 순서에 따라 자동 결정.|
|
|
10068
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10069
|
-
* |[z]|단일 값 배열이면 y, z값. x 값은 순서에 따라 자동 결정.|
|
|
10070
|
-
* |[y, z]|두 값 배열이면 y값과 z값. x 값은 순서에 따라 자동 결정.|
|
|
10071
|
-
* |[x, y, z,]|세 값 이상이면 순서대로 x, y, z값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index. {@page zField}는 z값의 index.|
|
|
10072
|
-
*
|
|
10073
|
-
* ###### json 배열
|
|
10074
|
-
* |Series 속성|설명|
|
|
10075
|
-
* |---|---|
|
|
10076
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10077
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10078
|
-
* |{@page zField}|속성 값, 또는 'z' 속성 값이 z 값이 된다.|
|
|
10079
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10271
|
+
* 버블 시리즈 모델.<br/>
|
|
10272
|
+
* {@page op.SeriesOptions#type}은 **'bubble'** 이고,
|
|
10273
|
+
* {@page options 설정} 모델은 {@page op.BubbleSeriesOptions}이다.
|
|
10080
10274
|
*/
|
|
10081
10275
|
declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
|
|
10082
10276
|
static readonly type: string;
|
|
@@ -10105,11 +10299,11 @@ declare class BubbleSeries extends MarkerSeries<BubbleSeriesOptions> {
|
|
|
10105
10299
|
}
|
|
10106
10300
|
|
|
10107
10301
|
/**
|
|
10108
|
-
*
|
|
10109
|
-
*
|
|
10110
|
-
*
|
|
10302
|
+
* Bump 시리즈.<br/>
|
|
10303
|
+
* {@page op.SeriesOptions#type}은 **'bump'** 이고,
|
|
10304
|
+
* {@page options 설정} 모델은 {@page op.BumpSeriesGroupOptions}이다.
|
|
10111
10305
|
*/
|
|
10112
|
-
declare class BumpSeriesGroup extends ConstraintSeriesGroup<LineSeries,
|
|
10306
|
+
declare class BumpSeriesGroup extends ConstraintSeriesGroup<LineSeries, BumpSeriesGroupOptions> {
|
|
10113
10307
|
static readonly type = "bump";
|
|
10114
10308
|
static readonly seriesType = "line";
|
|
10115
10309
|
protected _canContain(ser: Series): boolean;
|
|
@@ -10141,30 +10335,8 @@ declare class CandlestickSeriesPoint extends DataPoint {
|
|
|
10141
10335
|
}
|
|
10142
10336
|
/**
|
|
10143
10337
|
* Candlestick 시리즈.<br/>
|
|
10144
|
-
*
|
|
10145
|
-
*
|
|
10146
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10147
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.<br/>
|
|
10148
|
-
* [주의] high와 y값은 동일한 값이다.
|
|
10149
|
-
*
|
|
10150
|
-
* ###### 단일 값 및 값 배열
|
|
10151
|
-
* |형식|설명|
|
|
10152
|
-
* |---|---|
|
|
10153
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
10154
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10155
|
-
* |[min, low, mid, high | y]|형식 설명 순서대로 값 결정. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10156
|
-
* |[x, min, low, mid, high | y]|형깃 설명 순서대로 값 결정.<br/> 또는 {@page xField} 속성이 숫자이면 x값, {@page minField}는 min값,<br/> {@page lowField}는 low값, {@page midField}는 mid값,<br/> {@page highField}는 high값, {@page yField}는 y값의 index.|
|
|
10157
|
-
*
|
|
10158
|
-
* ###### json 배열
|
|
10159
|
-
* |Series 속성|설명|
|
|
10160
|
-
* |---|---|
|
|
10161
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10162
|
-
* |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
|
|
10163
|
-
* |{@page openField}|속성 값, 또는 'open' 속성 값이 open 값이 된다.|
|
|
10164
|
-
* |{@page closeField}|속성 값, 또는 'mid' 속성 값이 close 값이 된다.|
|
|
10165
|
-
* |{@page highField}|속성 값, 또는 'high' 속성 값이 high 값이 된다. 지정하지 않으면 yField 값이 사용된다.|
|
|
10166
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10167
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10338
|
+
* {@page op.SeriesOptions#type}은 **'candlestick'** 이고,
|
|
10339
|
+
* {@page options 설정} 모델은 {@page op.CandlestickSeriesOptions}이다.
|
|
10168
10340
|
*/
|
|
10169
10341
|
declare class CandlestickSeries<OP extends CandlestickSeriesOptions = CandlestickSeriesOptions> extends LowRangedSeries<OP> {
|
|
10170
10342
|
static readonly type: string;
|
|
@@ -10180,36 +10352,18 @@ declare class CircelBarPointLabel extends DataPointLabel<DataPointLabelOptions>
|
|
|
10180
10352
|
}
|
|
10181
10353
|
/**
|
|
10182
10354
|
* CirleBar 시리즈.<br/>
|
|
10183
|
-
*
|
|
10184
|
-
*
|
|
10185
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [category](/config/config/xAxis/category)이다.<br/><br/>
|
|
10186
|
-
*
|
|
10187
|
-
*{@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10188
|
-
*
|
|
10189
|
-
* ###### 단일 값 및 값 배열
|
|
10190
|
-
* |형식|설명|
|
|
10191
|
-
* |---|---|
|
|
10192
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10193
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10194
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10195
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
10196
|
-
*
|
|
10197
|
-
* ###### json 배열
|
|
10198
|
-
* |Series 속성|설명 |
|
|
10199
|
-
* |---|---|
|
|
10200
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10201
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10202
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10355
|
+
* {@page op.SeriesOptions#type}은 **'circlebar'** 이고,
|
|
10356
|
+
* {@page options 설정} 모델은 {@page op.CircleBarSeriesOptions}이다.
|
|
10203
10357
|
*/
|
|
10204
|
-
declare class CircleBarSeries extends BarSeriesBase<
|
|
10358
|
+
declare class CircleBarSeries extends BarSeriesBase<CircleBarSeriesOptions> {
|
|
10205
10359
|
static readonly type = "circlebar";
|
|
10206
10360
|
get pointLabel(): CircelBarPointLabel;
|
|
10207
10361
|
protected _createLabel(chart: IChart): CircelBarPointLabel;
|
|
10208
10362
|
}
|
|
10209
10363
|
/**
|
|
10210
|
-
*
|
|
10364
|
+
* CircleBar 시리즈 그룹<br/>
|
|
10211
10365
|
*/
|
|
10212
|
-
declare class CircleBarSeriesGroup extends BarSeriesGroupBase<CircleBarSeries,
|
|
10366
|
+
declare class CircleBarSeriesGroup extends BarSeriesGroupBase<CircleBarSeries, CircleBarSeriesGroupOptions> implements IClusterable {
|
|
10213
10367
|
static readonly type = "circlebargroup";
|
|
10214
10368
|
static readonly seriesType = "circlebar";
|
|
10215
10369
|
protected _canContain(ser: Series): boolean;
|
|
@@ -10220,35 +10374,16 @@ declare class DumbbellSeriesMarker extends SeriesMarker<DumbbellSeriesMarkerOpti
|
|
|
10220
10374
|
}
|
|
10221
10375
|
/**
|
|
10222
10376
|
* Dumbbell 시리즈.<br/>
|
|
10223
|
-
*
|
|
10224
|
-
*
|
|
10225
|
-
* 예를 들어, 두 기간 동안의 성장률, 두 그룹 간의 판매량 차이 변화 등을 보여 주는데 유용하다.<br/>
|
|
10226
|
-
* 양 끝 두 개의 원이나 점 등을 선분으로 연결하여 표시한다.<br/><br/>
|
|
10227
|
-
*
|
|
10228
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10229
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
10230
|
-
*
|
|
10231
|
-
* ###### 단일 값 및 값 배열
|
|
10232
|
-
* |형식|설명|
|
|
10233
|
-
* |---|---|
|
|
10234
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
10235
|
-
* |[]|빈 배열이면 null. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10236
|
-
* |[z]|단일 값 배열이면 low, y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10237
|
-
* |[low, y]|두 값 배열이면 low값과 y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10238
|
-
* |[x, low, y,]|세 값 이상이면 순서대로 x, low, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page lowField}는 low값의 index. {@page yField}는 y값의 index.|
|
|
10239
|
-
*
|
|
10240
|
-
* ###### json 배열
|
|
10241
|
-
* |Series 속성|설명|
|
|
10242
|
-
* |---|---|
|
|
10243
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10244
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10245
|
-
* |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
|
|
10246
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10377
|
+
* {@page op.SeriesOptions#type}은 **'dumbbell'** 이고,
|
|
10378
|
+
* {@page options 설정} 모델은 {@page op.DumbbellSeriesOptions}이다.
|
|
10247
10379
|
*/
|
|
10248
10380
|
declare class DumbbellSeries extends ClusterableSeries<DumbbellSeriesOptions> {
|
|
10249
10381
|
static readonly type = "dumbbell";
|
|
10250
|
-
|
|
10251
|
-
|
|
10382
|
+
private _marker;
|
|
10383
|
+
protected _doInitChildren(op: {
|
|
10384
|
+
[child: string]: ChartItemOptions;
|
|
10385
|
+
}): void;
|
|
10386
|
+
get marker(): DumbbellSeriesMarker;
|
|
10252
10387
|
canCategorized(): boolean;
|
|
10253
10388
|
pointLabelCount(): number;
|
|
10254
10389
|
getLabelOff(off: number): number;
|
|
@@ -10259,26 +10394,8 @@ declare class DumbbellSeries extends ClusterableSeries<DumbbellSeriesOptions> {
|
|
|
10259
10394
|
|
|
10260
10395
|
/**
|
|
10261
10396
|
* Bar를 여러 개의 segment로 나눠 표시하는 시리즈.<br/>
|
|
10262
|
-
*
|
|
10263
|
-
*
|
|
10264
|
-
* X축 타입이 설정되지 않은 경우, 이 시리즈를 기준으로 생성되는 축은 [category](/config/config/xAxis/category)이다.<br/><br/>
|
|
10265
|
-
*
|
|
10266
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10267
|
-
*
|
|
10268
|
-
* ###### 단일 값 및 값 배열
|
|
10269
|
-
* |형식|설명|
|
|
10270
|
-
* |---|---|
|
|
10271
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10272
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10273
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10274
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
10275
|
-
*
|
|
10276
|
-
* ###### json 배열
|
|
10277
|
-
* |Series 속성|설명 |
|
|
10278
|
-
* |---|---|
|
|
10279
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10280
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10281
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10397
|
+
* {@page op.SeriesOptions#type}은 **'equalizer'** 이고,
|
|
10398
|
+
* {@page options 설정} 모델은 {@page op.EqualizerSeriesOptions}이다.
|
|
10282
10399
|
*/
|
|
10283
10400
|
declare class EqualizerSeries extends BasedSeries<EqualizerSeriesOptions> {
|
|
10284
10401
|
static readonly type = "equalizer";
|
|
@@ -10293,31 +10410,12 @@ declare class EqualizerSeries extends BasedSeries<EqualizerSeriesOptions> {
|
|
|
10293
10410
|
|
|
10294
10411
|
/**
|
|
10295
10412
|
* ErrorBar 시리즈.<br/>
|
|
10296
|
-
*
|
|
10297
|
-
*
|
|
10298
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10299
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공해야 한다.
|
|
10300
|
-
*
|
|
10301
|
-
* ###### 단일 값 및 값 배열
|
|
10302
|
-
* |형식|설명|
|
|
10303
|
-
* |---|---|
|
|
10304
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
10305
|
-
* |[]|빈 배열이면 null. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10306
|
-
* |[z]|단일 값 배열이면 low, y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10307
|
-
* |[low, y]|두 값 배열이면 low값과 y값. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10308
|
-
* |[x, low, y,]|세 값 이상이면 순서대로 x, low, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page lowField}는 low값의 index. {@page yField}는 y값의 index.|
|
|
10309
|
-
*
|
|
10310
|
-
* ###### json 배열
|
|
10311
|
-
* |Series 속성|설명|
|
|
10312
|
-
* |---|---|
|
|
10313
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10314
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10315
|
-
* |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
|
|
10316
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10413
|
+
* {@page op.SeriesOptions#type}은 **'errorbar'** 이고,
|
|
10414
|
+
* {@page options 설정} 모델은 {@page op.ErrorbarSeriesOptions}이다.
|
|
10317
10415
|
*/
|
|
10318
|
-
declare class ErrorBarSeries extends LowRangedSeries<
|
|
10416
|
+
declare class ErrorBarSeries extends LowRangedSeries<ErrorBarSeriesOptions> {
|
|
10319
10417
|
static readonly type = "errorbar";
|
|
10320
|
-
static defaults:
|
|
10418
|
+
static defaults: ErrorBarSeriesOptions;
|
|
10321
10419
|
isClusterable(): boolean;
|
|
10322
10420
|
pointLabelCount(): number;
|
|
10323
10421
|
protected _createPoint(source: any): DataPoint;
|
|
@@ -10327,7 +10425,9 @@ declare class ErrorBarSeries extends LowRangedSeries<ErrorbarSeriesOptions> {
|
|
|
10327
10425
|
}
|
|
10328
10426
|
|
|
10329
10427
|
/**
|
|
10330
|
-
*
|
|
10428
|
+
* Funnel 시리즈 모델.<br/>
|
|
10429
|
+
* {@page op.SeriesOptions#type}은 **'funnel'** 이고,
|
|
10430
|
+
* {@page options 설정} 모델은 {@page op.FunnelSeriesOptions}이다.
|
|
10331
10431
|
*/
|
|
10332
10432
|
declare class FunnelSeries extends WidgetSeries<FunnelSeriesOptions> {
|
|
10333
10433
|
static readonly type = "funnel";
|
|
@@ -10347,34 +10447,9 @@ declare class FunnelSeries extends WidgetSeries<FunnelSeriesOptions> {
|
|
|
10347
10447
|
}
|
|
10348
10448
|
|
|
10349
10449
|
/**
|
|
10350
|
-
* Heatmap
|
|
10351
|
-
*
|
|
10352
|
-
*
|
|
10353
|
-
*
|
|
10354
|
-
* //[셀 색상]
|
|
10355
|
-
* //1. color-axis가 연결되면 거기에서 색을 가져온다.
|
|
10356
|
-
* //2. series의 minColor, maxColor 사이의 색으로 가져온다.
|
|
10357
|
-
* //3. series의 기본 색상과 흰색 사이의 색으로 가져온다.
|
|
10358
|
-
*
|
|
10359
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10360
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
10361
|
-
*
|
|
10362
|
-
* ###### 단일 값 및 값 배열
|
|
10363
|
-
* |형식|설명|
|
|
10364
|
-
* |---|---|
|
|
10365
|
-
* |y|단일 숫자면 y, z값. x 값은 순서에 따라 자동 결정.|
|
|
10366
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10367
|
-
* |[z]|단일 값 배열이면 y, z값. x 값은 순서에 따라 자동 결정.|
|
|
10368
|
-
* |[y, z]|두 값 배열이면 y값과 z값. x 값은 순서에 따라 자동 결정.|
|
|
10369
|
-
* |[x, y, z,]|세 값 이상이면 순서대로 x, y, z값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index. {@page zField}는 z값의 index.|
|
|
10370
|
-
*
|
|
10371
|
-
* ###### json 배열
|
|
10372
|
-
* |Series 속성|설명|
|
|
10373
|
-
* |---|---|
|
|
10374
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10375
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10376
|
-
* |{@page zField}|속성 값, 또는 'z' 속성 값이 z 값이 된다.|
|
|
10377
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10450
|
+
* Heatmap 시리즈 모델.<br/>
|
|
10451
|
+
* {@page op.SeriesOptions#type}은 **'heatmap'** 이고,
|
|
10452
|
+
* {@page options 설정} 모델은 {@page op.HeatmapSeriesOptions}이다.
|
|
10378
10453
|
*/
|
|
10379
10454
|
declare class HeatmapSeries extends Series<HeatmapSeriesOptions> {
|
|
10380
10455
|
static readonly type = "heatmap";
|
|
@@ -10392,24 +10467,8 @@ declare class HeatmapSeries extends Series<HeatmapSeriesOptions> {
|
|
|
10392
10467
|
|
|
10393
10468
|
/**
|
|
10394
10469
|
* [Histogram](https://en.wikipedia.org/wiki/Histogram) 시리즈<br/>
|
|
10395
|
-
*
|
|
10396
|
-
*
|
|
10397
|
-
*
|
|
10398
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
10399
|
-
* [주의] y값만 계산해서 histogram bin에 해당하는 데이터포인트들을 생성한다.
|
|
10400
|
-
*
|
|
10401
|
-
* ###### 단일 값 및 값 배열
|
|
10402
|
-
* |형식|설명|
|
|
10403
|
-
* |---|---|
|
|
10404
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10405
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10406
|
-
* |[y,]|{@page yField} 속성이 숫자이면 y값의 index. 아니면 첫번째 값이 y값.
|
|
10407
|
-
*
|
|
10408
|
-
* ###### json 배열
|
|
10409
|
-
* |Series 속성|설명 |
|
|
10410
|
-
* |---|---|
|
|
10411
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10412
|
-
*
|
|
10470
|
+
* {@page op.SeriesOptions#type}은 **'histogram'** 이고,
|
|
10471
|
+
* {@page options 설정} 모델은 {@page op.HistogramSeriesOptions}이다.
|
|
10413
10472
|
*/
|
|
10414
10473
|
declare class HistogramSeries extends Series<HistogramSeriesOptions> {
|
|
10415
10474
|
static readonly type = "histogram";
|
|
@@ -10431,31 +10490,16 @@ declare class LollipopSeriesMarker extends SeriesMarker<LollipopSeriesMarkerOpti
|
|
|
10431
10490
|
}
|
|
10432
10491
|
/**
|
|
10433
10492
|
* Lollipop(막대 사탕) 시리즈.<br/>
|
|
10434
|
-
*
|
|
10435
|
-
*
|
|
10436
|
-
* 특히, bar가 겹치더라도 데이터포인트들이 쉽게 구분된다.<br/><br/>
|
|
10437
|
-
*
|
|
10438
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10439
|
-
*
|
|
10440
|
-
* ###### 단일 값 및 값 배열
|
|
10441
|
-
* |형식|설명|
|
|
10442
|
-
* |---|---|
|
|
10443
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10444
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10445
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10446
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
10447
|
-
*
|
|
10448
|
-
* ###### json 배열
|
|
10449
|
-
* |Series 속성|설명 |
|
|
10450
|
-
* |---|---|
|
|
10451
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10452
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10453
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10493
|
+
* {@page op.SeriesOptions#type}은 **'lollipop'** 이고,
|
|
10494
|
+
* {@page options 설정} 모델은 {@page op.LollipopSeriesOptions}이다.
|
|
10454
10495
|
*/
|
|
10455
10496
|
declare class LollipopSeries extends BasedSeries<LollipopSeriesOptions> {
|
|
10456
10497
|
static readonly type = "lollipop";
|
|
10457
|
-
|
|
10458
|
-
|
|
10498
|
+
private _marker;
|
|
10499
|
+
protected _doInitChildren(op: {
|
|
10500
|
+
[child: string]: ChartItemOptions;
|
|
10501
|
+
}): void;
|
|
10502
|
+
get marker(): LollipopSeriesMarker;
|
|
10459
10503
|
canCategorized(): boolean;
|
|
10460
10504
|
getLabelOff(off: number): number;
|
|
10461
10505
|
protected _createPoint(source: any): DataPoint;
|
|
@@ -10464,31 +10508,8 @@ declare class LollipopSeries extends BasedSeries<LollipopSeriesOptions> {
|
|
|
10464
10508
|
|
|
10465
10509
|
/**
|
|
10466
10510
|
* Ohlc 시리즈.<br/>
|
|
10467
|
-
*
|
|
10468
|
-
*
|
|
10469
|
-
*
|
|
10470
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.
|
|
10471
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
10472
|
-
* [주의] high와 y값은 동일한 값이다.
|
|
10473
|
-
*
|
|
10474
|
-
* ###### 단일 값 및 값 배열
|
|
10475
|
-
* |형식|설명|
|
|
10476
|
-
* |---|---|
|
|
10477
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
10478
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10479
|
-
* |[min, low, mid, high | y]|형식 설명 순서대로 값 결정. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10480
|
-
* |[x, min, low, mid, high | y]|형깃 설명 순서대로 값 결정.<br/> 또는 {@page xField} 속성이 숫자이면 x값, {@page minField}는 min값,<br/> {@page lowField}는 low값, {@page midField}는 mid값,<br/> {@page highField}는 high값, {@page yField}는 y값의 index.|
|
|
10481
|
-
*
|
|
10482
|
-
* ###### json 배열
|
|
10483
|
-
* |Series 속성|설명|
|
|
10484
|
-
* |---|---|
|
|
10485
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10486
|
-
* |{@page lowField}|속성 값, 또는 'low' 속성 값이 low 값이 된다.|
|
|
10487
|
-
* |{@page openField}|속성 값, 또는 'open' 속성 값이 open 값이 된다.|
|
|
10488
|
-
* |{@page closeField}|속성 값, 또는 'mid' 속성 값이 close 값이 된다.|
|
|
10489
|
-
* |{@page highField}|속성 값, 또는 'high' 속성 값이 high 값이 된다. 지정하지 않으면 yField 값이 사용된다.|
|
|
10490
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10491
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10511
|
+
* {@page op.SeriesOptions#type}은 **'ohlc'** 이고,
|
|
10512
|
+
* {@page options 설정} 모델은 {@page op.OhlcSeriesOptions}이다.
|
|
10492
10513
|
*/
|
|
10493
10514
|
declare class OhlcSeries extends CandlestickSeries<OhlcSeriesOptions> {
|
|
10494
10515
|
static readonly type = "ohlc";
|
|
@@ -10500,8 +10521,8 @@ declare class ParetoSeriesPoint extends LineSeriesPoint {
|
|
|
10500
10521
|
}
|
|
10501
10522
|
/**
|
|
10502
10523
|
* Pareto 시리즈<br/>
|
|
10503
|
-
*
|
|
10504
|
-
* {@page
|
|
10524
|
+
* {@page op.SeriesOptions#type}은 **'pareto'** 이고,
|
|
10525
|
+
* {@page options 설정} 모델은 {@page op.ParetoSeriesOptions}이다.
|
|
10505
10526
|
*/
|
|
10506
10527
|
declare class ParetoSeries extends LineSeriesBase<ParetoSeriesOptions> {
|
|
10507
10528
|
static readonly type = "pareto";
|
|
@@ -10539,24 +10560,8 @@ declare class PieSeriesLabel extends DataPointLabel<PieSeriesLabelOptions> {
|
|
|
10539
10560
|
}
|
|
10540
10561
|
/**
|
|
10541
10562
|
* Pie 시리즈<br/>
|
|
10542
|
-
*
|
|
10543
|
-
*
|
|
10544
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10545
|
-
*
|
|
10546
|
-
* ###### 단일 값 및 값 배열
|
|
10547
|
-
* |형식|설명|
|
|
10548
|
-
* |---|---|
|
|
10549
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10550
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10551
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10552
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
10553
|
-
*
|
|
10554
|
-
* ###### json 배열
|
|
10555
|
-
* |Series 속성|설명 |
|
|
10556
|
-
* |---|---|
|
|
10557
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10558
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10559
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10563
|
+
* {@page op.SeriesOptions#type}은 **'pie'** 이고,
|
|
10564
|
+
* {@page options 설정} 모델은 {@page op.PieSeriesOptions}이다.
|
|
10560
10565
|
*/
|
|
10561
10566
|
declare class PieSeries extends RadialSeries<PieSeriesOptions> {
|
|
10562
10567
|
static readonly type = "pie";
|
|
@@ -10570,7 +10575,9 @@ declare class PieSeries extends RadialSeries<PieSeriesOptions> {
|
|
|
10570
10575
|
_groupSize: number;
|
|
10571
10576
|
_startRad: number;
|
|
10572
10577
|
_totalRad: number;
|
|
10573
|
-
protected
|
|
10578
|
+
protected _doInitChildren(op: {
|
|
10579
|
+
[child: string]: ChartItemOptions;
|
|
10580
|
+
}): void;
|
|
10574
10581
|
/**
|
|
10575
10582
|
* {@page innerRadius}가 0보다 클 때, 도넛 내부에 표시되는 텍스트.
|
|
10576
10583
|
* 기본 클래스 selector는 <b>'rct-pie-series-inner'</b>이다.
|
|
@@ -10611,24 +10618,8 @@ declare class ScatterSeriesPoint extends DataPoint {
|
|
|
10611
10618
|
}
|
|
10612
10619
|
/**
|
|
10613
10620
|
* Scatter 시리즈.<br/>
|
|
10614
|
-
*
|
|
10615
|
-
*
|
|
10616
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10617
|
-
*
|
|
10618
|
-
* ###### 단일 값 및 값 배열
|
|
10619
|
-
* |형식|설명|
|
|
10620
|
-
* |---|---|
|
|
10621
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10622
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10623
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10624
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
10625
|
-
*
|
|
10626
|
-
* ###### json 배열
|
|
10627
|
-
* |Series 속성|설명 |
|
|
10628
|
-
* |---|---|
|
|
10629
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10630
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10631
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10621
|
+
* {@page op.SeriesOptions#type}은 **'scatter'** 이고,
|
|
10622
|
+
* {@page options 설정} 모델은 {@page op.ScatterSeriesOptions}이다.
|
|
10632
10623
|
*/
|
|
10633
10624
|
declare class ScatterSeries extends MarkerSeries<ScatterSeriesOptions> {
|
|
10634
10625
|
static readonly type = "scatter";
|
|
@@ -10700,35 +10691,9 @@ declare class TreeNode {
|
|
|
10700
10691
|
getTotal(): number;
|
|
10701
10692
|
}
|
|
10702
10693
|
/**
|
|
10703
|
-
*
|
|
10704
|
-
*
|
|
10705
|
-
*
|
|
10706
|
-
* //1. 본래 하드 드라이브의 파일 분포 상태를 표시하기 위해 고안됨.
|
|
10707
|
-
* //2. node & link 스타일의 전통적 표시 방식은 공간을 많이 필요로 한다.
|
|
10708
|
-
* //3. 일정 표시 공간을 100% 사용한다.
|
|
10709
|
-
* //4. 초기 공간을 재귀적으로 나누어 가면서 구성한다.
|
|
10710
|
-
*
|
|
10711
|
-
* // TODO: grouping된 data 설정 가능하도록 한다. `data[{data:[]}, {data:[]}]`
|
|
10712
|
-
*
|
|
10713
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10714
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
10715
|
-
* [주의] id, group 값은 문자열로 변환돼 사용된다.
|
|
10716
|
-
*
|
|
10717
|
-
* ###### 단일 값 및 값 배열
|
|
10718
|
-
* |형식|설명|
|
|
10719
|
-
* |---|---|
|
|
10720
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
10721
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10722
|
-
* |[y, id, grup]|형식 설명 순서대로 값 결정. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10723
|
-
* |[x, y, id, group]|형깃 설명 순서대로 값 결정.<br/> 또는 {@page xField} 속성이 숫자이면 x값, {@page yField}는 y값,<br/> {@page idField}는 id값, {@page groupField}는 group값,<br/>.|
|
|
10724
|
-
*
|
|
10725
|
-
* ###### json 배열
|
|
10726
|
-
* |Series 속성|설명|
|
|
10727
|
-
* |---|---|
|
|
10728
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10729
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10730
|
-
* |{@page idField}|속성 값, 또는 'id' 속성 값이 length 값이 된다.|
|
|
10731
|
-
* |{@page groupField}|속성 값, 또는 'group' 속성 값이 angle 값이 된다.|
|
|
10694
|
+
* Treemap 시리즈.<br/>
|
|
10695
|
+
* {@page op.SeriesOptions#type}은 **'treemap'** 이고,
|
|
10696
|
+
* {@page options 설정} 모델은 {@page op.TreemapSeriesOptions}이다.
|
|
10732
10697
|
*/
|
|
10733
10698
|
declare class TreemapSeries extends Series<TreemapSeriesOptions> {
|
|
10734
10699
|
static readonly type = "treemap";
|
|
@@ -10766,26 +10731,8 @@ declare class TreemapSeries extends Series<TreemapSeriesOptions> {
|
|
|
10766
10731
|
|
|
10767
10732
|
/**
|
|
10768
10733
|
* Vector 시리즈.<br/>
|
|
10769
|
-
*
|
|
10770
|
-
*
|
|
10771
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10772
|
-
* [주의] 데이터포인트 구성에 필요한 모든 값을 제공하지 않으면 null이 된다.
|
|
10773
|
-
*
|
|
10774
|
-
* ###### 단일 값 및 값 배열
|
|
10775
|
-
* |형식|설명|
|
|
10776
|
-
* |---|---|
|
|
10777
|
-
* |y|단일 숫자면 low, y값. x 값은 순서에 따라 자동 결정.|
|
|
10778
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10779
|
-
* |[y, length, angle]|형식 설명 순서대로 값 결정. x 값은 데이터포인트 순서에 따라 자동 결정.|
|
|
10780
|
-
* |[x, y, length, angle]|형깃 설명 순서대로 값 결정.<br/> 또는 {@page xField} 속성이 숫자이면 x값, {@page yField}는 y값,<br/> {@page lengthField}는 length값, {@page angleField}는 angle값,<br/>.|
|
|
10781
|
-
*
|
|
10782
|
-
* ###### json 배열
|
|
10783
|
-
* |Series 속성|설명|
|
|
10784
|
-
* |---|---|
|
|
10785
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10786
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10787
|
-
* |{@page lengthField}|속성 값, 또는 'length' 속성 값이 length 값이 된다.|
|
|
10788
|
-
* |{@page angleField}|속성 값, 또는 'angle' 속성 값이 angle 값이 된다.|
|
|
10734
|
+
* {@page op.SeriesOptions#type}은 **'vector'** 이고,
|
|
10735
|
+
* {@page options 설정} 모델은 {@page op.VectorSeriesOptions}이다.
|
|
10789
10736
|
*/
|
|
10790
10737
|
declare class VectorSeries extends Series<VectorSeriesOptions> {
|
|
10791
10738
|
static readonly type = "vector";
|
|
@@ -10804,24 +10751,8 @@ declare class WaterfallSeriesPoint extends DataPoint {
|
|
|
10804
10751
|
}
|
|
10805
10752
|
/**
|
|
10806
10753
|
* 폭포(Waterfall) 시리즈.<br/>
|
|
10807
|
-
*
|
|
10808
|
-
*
|
|
10809
|
-
* {@page data}는 아래 형식들로 전달할 수 있다.<br/>
|
|
10810
|
-
*
|
|
10811
|
-
* ###### 단일 값 및 값 배열
|
|
10812
|
-
* |형식|설명|
|
|
10813
|
-
* |---|---|
|
|
10814
|
-
* |y|단일 숫자면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10815
|
-
* |[]|빈 배열이면 null. x 값은 순서에 따라 자동 결정.|
|
|
10816
|
-
* |[y]|값 하나인 배열이면 y값. x 값은 순서에 따라 자동 결정.|
|
|
10817
|
-
* |[x, y,]|두 값 이상이면 순서대로 x, y값.<br/> 또는 {@page xField} 속성이 숫자이면 x값의 index. {@page yField}는 y값의 index.<br/>{@page colorField}는 color값의 index.|
|
|
10818
|
-
*
|
|
10819
|
-
* ###### json 배열
|
|
10820
|
-
* |Series 속성|설명 |
|
|
10821
|
-
* |---|---|
|
|
10822
|
-
* |{@page xField}|속성 값, 또는 'x', 'name', 'label' 속성들 중 순서대로 값이 설정된 것이 x 값이 된다.|
|
|
10823
|
-
* |{@page yField}|속성 값, 또는 'y', 'value' 속성들 중 순서대로 값이 설정된 것이 y 값이 된다.|
|
|
10824
|
-
* |{@page colorField}|속성 값, 또는 'color' 속성 값으로 데이터포인트의 개별 색상으로 지정된다.|
|
|
10754
|
+
* {@page op.SeriesOptions#type}은 **'waterfall'** 이고,
|
|
10755
|
+
* {@page options 설정} 모델은 {@page op.WaterfallSeriesOptions}이다.
|
|
10825
10756
|
*/
|
|
10826
10757
|
declare class WaterfallSeries extends RangedSeries<WaterfallSeriesOptions> {
|
|
10827
10758
|
static readonly type = "waterfall";
|
|
@@ -10832,6 +10763,10 @@ declare class WaterfallSeries extends RangedSeries<WaterfallSeriesOptions> {
|
|
|
10832
10763
|
protected _getBottomValue(p: WaterfallSeriesPoint): number;
|
|
10833
10764
|
}
|
|
10834
10765
|
|
|
10766
|
+
/**
|
|
10767
|
+
* 원형게이지 테두리(rim) 모델 기반 클래스<br/>
|
|
10768
|
+
* {@page options} 모델은 {@page op.CircleGaugeRimBaseOptions}이다.
|
|
10769
|
+
*/
|
|
10835
10770
|
declare abstract class CircleGaugeRimBase<OP extends CircleGaugeRimBaseOptions = CircleGaugeRimBaseOptions> extends GaugeItem<OP> {
|
|
10836
10771
|
static defaults: CircleGaugeRimBaseOptions;
|
|
10837
10772
|
private _ranges;
|
|
@@ -10844,7 +10779,8 @@ declare abstract class CircleGaugeRimBase<OP extends CircleGaugeRimBaseOptions =
|
|
|
10844
10779
|
private $_internalRanges;
|
|
10845
10780
|
}
|
|
10846
10781
|
/**
|
|
10847
|
-
*
|
|
10782
|
+
* 원형게이지 테두리(rim) 모델.<br/>
|
|
10783
|
+
* {@page options} 모델은 {@page op.CircleGaugeRimOptions}이다.
|
|
10848
10784
|
*/
|
|
10849
10785
|
declare class CircleGaugeRim extends CircleGaugeRimBase<CircleGaugeRimOptions> {
|
|
10850
10786
|
static defaults: CircleGaugeRimOptions;
|
|
@@ -10853,7 +10789,8 @@ declare class CircleGaugeRim extends CircleGaugeRimBase<CircleGaugeRimOptions> {
|
|
|
10853
10789
|
protected _doApply(options: CircleGaugeRimOptions): void;
|
|
10854
10790
|
}
|
|
10855
10791
|
/**
|
|
10856
|
-
* 값을 표시하는 rim
|
|
10792
|
+
* 값을 표시하는 테두리(rim) 모델.<br/>
|
|
10793
|
+
* {@page options} 모델은 {@page op.CircleGaugeValueRimOptions}이다.
|
|
10857
10794
|
*/
|
|
10858
10795
|
declare class CircleGaugeValueRim extends CircleGaugeRimBase<CircleGaugeValueRimOptions> {
|
|
10859
10796
|
static defaults: CircleGaugeValueRimOptions;
|
|
@@ -10861,9 +10798,10 @@ declare class CircleGaugeValueRim extends CircleGaugeRimBase<CircleGaugeValueRim
|
|
|
10861
10798
|
getThickness(domain: number): number;
|
|
10862
10799
|
protected _doApply(options: CircleGaugeValueRimOptions): void;
|
|
10863
10800
|
}
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
}
|
|
10801
|
+
/**
|
|
10802
|
+
* 원형게이지 침(hand) 모델.<br/>
|
|
10803
|
+
* {@page options} 모델은 {@page op.CircleGaugeHandOptions}이다.
|
|
10804
|
+
*/
|
|
10867
10805
|
declare class CircleGaugeHand extends GaugeItem<CircleGaugeHandOptions> {
|
|
10868
10806
|
static defaults: CircleGaugeHandOptions;
|
|
10869
10807
|
private _radiusDim;
|
|
@@ -10876,60 +10814,64 @@ declare class CircleGaugeHand extends GaugeItem<CircleGaugeHandOptions> {
|
|
|
10876
10814
|
};
|
|
10877
10815
|
protected _doApply(options: CircleGaugeHandOptions): void;
|
|
10878
10816
|
}
|
|
10817
|
+
/**
|
|
10818
|
+
* 원형게이지 핀 모델.<br/>
|
|
10819
|
+
* {@page options} 모델은 {@page op.CircleGaugePinOptions}이다.
|
|
10820
|
+
*/
|
|
10879
10821
|
declare class CircleGaugePin extends GaugeItem<CircleGaugePinOptions> {
|
|
10880
10822
|
static defaults: CircleGaugePinOptions;
|
|
10881
10823
|
private _radiusDim;
|
|
10882
10824
|
getRadius(domain: number): number;
|
|
10883
10825
|
protected _doApply(options: CircleGaugePinOptions): void;
|
|
10884
10826
|
}
|
|
10827
|
+
/**
|
|
10828
|
+
* 원형게이지 자(scale) 모델.<br/>
|
|
10829
|
+
* {@page options} 모델은 {@page op.CircleGaugeScaleOptions}이다.
|
|
10830
|
+
*/
|
|
10885
10831
|
declare class CircleGaugeScale extends GaugeScale<CircleGaugeScaleOptions> {
|
|
10886
10832
|
static defaults: CircleGaugeScaleOptions;
|
|
10887
10833
|
protected _getStepMultiples(step: number): number[];
|
|
10888
10834
|
}
|
|
10889
10835
|
/**
|
|
10890
10836
|
* 원형 게이지 모델.<br/>
|
|
10891
|
-
*
|
|
10837
|
+
* {@page op.GaugeOptions#type}은 **'circle'** 이고,
|
|
10838
|
+
* {@page options 설정} 모델은 {@page op.CircleGaugeOptions}이다.
|
|
10892
10839
|
*/
|
|
10893
10840
|
declare class CircleGauge extends CircularGauge<CircleGaugeOptions> {
|
|
10894
10841
|
static readonly type: string;
|
|
10895
|
-
|
|
10842
|
+
private _band;
|
|
10843
|
+
private _scale;
|
|
10844
|
+
private _rim;
|
|
10845
|
+
private _valueRim;
|
|
10846
|
+
private _hand;
|
|
10847
|
+
private _pin;
|
|
10848
|
+
protected _doInitChildren(op: {
|
|
10849
|
+
[child: string]: ChartItemOptions;
|
|
10850
|
+
}): void;
|
|
10896
10851
|
/**
|
|
10897
10852
|
* 게이지 본체 주변이나 내부에 값 영역들을 구분해서 표시하는 band의 모델.
|
|
10898
|
-
*
|
|
10899
|
-
* @config
|
|
10900
10853
|
*/
|
|
10901
|
-
band: GaugeRangeBand;
|
|
10854
|
+
get band(): GaugeRangeBand;
|
|
10902
10855
|
/**
|
|
10903
10856
|
* 스케일 모델.
|
|
10904
|
-
*
|
|
10905
|
-
* @config
|
|
10906
10857
|
*/
|
|
10907
|
-
scale: CircleGaugeScale;
|
|
10858
|
+
get scale(): CircleGaugeScale;
|
|
10908
10859
|
/**
|
|
10909
10860
|
* 게이지 배경 원호 테두리 설정 모델.
|
|
10910
|
-
*
|
|
10911
|
-
* @config
|
|
10912
10861
|
*/
|
|
10913
|
-
rim: CircleGaugeRim;
|
|
10862
|
+
get rim(): CircleGaugeRim;
|
|
10914
10863
|
/**
|
|
10915
10864
|
* 게이지의 값 원호 테두리 설정 모델.
|
|
10916
|
-
*
|
|
10917
|
-
* @config
|
|
10918
10865
|
*/
|
|
10919
|
-
valueRim: CircleGaugeValueRim;
|
|
10920
|
-
marker: CircleGaugeValueMarker;
|
|
10866
|
+
get valueRim(): CircleGaugeValueRim;
|
|
10921
10867
|
/**
|
|
10922
10868
|
* 게이지 바늘 설정 모델.
|
|
10923
|
-
*
|
|
10924
|
-
* @config
|
|
10925
10869
|
*/
|
|
10926
|
-
hand: CircleGaugeHand;
|
|
10870
|
+
get hand(): CircleGaugeHand;
|
|
10927
10871
|
/**
|
|
10928
10872
|
* 게이지 중앙에 표시되는 핀 설정 모델.
|
|
10929
|
-
*
|
|
10930
|
-
* @config
|
|
10931
10873
|
*/
|
|
10932
|
-
pin: CircleGaugePin;
|
|
10874
|
+
get pin(): CircleGaugePin;
|
|
10933
10875
|
getExtents(gaugeSize: number): ICircularGaugeExtents;
|
|
10934
10876
|
}
|
|
10935
10877
|
declare class CircleGaugeGroup extends CircularGaugeGroup<CircleGauge, CircleGaugeGroupOptions> {
|
|
@@ -10939,7 +10881,11 @@ declare class CircleGaugeGroup extends CircularGaugeGroup<CircleGauge, CircleGau
|
|
|
10939
10881
|
_gaugesType(): string;
|
|
10940
10882
|
}
|
|
10941
10883
|
|
|
10942
|
-
|
|
10884
|
+
/**
|
|
10885
|
+
* 선형게이지 라벨 모델.<br/>
|
|
10886
|
+
* {@page options} 모델은 {@page op.LinearGaugeLabelOptions}이다.
|
|
10887
|
+
*/
|
|
10888
|
+
declare class LinearGaugeLabel<OP extends LinearGaugeLabelOptions = LinearGaugeLabelOptions> extends GaugeLabel<OP> {
|
|
10943
10889
|
static defaults: LinearGaugeLabelOptions;
|
|
10944
10890
|
private _widthDim;
|
|
10945
10891
|
private _heightDim;
|
|
@@ -10957,19 +10903,22 @@ declare class LinearGaugeLabel extends GaugeLabel<LinearGaugeLabelOptions> {
|
|
|
10957
10903
|
protected _doApply(options: LinearGaugeLabelOptions): void;
|
|
10958
10904
|
}
|
|
10959
10905
|
/**
|
|
10960
|
-
* 선형 게이지
|
|
10906
|
+
* 선형 게이지 모델들의 기반 클래스.<br/>
|
|
10907
|
+
* {@page options} 모델은 {@page op.LinearGaugeBaseOptions}이다.
|
|
10961
10908
|
*/
|
|
10962
10909
|
declare abstract class LinearGaugeBase<OP extends LinearGaugeBaseOptions = LinearGaugeBaseOptions> extends ValueGauge<OP> {
|
|
10963
10910
|
static defaults: LinearGaugeBaseOptions;
|
|
10964
10911
|
private _label;
|
|
10965
10912
|
private _scale;
|
|
10966
|
-
protected
|
|
10913
|
+
protected _doInitChildren(op: {
|
|
10914
|
+
[child: string]: ChartItemOptions;
|
|
10915
|
+
}): void;
|
|
10967
10916
|
/**
|
|
10968
10917
|
* label 설정 모델.
|
|
10969
10918
|
*
|
|
10970
10919
|
* @config
|
|
10971
10920
|
*/
|
|
10972
|
-
get label(): LinearGaugeLabel
|
|
10921
|
+
get label(): LinearGaugeLabel<LinearGaugeLabelOptions>;
|
|
10973
10922
|
/**
|
|
10974
10923
|
* scale.
|
|
10975
10924
|
*
|
|
@@ -10982,7 +10931,8 @@ declare abstract class LinearGaugeBase<OP extends LinearGaugeBaseOptions = Linea
|
|
|
10982
10931
|
protected _doPrepareRender(chart: IChart): void;
|
|
10983
10932
|
}
|
|
10984
10933
|
/**
|
|
10985
|
-
* linear 게이지의 값을 표시하는 영역에 대한 설정
|
|
10934
|
+
* linear 게이지의 값을 표시하는 영역에 대한 설정 모델.<br/>
|
|
10935
|
+
* {@page options} 모델은 {@page op.LinearValueBarOptions}이다.
|
|
10986
10936
|
*/
|
|
10987
10937
|
declare class LinearValueBar<OP extends LinearValueBarOptions = LinearValueBarOptions> extends GaugeItem<OP> {
|
|
10988
10938
|
private _args;
|
|
@@ -10990,70 +10940,100 @@ declare class LinearValueBar<OP extends LinearValueBarOptions = LinearValueBarOp
|
|
|
10990
10940
|
}
|
|
10991
10941
|
/**
|
|
10992
10942
|
* 선형 게이지 모델.<br/>
|
|
10993
|
-
*
|
|
10994
|
-
*
|
|
10943
|
+
* {@page op.GaugeOptions#type}은 **'linear'** 이고,
|
|
10944
|
+
* {@page options 설정} 모델은 {@page op.LinearGaugeOptions}이다.
|
|
10995
10945
|
*/
|
|
10996
10946
|
declare class LinearGauge extends LinearGaugeBase<LinearGaugeOptions> {
|
|
10997
10947
|
static readonly type = "linear";
|
|
10998
|
-
|
|
10948
|
+
private _valueBar;
|
|
10949
|
+
private _band;
|
|
10950
|
+
protected _doInitChildren(op: {
|
|
10951
|
+
[child: string]: ChartItemOptions;
|
|
10952
|
+
}): void;
|
|
10999
10953
|
/**
|
|
11000
10954
|
* 게이지 값을 표시하는 bar 모델.
|
|
11001
|
-
*
|
|
11002
|
-
* @config
|
|
11003
10955
|
*/
|
|
11004
|
-
valueBar: LinearValueBar
|
|
10956
|
+
get valueBar(): LinearValueBar<LinearValueBarOptions>;
|
|
11005
10957
|
/**
|
|
11006
10958
|
* 게이지 본체 주변이나 내부에 값 영역들을 구분해서 표시하는 band의 모델.
|
|
11007
10959
|
*
|
|
11008
10960
|
* @config
|
|
11009
10961
|
*/
|
|
11010
|
-
band: GaugeRangeBand;
|
|
10962
|
+
get band(): GaugeRangeBand;
|
|
11011
10963
|
}
|
|
10964
|
+
/**
|
|
10965
|
+
* 선형 그룹게이지의 자식 라벨 모델.<br/>
|
|
10966
|
+
* {@page options} 모델은 {@page op.LinearGaugeChildLabelOptions}이다.
|
|
10967
|
+
*/
|
|
11012
10968
|
declare class LinearGaugeChildLabel extends ChartItem<LinearGaugeChildLabelOptions> {
|
|
11013
10969
|
static defaults: LinearGaugeChildLabelOptions;
|
|
11014
10970
|
}
|
|
11015
|
-
|
|
10971
|
+
/**
|
|
10972
|
+
* 선형 그룹게이지의 그룹 라벨 모델.<br/>
|
|
10973
|
+
* {@page options} 모델은 {@page op.LinearGaugeGroupLabelOptions}이다.
|
|
10974
|
+
*/
|
|
10975
|
+
declare class LinearGaugeGroupLabel extends LinearGaugeLabel<LinearGaugeGroupLabelOptions> {
|
|
11016
10976
|
static defaults: LinearGaugeGroupLabelOptions;
|
|
11017
10977
|
}
|
|
10978
|
+
/**
|
|
10979
|
+
* 선형 그룹게이지 모델들의 기반 클래스.<br/>
|
|
10980
|
+
* {@page options} 모델은 {@page op.LinearGaugeGroupBaseOptions}이다.
|
|
10981
|
+
*/
|
|
11018
10982
|
declare abstract class LinearGaugeGroupBase<T extends LinearGaugeBase = LinearGaugeBase, OP extends LinearGaugeGroupBaseOptions<LinearGaugeBaseOptions> = LinearGaugeGroupBaseOptions<LinearGaugeBaseOptions>> extends GaugeGroup<T, OP> {
|
|
11019
10983
|
static defaults: LinearGaugeGroupBaseOptions<LinearGaugeBaseOptions>;
|
|
10984
|
+
private _label;
|
|
10985
|
+
private _itemLabel;
|
|
10986
|
+
private _scale;
|
|
11020
10987
|
_labelWidth: number;
|
|
11021
10988
|
_labelHeight: number;
|
|
11022
|
-
protected
|
|
10989
|
+
protected _doInitChildren(op: {
|
|
10990
|
+
[child: string]: ChartItemOptions;
|
|
10991
|
+
}): void;
|
|
11023
10992
|
/**
|
|
11024
10993
|
* label 설정 모델.
|
|
11025
10994
|
*
|
|
11026
10995
|
* @config
|
|
11027
10996
|
*/
|
|
11028
|
-
label: LinearGaugeGroupLabel;
|
|
10997
|
+
get label(): LinearGaugeGroupLabel;
|
|
11029
10998
|
/**
|
|
11030
10999
|
* 자식 게이지들의 label 표시 관련 속성 모델.
|
|
11031
11000
|
*
|
|
11032
11001
|
* @config
|
|
11033
11002
|
*/
|
|
11034
|
-
itemLabel: LinearGaugeChildLabel;
|
|
11003
|
+
get itemLabel(): LinearGaugeChildLabel;
|
|
11035
11004
|
/**
|
|
11036
11005
|
* scale.
|
|
11037
11006
|
*
|
|
11038
11007
|
* @config
|
|
11039
11008
|
*/
|
|
11040
|
-
scale: LinearGaugeScale;
|
|
11009
|
+
get scale(): LinearGaugeScale;
|
|
11041
11010
|
calcedMinMax(): IMinMax;
|
|
11042
11011
|
}
|
|
11012
|
+
/**
|
|
11013
|
+
* 선형 그룹게이지 모델.<br/>
|
|
11014
|
+
* {@page options} 모델은 {@page op.LinearGaugeGroupOptions}이다.
|
|
11015
|
+
*/
|
|
11043
11016
|
declare class LinearGaugeGroup extends LinearGaugeGroupBase<LinearGauge, LinearGaugeGroupOptions> {
|
|
11044
11017
|
static readonly type = "lineargroup";
|
|
11045
11018
|
static readonly gaugeType = "line";
|
|
11046
|
-
|
|
11019
|
+
private _band;
|
|
11020
|
+
protected _doInitChildren(op: {
|
|
11021
|
+
[child: string]: ChartItemOptions;
|
|
11022
|
+
}): void;
|
|
11047
11023
|
/**
|
|
11048
11024
|
* 게이지 본체 주변이나 내부에 값 영역들을 구분해서 표시하는 band의 모델.
|
|
11049
11025
|
*
|
|
11050
11026
|
* @config
|
|
11051
11027
|
*/
|
|
11052
|
-
band: GaugeRangeBand;
|
|
11028
|
+
get band(): GaugeRangeBand;
|
|
11053
11029
|
_gaugesType(): string;
|
|
11054
11030
|
protected _doPrepareRender(chart: IChart): void;
|
|
11055
11031
|
}
|
|
11056
11032
|
|
|
11033
|
+
/**
|
|
11034
|
+
* Bullet 게이지 밴드 모델.<br/>
|
|
11035
|
+
* {@page options} 모델은 {@page op.BulletGaugeBandOptions}이다.
|
|
11036
|
+
*/
|
|
11057
11037
|
declare class BulletGaugeBand extends ChartItem<BulletGaugeBandOptions> {
|
|
11058
11038
|
gauge: BulletGauge | BulletGaugeGroup;
|
|
11059
11039
|
static defaults: BulletGaugeBandOptions;
|
|
@@ -11070,40 +11050,57 @@ declare class BulletGaugeBand extends ChartItem<BulletGaugeBandOptions> {
|
|
|
11070
11050
|
protected _doApply(options: BulletGaugeBandOptions): void;
|
|
11071
11051
|
private $_internalRanges;
|
|
11072
11052
|
}
|
|
11053
|
+
/**
|
|
11054
|
+
* Bullet 게이지 목표 bar 모델.<br/>
|
|
11055
|
+
* {@page options} 모델은 {@page op.BulletTargetBarOptions}이다.
|
|
11056
|
+
*/
|
|
11073
11057
|
declare class BulletTargetBar extends GaugeItem<BulletTargetBarOptions> {
|
|
11074
11058
|
static defaults: BulletTargetBarOptions;
|
|
11075
11059
|
}
|
|
11060
|
+
/**
|
|
11061
|
+
* Bullet 게이지 값 bar 모델.<br/>
|
|
11062
|
+
* {@page options} 모델은 {@page op.BulletValueBarOptions}이다.
|
|
11063
|
+
*/
|
|
11076
11064
|
declare class BulletValueBar extends LinearValueBar<BulletValueBarOptions> {
|
|
11077
11065
|
}
|
|
11078
11066
|
/**
|
|
11079
|
-
*
|
|
11080
|
-
*
|
|
11081
|
-
*
|
|
11067
|
+
* Bullet 게이지 모델.<br/>
|
|
11068
|
+
* {@page op.GaugeOptions#type}은 **'bullet'** 이고,
|
|
11069
|
+
* {@page options 설정} 모델은 {@page op.BulletGaugeOptions}이다.
|
|
11082
11070
|
*/
|
|
11083
11071
|
declare class BulletGauge extends LinearGaugeBase<BulletGaugeOptions> {
|
|
11084
11072
|
static readonly type = "bullet";
|
|
11085
11073
|
static defaults: BulletGaugeOptions;
|
|
11086
|
-
|
|
11074
|
+
private _band;
|
|
11075
|
+
private _targetBar;
|
|
11076
|
+
private _valueBar;
|
|
11077
|
+
protected _doInitChildren(op: {
|
|
11078
|
+
[child: string]: ChartItemOptions;
|
|
11079
|
+
}): void;
|
|
11087
11080
|
/**
|
|
11088
11081
|
* 밴드.
|
|
11089
11082
|
*
|
|
11090
11083
|
* @config
|
|
11091
11084
|
*/
|
|
11092
|
-
band: BulletGaugeBand;
|
|
11085
|
+
get band(): BulletGaugeBand;
|
|
11093
11086
|
/**
|
|
11094
11087
|
* target bar.
|
|
11095
11088
|
*
|
|
11096
11089
|
* @config
|
|
11097
11090
|
*/
|
|
11098
|
-
targetBar: BulletTargetBar;
|
|
11091
|
+
get targetBar(): BulletTargetBar;
|
|
11099
11092
|
/**
|
|
11100
|
-
*
|
|
11093
|
+
* value bar.
|
|
11101
11094
|
*
|
|
11102
11095
|
* @config
|
|
11103
11096
|
*/
|
|
11104
|
-
valueBar: BulletValueBar;
|
|
11097
|
+
get valueBar(): BulletValueBar;
|
|
11105
11098
|
getRanges(min: number, max: number, inclusive: boolean): ValueRange[];
|
|
11106
11099
|
}
|
|
11100
|
+
/**
|
|
11101
|
+
* Bullet 그룹 게이지 모델.<br/>
|
|
11102
|
+
* {@page options} 모델은 {@page op.BulletGaugeGroupOptions}이다.
|
|
11103
|
+
*/
|
|
11107
11104
|
declare class BulletGaugeGroup extends LinearGaugeGroupBase<BulletGauge, BulletGaugeGroupOptions> {
|
|
11108
11105
|
static readonly type: string;
|
|
11109
11106
|
static readonly gaugeType = "bullet";
|
|
@@ -11114,6 +11111,7 @@ declare class BulletGaugeGroup extends LinearGaugeGroupBase<BulletGauge, BulletG
|
|
|
11114
11111
|
|
|
11115
11112
|
/**
|
|
11116
11113
|
* Clock 게이지 테두리(rim) 설정 모델.<br/>
|
|
11114
|
+
* {@page options} 모델은 {@page op.ClockGaugeRimOptions}이다.
|
|
11117
11115
|
*/
|
|
11118
11116
|
declare class ClockGaugeRim extends GaugeItem<ClockGaugeRimOptions> {
|
|
11119
11117
|
static defaults: ClockGaugeRimOptions;
|
|
@@ -11123,6 +11121,7 @@ declare class ClockGaugeRim extends GaugeItem<ClockGaugeRimOptions> {
|
|
|
11123
11121
|
}
|
|
11124
11122
|
/**
|
|
11125
11123
|
* Clock 게이지 시/분침(hand) 설정 모델.<br/>
|
|
11124
|
+
* {@page options} 모델은 {@page op.ClockGaugeHandOptions}이다.
|
|
11126
11125
|
*/
|
|
11127
11126
|
declare class ClockGaugeHand<OP extends ClockGaugeHandOptions = ClockGaugeHandOptions> extends GaugeItem<OP> {
|
|
11128
11127
|
static defaults: ClockGaugeHandOptions;
|
|
@@ -11130,17 +11129,23 @@ declare class ClockGaugeHand<OP extends ClockGaugeHandOptions = ClockGaugeHandOp
|
|
|
11130
11129
|
getLength(domain: number): number;
|
|
11131
11130
|
protected _doApply(options: ClockGaugeHandOptions): void;
|
|
11132
11131
|
}
|
|
11132
|
+
/**
|
|
11133
|
+
* Clock 게이지 분침 모델.<br/>
|
|
11134
|
+
* {@page options} 모델은 {@page op.ClockGaugeHandOptions}이다.
|
|
11135
|
+
*/
|
|
11133
11136
|
declare class ClockGaugeMinuteHand extends ClockGaugeHand<ClockGaugeHandOptions> {
|
|
11134
11137
|
static defaults: ClockGaugeHandOptions;
|
|
11135
11138
|
}
|
|
11136
11139
|
/**
|
|
11137
11140
|
* Clock 게이지 초침(hand) 설정 모델.<br/>
|
|
11141
|
+
* {@page options} 모델은 {@page op.ClockGaugeSecondHandOptions}이다.
|
|
11138
11142
|
*/
|
|
11139
11143
|
declare class ClockGaugeSecondHand extends ClockGaugeHand<ClockGaugeSecondHandOptions> {
|
|
11140
11144
|
static defaults: ClockGaugeSecondHandOptions;
|
|
11141
11145
|
}
|
|
11142
11146
|
/**
|
|
11143
11147
|
* Clock 게이지 tick 설정 모델.<br/>
|
|
11148
|
+
* {@page options} 모델은 {@page op.ClockGaugeTickOptions}이다.
|
|
11144
11149
|
*/
|
|
11145
11150
|
declare class ClockGaugeTick extends GaugeItem<ClockGaugeTickOptions> {
|
|
11146
11151
|
length: number;
|
|
@@ -11148,12 +11153,14 @@ declare class ClockGaugeTick extends GaugeItem<ClockGaugeTickOptions> {
|
|
|
11148
11153
|
}
|
|
11149
11154
|
/**
|
|
11150
11155
|
* Clock 게이지 tick 라벨 설정 모델.<br/>
|
|
11156
|
+
* {@page options} 모델은 {@page op.ClockGaugeTickLabelOptions}이다.
|
|
11151
11157
|
*/
|
|
11152
11158
|
declare class ClockGaugeTickLabel extends GaugeItem<ClockGaugeTickLabelOptions> {
|
|
11153
11159
|
static defaults: ClockGaugeTickLabelOptions;
|
|
11154
11160
|
}
|
|
11155
11161
|
/**
|
|
11156
11162
|
* Clock 게이지 중심 pin 설정 모델.<br/>
|
|
11163
|
+
* {@page options} 모델은 {@page op.ClockGaugePinOptions}이다.
|
|
11157
11164
|
*/
|
|
11158
11165
|
declare class ClockGaugePin extends GaugeItem<ClockGaugePinOptions> {
|
|
11159
11166
|
raidus: number;
|
|
@@ -11161,6 +11168,7 @@ declare class ClockGaugePin extends GaugeItem<ClockGaugePinOptions> {
|
|
|
11161
11168
|
}
|
|
11162
11169
|
/**
|
|
11163
11170
|
* Clock 게이지 내부에 표시되는 라벨 설정 모델.<br/>
|
|
11171
|
+
* {@page options} 모델은 {@page op.ClockGaugeLabelOptions}이다.
|
|
11164
11172
|
*/
|
|
11165
11173
|
declare class ClockGaugeLabel extends ChartText<ClockGaugeLabelOptions> {
|
|
11166
11174
|
static defaults: ClockGaugeLabelOptions;
|
|
@@ -11168,7 +11176,8 @@ declare class ClockGaugeLabel extends ChartText<ClockGaugeLabelOptions> {
|
|
|
11168
11176
|
}
|
|
11169
11177
|
/**
|
|
11170
11178
|
* 시계 게이지 모델.<br/>
|
|
11171
|
-
*
|
|
11179
|
+
* {@page op.GaugeOptions#type}은 **'clock'** 이고,
|
|
11180
|
+
* {@page options 설정} 모델은 {@page op.ClockGaugeOptions}이다.
|
|
11172
11181
|
*/
|
|
11173
11182
|
declare class ClockGauge extends Gauge<ClockGaugeOptions> {
|
|
11174
11183
|
static readonly type = "clock";
|
|
@@ -11179,7 +11188,9 @@ declare class ClockGauge extends Gauge<ClockGaugeOptions> {
|
|
|
11179
11188
|
private _centerXDim;
|
|
11180
11189
|
private _centerYDim;
|
|
11181
11190
|
private _radiusDim;
|
|
11182
|
-
protected
|
|
11191
|
+
protected _doInitChildren(op: {
|
|
11192
|
+
[child: string]: ChartItemOptions;
|
|
11193
|
+
}): void;
|
|
11183
11194
|
/**
|
|
11184
11195
|
* rim 설정 모델.
|
|
11185
11196
|
*
|
|
@@ -11244,7 +11255,9 @@ declare class ClockGauge extends Gauge<ClockGaugeOptions> {
|
|
|
11244
11255
|
}
|
|
11245
11256
|
|
|
11246
11257
|
/**
|
|
11247
|
-
* Text Annotation
|
|
11258
|
+
* Text Annotation 모델.<br/>
|
|
11259
|
+
* {@page op.AnnotationOptions#type}은 **'text'** 이고,
|
|
11260
|
+
* {@page options 설정} 모델은 {@page op.TextAnnotationOptions}이다.
|
|
11248
11261
|
*/
|
|
11249
11262
|
declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
|
|
11250
11263
|
static readonly type: string;
|
|
@@ -11258,7 +11271,9 @@ declare class TextAnnotation extends Annotation<TextAnnotationOptions> {
|
|
|
11258
11271
|
}
|
|
11259
11272
|
|
|
11260
11273
|
/**
|
|
11261
|
-
* 이미지 Annotation
|
|
11274
|
+
* 이미지 Annotation 모델.<br/>
|
|
11275
|
+
* {@page op.AnnotationOptions#type}은 **'image'** 이고,
|
|
11276
|
+
* {@page options 설정} 모델은 {@page op.ImageAnnotationOptions}이다.
|
|
11262
11277
|
*/
|
|
11263
11278
|
declare class ImageAnnotation extends Annotation<ImageAnnotationOptions> {
|
|
11264
11279
|
static readonly type: string;
|
|
@@ -11267,7 +11282,9 @@ declare class ImageAnnotation extends Annotation<ImageAnnotationOptions> {
|
|
|
11267
11282
|
}
|
|
11268
11283
|
|
|
11269
11284
|
/**
|
|
11270
|
-
* Shape Annotation
|
|
11285
|
+
* Shape Annotation 모델.<br/>
|
|
11286
|
+
* {@page op.AnnotationOptions#type}은 **'shape'** 이고,
|
|
11287
|
+
* {@page options 설정} 모델은 {@page op.ShapeAnnotationOptions}이다.
|
|
11271
11288
|
*/
|
|
11272
11289
|
declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|
|
11273
11290
|
static readonly type: string;
|
|
@@ -11287,7 +11304,8 @@ declare const getVersion: typeof Globals.getVersion;
|
|
|
11287
11304
|
declare const setDebugging: typeof Globals.setDebugging;
|
|
11288
11305
|
declare const setLogging: typeof Globals.setLogging;
|
|
11289
11306
|
declare const setAnimatable: typeof Globals.setAnimatable;
|
|
11307
|
+
declare const configure: typeof Globals.configure;
|
|
11290
11308
|
declare const createChart: typeof Globals.createChart;
|
|
11291
11309
|
declare const createData: typeof Globals.createData;
|
|
11292
11310
|
|
|
11293
|
-
export { Annotation, AreaRangeSeries, AreaSeries, AreaSeriesGroup, Axis, AxisBaseLine, AxisGrid, AxisItem, AxisLabel, AxisLabelArgs, AxisLine, AxisScrollBar, AxisSectorLine, AxisTitle, BarRangeSeries, BarSeries, BarSeriesBase, BarSeriesGroup, BarSeriesGroupBase, BasedSeries, BellCurveSeries, Body, BoxPlotSeries, BubbleSeries, BulletGauge, BulletGaugeBand, BulletGaugeGroup, BulletTargetBar, BulletValueBar, BumpSeriesGroup, CandlestickSeries, CategoryAxis, Chart, ChartData, ChartDataOptions, ChartItem, ChartText, CircleBarSeries, CircleBarSeriesGroup, CircleGauge, CircleGaugeGroup, CircleGaugeHand, CircleGaugePin, CircleGaugeRim, CircleGaugeScale, CircleGaugeValueRim, CircularGauge, CircularGaugeLabel, ClockGauge, ClockGaugeHand, ClockGaugeLabel, ClockGaugeMinuteHand, ClockGaugePin, ClockGaugeRim, ClockGaugeSecondHand, ClockGaugeTick, ClockGaugeTickLabel, ClusterableSeries, ClusterableSeriesGroup, ConstraintSeriesGroup, ContinuousAxis, Crosshair, CrosshairCallbackArgs, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DumbbellSeries, EqualizerSeries, ErrorBarSeries, ExportOptions, FunnelSeries, Gauge, GaugeBase, GaugeGroup, GaugeRangeBand, GaugeRangeLabel, HeatmapSeries, HistogramSeries, IAxis, Point as IPoint, IconedText, ImageAnnotation, Legend, LinePointLabel, LineSeries, LineSeriesBase, LineSeriesGroup, LineSeriesPoint, LinearAxis, LinearGauge, LinearGaugeBase, LinearGaugeChildLabel, LinearGaugeGroup, LinearGaugeGroupBase, LinearGaugeGroupLabel, LinearGaugeLabel, LinearGaugeScale, LogAxis, LollipopSeries, LowRangedSeries, MarkerSeries, OhlcSeries, ParetoSeries, PieSeries, PieSeriesGroup, RadialSeries, RangedSeries, RcObject, SVGStyles, ScatterSeries, Series, SeriesGroup, SeriesMarker, SeriesNavigator, ShapeAnnotation, SplineSeries, Split, StepCallbackArgs, Subtitle, TextAnnotation, TimeAxis, Title, Tooltip, TreemapSeries, Trendline, ValueGauge, ValueRange, ValueRangeList, VectorSeries, WaterfallSeries, Widget, WidgetSeries, createChart, createData, getVersion, setAnimatable, setDebugging, setLogging };
|
|
11311
|
+
export { Annotation, AreaRangeSeries, AreaSeries, AreaSeriesGroup, Axis, AxisBaseLine, AxisGrid, AxisItem, AxisLabel, AxisLabelArgs, AxisLine, AxisScrollBar, AxisSectorLine, AxisTick, AxisTitle, BarRangeSeries, BarSeries, BarSeriesBase, BarSeriesGroup, BarSeriesGroupBase, BasedSeries, BellCurveSeries, Body, BoxPlotSeries, BubbleSeries, BulletGauge, BulletGaugeBand, BulletGaugeGroup, BulletTargetBar, BulletValueBar, BumpSeriesGroup, CandlestickSeries, CategoryAxis, CategoryAxisGrid, CategoryAxisLabel, CategoryAxisTick, Chart, ChartData, ChartDataCollection, ChartDataOptions, ChartItem, ChartOptions, ChartText, CircelBarPointLabel, CircleBarSeries, CircleBarSeriesGroup, CircleGauge, CircleGaugeGroup, CircleGaugeHand, CircleGaugePin, CircleGaugeRim, CircleGaugeRimBase, CircleGaugeScale, CircleGaugeValueRim, CircularGauge, CircularGaugeGroup, CircularGaugeLabel, ClockGauge, ClockGaugeHand, ClockGaugeLabel, ClockGaugeMinuteHand, ClockGaugePin, ClockGaugeRim, ClockGaugeSecondHand, ClockGaugeTick, ClockGaugeTickLabel, ClusterableSeries, ClusterableSeriesGroup, ConstraintSeriesGroup, ContinuousAxis, Credits, Crosshair, CrosshairCallbackArgs, DataPoint, DataPointCallbackArgs, DataPointCollection, DataPointLabel, DumbbellSeries, EqualizerSeries, ErrorBarSeries, ExportOptions, Exporter, FunnelSeries, Gauge, GaugeBase, GaugeGroup, GaugeItem, GaugeLabel, GaugeRangeBand, GaugeRangeLabel, GaugeScale, HeatmapSeries, HistogramSeries, IAxis, Point as IPoint, IconedText, ImageAnnotation, Legend, LinePointLabel, LineSeries, LineSeriesBase, LineSeriesGroup, LineSeriesPoint, LinearAxis, LinearGauge, LinearGaugeBase, LinearGaugeChildLabel, LinearGaugeGroup, LinearGaugeGroupBase, LinearGaugeGroupLabel, LinearGaugeLabel, LinearGaugeScale, LinearValueBar, LogAxis, LollipopSeries, LowRangedSeries, MarkerSeries, NavigatorMask, NavigiatorHandle, OhlcSeries, ParetoSeries, PieSeries, PieSeriesGroup, PieSeriesLabel, PieSeriesText, PointHovering, RadialSeries, RangedSeries, RcObject, SVGStyles, ScatterSeries, Series, SeriesGroup, SeriesMarker, SeriesNavigator, Shape, ShapeAnnotation, SplineSeries, Split, StepCallbackArgs, Subtitle, TextAnnotation, TimeAxis, Title, Tooltip, TreemapSeries, Trendline, ValueGauge, ValueRange, ValueRangeList, VectorSeries, WaterfallSeries, Widget, WidgetSeries, configure, createChart, createData, getVersion, setAnimatable, setDebugging, setLogging };
|