realchart 1.3.13 → 1.3.15
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/gauge.js +1 -1
- package/gauge.mjs +1 -1
- package/heatmap.js +1 -1
- package/heatmap.mjs +1 -1
- package/index.d.ts +117 -65
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
- package/split.js +1 -1
- package/split.mjs +1 -1
- package/treemap.js +1 -1
- package/treemap.mjs +1 -1
- package/vector.js +1 -1
- package/vector.mjs +1 -1
- package/wordcloud.js +1 -1
- package/wordcloud.mjs +1 -1
package/gauge.js
CHANGED
package/gauge.mjs
CHANGED
package/heatmap.js
CHANGED
package/heatmap.mjs
CHANGED
package/index.d.ts
CHANGED
|
@@ -1594,21 +1594,6 @@ declare const _Shapes: {
|
|
|
1594
1594
|
* @config
|
|
1595
1595
|
*/
|
|
1596
1596
|
readonly RECTANGLE: "rectangle";
|
|
1597
|
-
/**
|
|
1598
|
-
* 수직선
|
|
1599
|
-
* @config
|
|
1600
|
-
*/
|
|
1601
|
-
readonly VLINE: "vline";
|
|
1602
|
-
/**
|
|
1603
|
-
* 수평선
|
|
1604
|
-
* @config
|
|
1605
|
-
*/
|
|
1606
|
-
readonly HLINE: "hline";
|
|
1607
|
-
/**
|
|
1608
|
-
* 직선
|
|
1609
|
-
* @config
|
|
1610
|
-
*/
|
|
1611
|
-
readonly LINE: "line";
|
|
1612
1597
|
};
|
|
1613
1598
|
/** @dummy */
|
|
1614
1599
|
type Shape = typeof _Shapes[keyof typeof _Shapes];
|
|
@@ -2274,18 +2259,16 @@ interface SeriesMarkerOptions extends ChartItemOptions {
|
|
|
2274
2259
|
*/
|
|
2275
2260
|
interface MarkerSeriesOptions extends ConnectableSeriesOptions {
|
|
2276
2261
|
/**
|
|
2277
|
-
* 명시적으로 지정하지 않으면 typeIndex에 따라 Shapes 중 하나로 돌아가면서
|
|
2278
|
-
*
|
|
2262
|
+
* 명시적으로 지정하지 않으면 typeIndex에 따라 Shapes 중 하나로 돌아가면서 설정된다.<br/>
|
|
2263
|
+
* 'none'으로 지정하면 그리지 않는다.
|
|
2279
2264
|
*/
|
|
2280
2265
|
shape?: Shape;
|
|
2281
2266
|
/**
|
|
2282
2267
|
* 데이터포인트 {@page shape 도형} 회전 각도.<br/>
|
|
2283
|
-
*
|
|
2284
2268
|
*/
|
|
2285
2269
|
rotation?: number;
|
|
2286
2270
|
/**
|
|
2287
2271
|
* 데이터포인트 별로 다른 색상으로 그린다.<br/>
|
|
2288
|
-
*
|
|
2289
2272
|
*/
|
|
2290
2273
|
colorByPoint?: boolean;
|
|
2291
2274
|
/**
|
|
@@ -2458,7 +2441,7 @@ interface WidgetSeriesLabelOptions extends DataPointLabelOptions {
|
|
|
2458
2441
|
*
|
|
2459
2442
|
* @default true
|
|
2460
2443
|
*/
|
|
2461
|
-
|
|
2444
|
+
convergent?: boolean;
|
|
2462
2445
|
/**
|
|
2463
2446
|
* label과 pie 본체와의 기본 간격.<br/>
|
|
2464
2447
|
*/
|
|
@@ -4593,13 +4576,13 @@ interface SubtitleOptions extends TitleOptions {
|
|
|
4593
4576
|
*
|
|
4594
4577
|
* ```js
|
|
4595
4578
|
* const config = {
|
|
4596
|
-
*
|
|
4579
|
+
* chart: {
|
|
4597
4580
|
* theme: 'dark',
|
|
4598
4581
|
* },
|
|
4599
4582
|
* };
|
|
4600
4583
|
* ```
|
|
4601
4584
|
*
|
|
4602
|
-
* @config chart.
|
|
4585
|
+
* @config chart.chart
|
|
4603
4586
|
*/
|
|
4604
4587
|
interface ChartOptionsOptions extends ChartItemOptions {
|
|
4605
4588
|
/**
|
|
@@ -4657,7 +4640,7 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
4657
4640
|
*/
|
|
4658
4641
|
xStart?: number;
|
|
4659
4642
|
/**
|
|
4660
|
-
* x축 값이 설정되지 않은 데이터 point에 지정되는 x값의
|
|
4643
|
+
* x축 값이 설정되지 않은 데이터 point에 지정되는 x값의 간격.<br/>
|
|
4661
4644
|
* 첫번째 값은 {@page xStart}로 설정한다.
|
|
4662
4645
|
* time 축일 때, 정수 값 대신 시간 단위('y', 'm', 'd', 'h', 'n', 's')로 지정할 수 있다.
|
|
4663
4646
|
* 시리즈의 {@page Series.xStep}이 설정되면 그 값이 사용된다.
|
|
@@ -4666,18 +4649,19 @@ interface ChartOptionsOptions extends ChartItemOptions {
|
|
|
4666
4649
|
*/
|
|
4667
4650
|
xStep?: number | string;
|
|
4668
4651
|
/**
|
|
4669
|
-
* 복수 axis가 표시되는 경우 axis 사이의
|
|
4652
|
+
* 복수 axis가 표시되는 경우 axis 사이의 간격.<br/>
|
|
4670
4653
|
*
|
|
4671
4654
|
* @default 8
|
|
4672
4655
|
*/
|
|
4673
4656
|
axisGap?: number;
|
|
4674
4657
|
/**
|
|
4675
|
-
*
|
|
4658
|
+
* @deprecated v1.3.15 이후로, {@page config.credits}으로 대신 설정한다.
|
|
4676
4659
|
*
|
|
4660
|
+
* 크레딧 모델.<br/>
|
|
4677
4661
|
*/
|
|
4678
|
-
credits?: CreditsOptions;
|
|
4662
|
+
credits?: CreditsOptions | boolean;
|
|
4679
4663
|
/**
|
|
4680
|
-
* 데이터포인트에 마우스가 올라가면 나머지 시리즈들을 반투명 처리해서 연결된 데이터포인터의 시리즈를
|
|
4664
|
+
* 데이터포인트에 마우스가 올라가면 나머지 시리즈들을 반투명 처리해서 연결된 데이터포인터의 시리즈를 강조한다.<br/>
|
|
4681
4665
|
*
|
|
4682
4666
|
* @default false
|
|
4683
4667
|
*/
|
|
@@ -5817,6 +5801,19 @@ declare abstract class RcAnimation {
|
|
|
5817
5801
|
protected abstract _doUpdate(rate: number): boolean;
|
|
5818
5802
|
}
|
|
5819
5803
|
|
|
5804
|
+
/**
|
|
5805
|
+
* legend 아이템들이 클릭 될 때 호출되는 콜백의 매개변수로 사용된다.
|
|
5806
|
+
*/
|
|
5807
|
+
interface LegendItemCallbackArgs {
|
|
5808
|
+
/**
|
|
5809
|
+
* RealChart의 공개 {@page api.Chart} 모델
|
|
5810
|
+
*/
|
|
5811
|
+
chart: object;
|
|
5812
|
+
/**
|
|
5813
|
+
* legend 아이템에 연결된 시리즈 또는 데이터 포인트
|
|
5814
|
+
*/
|
|
5815
|
+
source: object;
|
|
5816
|
+
}
|
|
5820
5817
|
/**
|
|
5821
5818
|
* @enum
|
|
5822
5819
|
*/
|
|
@@ -6035,6 +6032,11 @@ interface LegendOptions extends ChartItemOptions {
|
|
|
6035
6032
|
* @default true
|
|
6036
6033
|
*/
|
|
6037
6034
|
pointHovering?: boolean;
|
|
6035
|
+
/**
|
|
6036
|
+
* legend 아이템이 클릭 될 때 호출되는 이벤트 콜백<br/>
|
|
6037
|
+
* 리턴 값이 false일 경우 아이템에 연결된 시리즈나 데이터 포인트의 visible 값이 변경되지 않는다.
|
|
6038
|
+
*/
|
|
6039
|
+
onLegendItemClick?: (args: LegendItemCallbackArgs) => boolean | undefined;
|
|
6038
6040
|
}
|
|
6039
6041
|
|
|
6040
6042
|
/**
|
|
@@ -6673,6 +6675,7 @@ declare abstract class SeriesMarker<OP extends SeriesMarkerOptions = {}> extends
|
|
|
6673
6675
|
private _args;
|
|
6674
6676
|
constructor(series: Series);
|
|
6675
6677
|
getMarkerStyle(p: DataPoint): any;
|
|
6678
|
+
protected _doSetSimple(src: any): boolean;
|
|
6676
6679
|
}
|
|
6677
6680
|
declare class WidgetSeriesPoint extends DataPoint implements ILegendSource {
|
|
6678
6681
|
_calcedColor: string;
|
|
@@ -7120,7 +7123,7 @@ interface IAxis {
|
|
|
7120
7123
|
axisMax(): number;
|
|
7121
7124
|
axisMin(): number;
|
|
7122
7125
|
length(): number;
|
|
7123
|
-
zoom(start: number, end: number): boolean;
|
|
7126
|
+
zoom(start: number, end: number, minSize: number): boolean;
|
|
7124
7127
|
/**
|
|
7125
7128
|
* data point의 값을 축 상의 값으로 리턴한다.
|
|
7126
7129
|
*/
|
|
@@ -7368,7 +7371,7 @@ interface IAxisZoom {
|
|
|
7368
7371
|
start: number;
|
|
7369
7372
|
end: number;
|
|
7370
7373
|
}
|
|
7371
|
-
declare class AxisZoom {
|
|
7374
|
+
declare class AxisZoom implements IAxisZoom {
|
|
7372
7375
|
axis: Axis;
|
|
7373
7376
|
min: number;
|
|
7374
7377
|
max: number;
|
|
@@ -7378,6 +7381,7 @@ declare class AxisZoom {
|
|
|
7378
7381
|
total(): number;
|
|
7379
7382
|
length(): number;
|
|
7380
7383
|
isFull(): boolean;
|
|
7384
|
+
clamp(value: number, continuous?: boolean): number;
|
|
7381
7385
|
resize(start: number, end: number, minSize: number): boolean;
|
|
7382
7386
|
}
|
|
7383
7387
|
/**
|
|
@@ -7540,7 +7544,23 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
7540
7544
|
protected abstract _createTickModel(): AxisTick;
|
|
7541
7545
|
protected abstract _createLabel(): AxisLabel;
|
|
7542
7546
|
protected abstract _doPrepareRender(): void;
|
|
7547
|
+
/**
|
|
7548
|
+
*
|
|
7549
|
+
* @param min
|
|
7550
|
+
* @param max
|
|
7551
|
+
* @param length 축의 갯수.
|
|
7552
|
+
*/
|
|
7543
7553
|
protected abstract _doBuildTicks(min: number, max: number, length: number): IAxisTick[];
|
|
7554
|
+
/**
|
|
7555
|
+
*
|
|
7556
|
+
* @param min
|
|
7557
|
+
* @param max
|
|
7558
|
+
* @param length 축의 갯수.
|
|
7559
|
+
*/
|
|
7560
|
+
protected abstract _adjustMinMax(min: number, max: number, length: number): {
|
|
7561
|
+
min: number;
|
|
7562
|
+
max: number;
|
|
7563
|
+
};
|
|
7544
7564
|
value2Tooltip(value: number): any;
|
|
7545
7565
|
isBased(): boolean;
|
|
7546
7566
|
isBaseVisible(): boolean;
|
|
@@ -7554,6 +7574,10 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
7554
7574
|
_prepare(): void;
|
|
7555
7575
|
_prepareRender(): void;
|
|
7556
7576
|
afterRender(): void;
|
|
7577
|
+
/**
|
|
7578
|
+
*
|
|
7579
|
+
* @param length 축의 갯수.
|
|
7580
|
+
*/
|
|
7557
7581
|
_buildTicks(length: number): void;
|
|
7558
7582
|
_calcPoints(length: number, phase: number): void;
|
|
7559
7583
|
/**
|
|
@@ -8662,7 +8686,7 @@ interface CategoryAxisOptions extends AxisOptions {
|
|
|
8662
8686
|
/**
|
|
8663
8687
|
* @override
|
|
8664
8688
|
*/
|
|
8665
|
-
tick?: CategoryAxisTickOptions;
|
|
8689
|
+
tick?: CategoryAxisTickOptions | boolean;
|
|
8666
8690
|
/**
|
|
8667
8691
|
* Category 목록을 수집하는 시리즈.<br/>
|
|
8668
8692
|
* 지정하지 않으면 모든 시리즈에서 카테고리를 수집한다.
|
|
@@ -8897,11 +8921,11 @@ interface ContinuousAxisOptions extends AxisOptions {
|
|
|
8897
8921
|
/**
|
|
8898
8922
|
* @override
|
|
8899
8923
|
*/
|
|
8900
|
-
tick?: ContinuousAxisTickOptions;
|
|
8924
|
+
tick?: ContinuousAxisTickOptions | boolean;
|
|
8901
8925
|
/**
|
|
8902
8926
|
* @override
|
|
8903
8927
|
*/
|
|
8904
|
-
grid?: ContinuousAxisGridOptions;
|
|
8928
|
+
grid?: ContinuousAxisGridOptions | boolean;
|
|
8905
8929
|
/**
|
|
8906
8930
|
* @override
|
|
8907
8931
|
*/
|
|
@@ -8935,7 +8959,7 @@ interface LinearAxisOptions extends ContinuousAxisOptions {
|
|
|
8935
8959
|
/**
|
|
8936
8960
|
* @override
|
|
8937
8961
|
*/
|
|
8938
|
-
label?: LinearAxisLabelOptions;
|
|
8962
|
+
label?: LinearAxisLabelOptions | boolean;
|
|
8939
8963
|
}
|
|
8940
8964
|
/**
|
|
8941
8965
|
* Log축 틱 설정 모델.<br/>
|
|
@@ -8963,7 +8987,7 @@ interface LogAxisOptions extends ContinuousAxisOptions {
|
|
|
8963
8987
|
/**
|
|
8964
8988
|
* @override
|
|
8965
8989
|
*/
|
|
8966
|
-
tick?: LogAxisTickOptions;
|
|
8990
|
+
tick?: LogAxisTickOptions | boolean;
|
|
8967
8991
|
}
|
|
8968
8992
|
/**
|
|
8969
8993
|
* 시간축 label 설정 모델.<br/>
|
|
@@ -9002,7 +9026,7 @@ interface TimeAxisTickOptions extends ContinuousAxisTickOptions {
|
|
|
9002
9026
|
/**
|
|
9003
9027
|
* @override
|
|
9004
9028
|
*/
|
|
9005
|
-
label?: TimeAxisLabelOptions;
|
|
9029
|
+
label?: TimeAxisLabelOptions | boolean;
|
|
9006
9030
|
}
|
|
9007
9031
|
declare const TimeAxisType = "time";
|
|
9008
9032
|
/**
|
|
@@ -9018,7 +9042,7 @@ interface TimeAxisOptions extends ContinuousAxisOptions {
|
|
|
9018
9042
|
/**
|
|
9019
9043
|
* @override
|
|
9020
9044
|
*/
|
|
9021
|
-
label?: TimeAxisLabelOptions;
|
|
9045
|
+
label?: TimeAxisLabelOptions | boolean;
|
|
9022
9046
|
/**
|
|
9023
9047
|
* @override
|
|
9024
9048
|
* @default NaN
|
|
@@ -9027,7 +9051,7 @@ interface TimeAxisOptions extends ContinuousAxisOptions {
|
|
|
9027
9051
|
/**
|
|
9028
9052
|
* @override
|
|
9029
9053
|
*/
|
|
9030
|
-
tick?: TimeAxisTickOptions;
|
|
9054
|
+
tick?: TimeAxisTickOptions | boolean;
|
|
9031
9055
|
}
|
|
9032
9056
|
/** @dummy */
|
|
9033
9057
|
type AxisOptionsType = CategoryAxisOptions | LinearAxisOptions | LogAxisOptions | TimeAxisOptions;
|
|
@@ -10242,6 +10266,12 @@ interface ChartConfiguration {
|
|
|
10242
10266
|
/**
|
|
10243
10267
|
* 차트 전체에 영향을 미치는 옵션들.<br/>
|
|
10244
10268
|
*/
|
|
10269
|
+
chart?: ChartOptionsOptions;
|
|
10270
|
+
/**
|
|
10271
|
+
* @deprecated v1.3.15 이후로, {@page config.chart}로 대신 설정한다.
|
|
10272
|
+
*
|
|
10273
|
+
* 차트 전체에 영향을 미치는 옵션들.<br/>
|
|
10274
|
+
*/
|
|
10245
10275
|
options?: ChartOptionsOptions;
|
|
10246
10276
|
/**
|
|
10247
10277
|
* Asset 목록.<br/>
|
|
@@ -10251,7 +10281,7 @@ interface ChartConfiguration {
|
|
|
10251
10281
|
/**
|
|
10252
10282
|
* 차트 타이틀.<br/>
|
|
10253
10283
|
*/
|
|
10254
|
-
title?: TitleOptions | string;
|
|
10284
|
+
title?: TitleOptions | string | boolean;
|
|
10255
10285
|
/**
|
|
10256
10286
|
* 차트 제목 주위에 표시되는 부제목.<br/>
|
|
10257
10287
|
*/
|
|
@@ -10261,6 +10291,10 @@ interface ChartConfiguration {
|
|
|
10261
10291
|
* 시리즈나 데이터포인트 등의 이름과 심볼을 같이 표시할 수 있다.
|
|
10262
10292
|
*/
|
|
10263
10293
|
legend?: LegendOptions | boolean;
|
|
10294
|
+
/**
|
|
10295
|
+
* 크레딧 설정 옵션.<br/>
|
|
10296
|
+
*/
|
|
10297
|
+
credits?: CreditsOptions | boolean;
|
|
10264
10298
|
/**
|
|
10265
10299
|
* 데이터포인트 뷰에 마우스가 올라가면 표시되는 툴팁 상자.<br/>
|
|
10266
10300
|
* {@page guide.tooltip 툴팁 개요} 페이지를 참조한다.
|
|
@@ -10896,6 +10930,7 @@ interface IChart {
|
|
|
10896
10930
|
declare class Credits extends ChartItem<CreditsOptions> {
|
|
10897
10931
|
static defaults: CreditsOptions;
|
|
10898
10932
|
isFloating(): boolean;
|
|
10933
|
+
protected _doSetSimple(src: any): boolean;
|
|
10899
10934
|
}
|
|
10900
10935
|
/**
|
|
10901
10936
|
* 데이터포인트에 마우수가 올라갈 때 처리하는 방식 설정 모델.<br/>
|
|
@@ -10909,16 +10944,11 @@ declare class PointHovering extends ChartItem<PointHoveringOptions> {
|
|
|
10909
10944
|
* 차트 전역 설정 모델.
|
|
10910
10945
|
*/
|
|
10911
10946
|
declare class ChartOptions extends ChartItem<ChartOptionsOptions> {
|
|
10912
|
-
private _credits;
|
|
10913
10947
|
private _pointHovering;
|
|
10914
10948
|
static defaults: ChartOptionsOptions;
|
|
10915
10949
|
protected _doInitChildren(op: {
|
|
10916
10950
|
[child: string]: ChartItemOptions;
|
|
10917
10951
|
}): void;
|
|
10918
|
-
/**
|
|
10919
|
-
* 크레딧 모델.
|
|
10920
|
-
*/
|
|
10921
|
-
get credits(): Credits;
|
|
10922
10952
|
/**
|
|
10923
10953
|
* 데이터포인트에 마우수가 올라갈 때 처리하는 방식.<br/>
|
|
10924
10954
|
*/
|
|
@@ -10963,6 +10993,7 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
10963
10993
|
_title: Title<TitleOptions>;
|
|
10964
10994
|
_subtitle: Subtitle;
|
|
10965
10995
|
_legend: Legend;
|
|
10996
|
+
_credits: Credits;
|
|
10966
10997
|
_tooltip: Tooltip;
|
|
10967
10998
|
private _series;
|
|
10968
10999
|
private _xAxes;
|
|
@@ -11272,44 +11303,48 @@ declare class Chart {
|
|
|
11272
11303
|
*/
|
|
11273
11304
|
get series(): Series;
|
|
11274
11305
|
/**
|
|
11275
|
-
* 첫번째
|
|
11306
|
+
* 첫번째 게이지.<br/>
|
|
11276
11307
|
*/
|
|
11277
11308
|
get gauge(): Gauge;
|
|
11278
11309
|
/**
|
|
11279
|
-
* 차트 범례
|
|
11310
|
+
* 차트 범례 모델.<br/>
|
|
11280
11311
|
*/
|
|
11281
11312
|
get legend(): Legend;
|
|
11282
11313
|
/**
|
|
11283
|
-
*
|
|
11314
|
+
* 크레딧 모델.<br/>
|
|
11315
|
+
*/
|
|
11316
|
+
get credits(): Credits;
|
|
11317
|
+
/**
|
|
11318
|
+
* 툴팁 모델.<br/>
|
|
11284
11319
|
*/
|
|
11285
11320
|
get tooltip(): Tooltip;
|
|
11286
11321
|
/**
|
|
11287
|
-
* 첫번째 x
|
|
11322
|
+
* 첫번째 x 축.<br/>
|
|
11288
11323
|
*/
|
|
11289
11324
|
get xAxis(): Axis;
|
|
11290
11325
|
/**
|
|
11291
|
-
* 첫번째 y
|
|
11326
|
+
* 첫번째 y 축.<br/>
|
|
11292
11327
|
*/
|
|
11293
11328
|
get yAxis(): Axis;
|
|
11294
11329
|
/**
|
|
11295
|
-
* 차트 시리즈, 게이지, annotation들이 그려지는 plotting 영역
|
|
11330
|
+
* 차트 시리즈, 게이지, annotation들이 그려지는 plotting 영역 모델.<br/>
|
|
11296
11331
|
*/
|
|
11297
11332
|
get body(): Body;
|
|
11298
11333
|
/**
|
|
11299
|
-
* Split 설정
|
|
11334
|
+
* Split 설정 모델.<br/>
|
|
11300
11335
|
*/
|
|
11301
11336
|
get split(): ISplit | undefined;
|
|
11302
11337
|
/**
|
|
11303
|
-
* 시리즈 내비게이터
|
|
11338
|
+
* 시리즈 내비게이터 모델.<br/>
|
|
11304
11339
|
*/
|
|
11305
11340
|
get seriesNavigator(): SeriesNavigator;
|
|
11306
11341
|
/**
|
|
11307
|
-
* 차트 내보내기 관련 설정
|
|
11342
|
+
* 차트 내보내기 관련 설정 모델.<br/>
|
|
11308
11343
|
*/
|
|
11309
11344
|
get exporter(): Exporter;
|
|
11310
11345
|
/**
|
|
11311
11346
|
* name 매개변수가 문자열이면 지정한 이름의 x 축을,
|
|
11312
|
-
* 숫자이면 해당 index에 위치하는 x 축을
|
|
11347
|
+
* 숫자이면 해당 index에 위치하는 x 축을 리턴한다.<br/>
|
|
11313
11348
|
*
|
|
11314
11349
|
* @param name 이름이나 index
|
|
11315
11350
|
* @returns 축 객체
|
|
@@ -11317,14 +11352,14 @@ declare class Chart {
|
|
|
11317
11352
|
getXAxis(name: string | number): Axis;
|
|
11318
11353
|
/**
|
|
11319
11354
|
* name 매개변수가 문자열이면 지정한 이름의 y 축을,
|
|
11320
|
-
* 숫자이면 해당 index에 위치하는 y 축을
|
|
11355
|
+
* 숫자이면 해당 index에 위치하는 y 축을 리턴한다.<br/>
|
|
11321
11356
|
*
|
|
11322
11357
|
* @param name 이름이나 index
|
|
11323
11358
|
* @returns 축 객체
|
|
11324
11359
|
*/
|
|
11325
11360
|
getYAxis(name: string | number): Axis;
|
|
11326
11361
|
/**
|
|
11327
|
-
* 시리즈 이름에 해당하는 시리즈 객체를
|
|
11362
|
+
* 시리즈 이름에 해당하는 시리즈 객체를 리턴한다.<br/>
|
|
11328
11363
|
*
|
|
11329
11364
|
* @param name 시리즈 이름
|
|
11330
11365
|
* @returns 시리즈 객체
|
|
@@ -11338,14 +11373,14 @@ declare class Chart {
|
|
|
11338
11373
|
*/
|
|
11339
11374
|
seriesByType(type: string): Series | SeriesGroup;
|
|
11340
11375
|
/**
|
|
11341
|
-
* 게이지 이름에 해당하는 게이지 객체를
|
|
11376
|
+
* 게이지 이름에 해당하는 게이지 객체를 리턴한다.<br/>
|
|
11342
11377
|
*
|
|
11343
11378
|
* @param name 게이지 이름
|
|
11344
11379
|
* @returns 게이지 객체
|
|
11345
11380
|
*/
|
|
11346
11381
|
getGauge(name: string | number): GaugeBase;
|
|
11347
11382
|
/**
|
|
11348
|
-
* Annotation 이름에 해당하는 Annotation 객체를
|
|
11383
|
+
* Annotation 이름에 해당하는 Annotation 객체를 리턴한다.<br/>
|
|
11349
11384
|
*
|
|
11350
11385
|
* @param name Annotation 이름
|
|
11351
11386
|
* @returns Annotation 객체
|
|
@@ -11367,7 +11402,7 @@ declare class Chart {
|
|
|
11367
11402
|
*/
|
|
11368
11403
|
updateOptions(options: ChartConfiguration, render?: boolean): void;
|
|
11369
11404
|
/**
|
|
11370
|
-
* 현재 표시 중인 차트를 PNG, JPG 또는 SVG 벡터 이미지로
|
|
11405
|
+
* 현재 표시 중인 차트를 PNG, JPG 또는 SVG 벡터 이미지로 다운로드한다.<br/>
|
|
11371
11406
|
*
|
|
11372
11407
|
* ```js
|
|
11373
11408
|
* chart.export({
|
|
@@ -11391,7 +11426,7 @@ declare class Chart {
|
|
|
11391
11426
|
*/
|
|
11392
11427
|
setParam(param: string, value: any, redraw?: boolean): void;
|
|
11393
11428
|
/**
|
|
11394
|
-
* 시리즈를
|
|
11429
|
+
* 시리즈를 추가한다.<br/>
|
|
11395
11430
|
*
|
|
11396
11431
|
* @param source 시리즈 설정 json.
|
|
11397
11432
|
* @param animate 애니메이션 실행 여부.
|
|
@@ -11399,7 +11434,7 @@ declare class Chart {
|
|
|
11399
11434
|
*/
|
|
11400
11435
|
addSeries(source: any, animate?: boolean): Series;
|
|
11401
11436
|
/**
|
|
11402
|
-
* 기존 시리즈를
|
|
11437
|
+
* 기존 시리즈를 제거한다.<br/>
|
|
11403
11438
|
*
|
|
11404
11439
|
* @param series 시리즈 이름이나 시리즈 객체.
|
|
11405
11440
|
* @param animate 애니메이션 실행 여부.
|
|
@@ -11914,7 +11949,7 @@ declare abstract class ContinuousAxis<OP extends ContinuousAxisOptions = Continu
|
|
|
11914
11949
|
getLabelLength(length: number, value: number): number;
|
|
11915
11950
|
private _getStartFit;
|
|
11916
11951
|
private _getEndFit;
|
|
11917
|
-
protected _adjustMinMax(
|
|
11952
|
+
protected _adjustMinMax(min: number, max: number, length: number): {
|
|
11918
11953
|
min: number;
|
|
11919
11954
|
max: number;
|
|
11920
11955
|
};
|
|
@@ -11948,7 +11983,7 @@ declare class LinearAxis extends ContinuousAxis<LinearAxisOptions> {
|
|
|
11948
11983
|
*/
|
|
11949
11984
|
get label(): LinearAxisLabel;
|
|
11950
11985
|
protected _createLabel(): ContinuousAxisLabel;
|
|
11951
|
-
protected _adjustMinMax(
|
|
11986
|
+
protected _adjustMinMax(min: number, max: number, length: number): {
|
|
11952
11987
|
min: number;
|
|
11953
11988
|
max: number;
|
|
11954
11989
|
};
|
|
@@ -12123,7 +12158,19 @@ declare class PointLabelContainer extends LayerElement {
|
|
|
12123
12158
|
removePoint(p: DataPoint, delay: number): void;
|
|
12124
12159
|
private $_checkIntersects;
|
|
12125
12160
|
dedupe(views: PointLabelView[], lines: PointLabelLineContainer, mode: PointLabelDedupeMode): void;
|
|
12126
|
-
|
|
12161
|
+
/**
|
|
12162
|
+
* for pie, funnel
|
|
12163
|
+
* 라벨 정렬. 라벨이 겹치치 않도록 중앙과 가까운 라벨을 기준으로 밀어낸다.
|
|
12164
|
+
* @param owner
|
|
12165
|
+
* @param views
|
|
12166
|
+
* @param lines
|
|
12167
|
+
* @param _height
|
|
12168
|
+
* @param convergent
|
|
12169
|
+
* @param _dedupeMode
|
|
12170
|
+
* @param overflow
|
|
12171
|
+
* @returns
|
|
12172
|
+
*/
|
|
12173
|
+
arrangeVertical(owner: SeriesView<Series>, views: PointLabelView[], lines: PointLabelLineContainer, _height: number, convergent: boolean, _dedupeMode: PointLabelDedupeMode, overflow: PointLabelOverflow): number;
|
|
12127
12174
|
}
|
|
12128
12175
|
declare class PointLabelLineView extends GroupElement {
|
|
12129
12176
|
point: DataPoint;
|
|
@@ -12715,22 +12762,27 @@ declare class CategoryAxis extends Axis<CategoryAxisOptions> {
|
|
|
12715
12762
|
private _map;
|
|
12716
12763
|
private _catPad;
|
|
12717
12764
|
private _catMin;
|
|
12765
|
+
private _catMax;
|
|
12718
12766
|
private _catLen;
|
|
12719
12767
|
_pts: number[];
|
|
12720
12768
|
_tstep: number;
|
|
12721
12769
|
get tick(): CategoryAxisTick;
|
|
12722
12770
|
xValueAt(pos: number): number;
|
|
12723
|
-
getWdith(length: number, category: number): number;
|
|
12724
12771
|
_type(): string;
|
|
12725
12772
|
unitPad(): number;
|
|
12726
12773
|
continuous(): boolean;
|
|
12727
12774
|
polarOff(): number;
|
|
12775
|
+
_prepareZoom(): AxisZoom;
|
|
12728
12776
|
protected _createGrid(): CategoryAxisGrid;
|
|
12729
12777
|
protected _createTickModel(): CategoryAxisTick;
|
|
12730
12778
|
protected _createLabel(): CategoryAxisLabel;
|
|
12731
12779
|
collectValues(): void;
|
|
12732
12780
|
getStartAngle(): number;
|
|
12733
12781
|
protected _doPrepareRender(): void;
|
|
12782
|
+
protected _adjustMinMax(min: number, max: number, length: number): {
|
|
12783
|
+
min: number;
|
|
12784
|
+
max: number;
|
|
12785
|
+
};
|
|
12734
12786
|
protected _doBuildTicks(min: number, max: number, length: number): IAxisTick[];
|
|
12735
12787
|
_calcPoints(length: number, phase: number): void;
|
|
12736
12788
|
getPos(length: number, value: number): number;
|
|
@@ -13616,7 +13668,7 @@ declare class ShapeAnnotation extends Annotation<ShapeAnnotationOptions> {
|
|
|
13616
13668
|
xRange: number[];
|
|
13617
13669
|
yRange: number[];
|
|
13618
13670
|
};
|
|
13619
|
-
getShape():
|
|
13671
|
+
getShape(): ShapeAnnotationShape;
|
|
13620
13672
|
protected _doSetSimple(src: any): boolean;
|
|
13621
13673
|
}
|
|
13622
13674
|
|