realchart 1.1.1 → 1.1.3
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 +19 -31
- package/dist/index.esm.js +2 -2
- package/dist/index.ie.js +2 -2
- package/dist/index.js +2 -2
- package/dist/realchart-style.css +9 -1
- package/dist/realchart-style.ie.css +9 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4143,8 +4143,9 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
4143
4143
|
set visible(value: boolean);
|
|
4144
4144
|
protected _isVisible(): boolean;
|
|
4145
4145
|
/** @internal */
|
|
4146
|
-
|
|
4147
|
-
|
|
4146
|
+
_load(source: any): OP;
|
|
4147
|
+
loadOptions(source: any): OP;
|
|
4148
|
+
saveOptions(): any;
|
|
4148
4149
|
/**
|
|
4149
4150
|
* 하나 이상의 option 설정을 하고,
|
|
4150
4151
|
* 차트가 다시 그려지도록 한다.<br/>
|
|
@@ -4176,7 +4177,7 @@ declare class ChartItem<OP extends ChartItemOptions = ChartItemOptions> extends
|
|
|
4176
4177
|
*/
|
|
4177
4178
|
updateOption(prop: keyof OP, value: any, render?: boolean): this;
|
|
4178
4179
|
/**
|
|
4179
|
-
* Boolean 타입의 설정값을
|
|
4180
|
+
* Boolean 타입의 설정값을 변경한다.<br/>
|
|
4180
4181
|
* 지정 가능한 설정 값 목록은 {@page config Configuration API 페이지}에서 확인할 수 있다.
|
|
4181
4182
|
*
|
|
4182
4183
|
* ```js
|
|
@@ -4495,6 +4496,8 @@ declare class LegendItem extends ChartItem<ChartItemOptions> {
|
|
|
4495
4496
|
*/
|
|
4496
4497
|
declare class Legend extends Widget<LegendOptions> {
|
|
4497
4498
|
static defaults: LegendOptions;
|
|
4499
|
+
private _maxWidth;
|
|
4500
|
+
private _maxHeight;
|
|
4498
4501
|
private _items;
|
|
4499
4502
|
private _maxWidthDim;
|
|
4500
4503
|
private _maxHeightDim;
|
|
@@ -4926,7 +4929,7 @@ declare abstract class Series<OP extends SeriesOptions = SeriesOptions> extends
|
|
|
4926
4929
|
protected _createFielder(f: any): (v: any) => any;
|
|
4927
4930
|
private _createFielders;
|
|
4928
4931
|
protected _defaultLoadAnimation(): SeriesLoadAnimation;
|
|
4929
|
-
|
|
4932
|
+
_load(source: any): OP;
|
|
4930
4933
|
protected _doLoadData(src: any): any[];
|
|
4931
4934
|
_loadPoints(data: any): void;
|
|
4932
4935
|
protected _doLoadPoints(src: any): void;
|
|
@@ -5143,7 +5146,7 @@ declare abstract class MarkerSeries<OP extends MarkerSeriesOptions = MarkerSerie
|
|
|
5143
5146
|
}
|
|
5144
5147
|
|
|
5145
5148
|
/**
|
|
5146
|
-
* 데이터 포인트를 표시할 수 없는 값을 설정하면 null로
|
|
5149
|
+
* 데이터 포인트를 표시할 수 없는 값을 설정하면 null로 간주한다.<br/>
|
|
5147
5150
|
*
|
|
5148
5151
|
* isNull과 visible은 다르다.
|
|
5149
5152
|
* isNull이어도 자리를 차지한다.
|
|
@@ -5261,7 +5264,6 @@ declare class Crosshair extends ChartItem<CrosshairOptions> {
|
|
|
5261
5264
|
protected _doInit(): void;
|
|
5262
5265
|
/**
|
|
5263
5266
|
* 축 상에 crosshair의 정보를 표시하는 view.
|
|
5264
|
-
*
|
|
5265
5267
|
*/
|
|
5266
5268
|
flag: CrosshairFlagOptions;
|
|
5267
5269
|
isBar(): boolean;
|
|
@@ -5386,7 +5388,7 @@ declare class AxisGuideLabel extends IconedText<AxisGuideLabelOptions> {
|
|
|
5386
5388
|
getDefaultIconPos(): IconPosition;
|
|
5387
5389
|
}
|
|
5388
5390
|
/**
|
|
5389
|
-
* 기본적으로 이 축에 연결된 모든 body에 모두
|
|
5391
|
+
* 기본적으로 이 축에 연결된 모든 body에 모두 표시된다.<br/>
|
|
5390
5392
|
* col, row를 지정해서 특정 body에만 표시되도록 할 수 있다.
|
|
5391
5393
|
*/
|
|
5392
5394
|
declare abstract class AxisGuide<OP extends AxisGuideOptions = AxisGuideOptions> extends AxisItem<OP> {
|
|
@@ -5575,7 +5577,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
5575
5577
|
*/
|
|
5576
5578
|
get isX(): boolean;
|
|
5577
5579
|
/**
|
|
5578
|
-
* 시리즈 연결
|
|
5580
|
+
* 시리즈 연결 여부.<br/>
|
|
5579
5581
|
* 연결된 시리즈가 하나도 없으면 true.
|
|
5580
5582
|
*/
|
|
5581
5583
|
isEmpty(): boolean;
|
|
@@ -5635,7 +5637,7 @@ declare abstract class Axis<OP extends AxisOptions = AxisOptions> extends ChartI
|
|
|
5635
5637
|
setPrevRate(rate: number): void;
|
|
5636
5638
|
prev(pos: number): number;
|
|
5637
5639
|
abstract xValueAt(pos: number): number;
|
|
5638
|
-
|
|
5640
|
+
_load(source: any): OP;
|
|
5639
5641
|
protected _doApply(options: AxisOptions): void;
|
|
5640
5642
|
protected _setMinMax(min: number, max: number): void;
|
|
5641
5643
|
protected abstract _createGrid(): AxisGrid;
|
|
@@ -8148,7 +8150,7 @@ declare abstract class GaugeBase<OP extends GaugeBaseOptions = GaugeBaseOptions>
|
|
|
8148
8150
|
getRight(doamin: number): number;
|
|
8149
8151
|
getTop(doamin: number): number;
|
|
8150
8152
|
getBottom(doamin: number): number;
|
|
8151
|
-
|
|
8153
|
+
_load(source: any): OP;
|
|
8152
8154
|
protected _doApply(options: GaugeBaseOptions): void;
|
|
8153
8155
|
}
|
|
8154
8156
|
declare abstract class GaugeItem<OP extends ChartItemOptions> extends ChartItem<OP> {
|
|
@@ -8163,11 +8165,6 @@ declare abstract class Gauge<OP extends GaugeOptions = GaugeOptions> extends Gau
|
|
|
8163
8165
|
static _loadGauge(chart: IChart, src: any, defType?: string): Gauge;
|
|
8164
8166
|
_group: GaugeGroup;
|
|
8165
8167
|
_gindex: number;
|
|
8166
|
-
/**
|
|
8167
|
-
* Animation duration.
|
|
8168
|
-
*
|
|
8169
|
-
* @config
|
|
8170
|
-
*/
|
|
8171
8168
|
setGroup(group: GaugeGroup, index: number): void;
|
|
8172
8169
|
}
|
|
8173
8170
|
/**
|
|
@@ -8535,7 +8532,7 @@ declare class Pane extends ChartItem<PaneOptions> {
|
|
|
8535
8532
|
_prepareRender(): void;
|
|
8536
8533
|
}
|
|
8537
8534
|
/**
|
|
8538
|
-
* 다중 분할 panes
|
|
8535
|
+
* 다중 분할 panes.<br/>
|
|
8539
8536
|
* 각 pane에 해당하는 x, y축이 반드시 존재해야 한다.
|
|
8540
8537
|
* axis는 {@page config.base.axis#row row}, {@page config.base.axis#col col} 속성으로 위치를 지정한다.
|
|
8541
8538
|
* 시리즈는 {@page config.base.series#row row}, {@page config.base.series#col col} 속성으로 지정하거나, 아니면 axis 위치에 따라 자동으로 결정된다.
|
|
@@ -8565,7 +8562,7 @@ declare class Split extends ChartItem<SplitOptions> {
|
|
|
8565
8562
|
getColumn(col: number): Pane[];
|
|
8566
8563
|
protected _doLoadProp(prop: string, value: any): boolean;
|
|
8567
8564
|
protected _doSetSimple(source: any): boolean;
|
|
8568
|
-
|
|
8565
|
+
_load(source: any): ChartItem;
|
|
8569
8566
|
protected _doPrepareRender(chart: IChart): void;
|
|
8570
8567
|
getXLens(length: number): number[];
|
|
8571
8568
|
getYLens(length: number): number[];
|
|
@@ -8768,10 +8765,6 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
8768
8765
|
assignTemplates: (target: any) => any;
|
|
8769
8766
|
_dataDirty: boolean;
|
|
8770
8767
|
_loadAnimatable: boolean;
|
|
8771
|
-
/**
|
|
8772
|
-
*
|
|
8773
|
-
* @param source
|
|
8774
|
-
*/
|
|
8775
8768
|
constructor(config?: ChartConfiguration);
|
|
8776
8769
|
private _initOptions;
|
|
8777
8770
|
_createChart(config: any): IChart;
|
|
@@ -8868,7 +8861,6 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
8868
8861
|
|
|
8869
8862
|
/**
|
|
8870
8863
|
* Annotation 모델.<br/>
|
|
8871
|
-
*
|
|
8872
8864
|
*/
|
|
8873
8865
|
declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptions> extends ChartItem<OP> {
|
|
8874
8866
|
inBody: boolean;
|
|
@@ -8900,13 +8892,13 @@ declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptio
|
|
|
8900
8892
|
*/
|
|
8901
8893
|
get name(): string;
|
|
8902
8894
|
/**
|
|
8903
|
-
* 처음 표시될 때 실행될 에니메이션 설정 정보.
|
|
8895
|
+
* TODO: 처음 표시될 때 실행될 에니메이션 설정 정보.
|
|
8904
8896
|
*/
|
|
8905
8897
|
getOffset(w: number, h: number): Point;
|
|
8906
8898
|
getSize(wDomain: number, hDomain: number): Size;
|
|
8907
8899
|
getPosition(inverted: boolean, left: number, top: number, wDomain: number, hDomain: number, width: number, height: number): Point;
|
|
8908
8900
|
refresh(): void;
|
|
8909
|
-
|
|
8901
|
+
_load(source: any): OP;
|
|
8910
8902
|
protected _doApply(options: AnnotationOptions): void;
|
|
8911
8903
|
protected _doPrepareRender(chart: IChart): void;
|
|
8912
8904
|
}
|
|
@@ -9601,7 +9593,6 @@ declare class TimeAxis extends ContinuousAxis<TimeAxisOptions> {
|
|
|
9601
9593
|
axisValueAt(length: number, pos: number): any;
|
|
9602
9594
|
value2Tooltip(value: number): any;
|
|
9603
9595
|
getXValue(value: number): number | Date;
|
|
9604
|
-
getPos(length: number, value: number): number;
|
|
9605
9596
|
}
|
|
9606
9597
|
|
|
9607
9598
|
declare class LogAxisTick extends ContinuousAxisTick<LogAxisTickOptions> {
|
|
@@ -9646,6 +9637,7 @@ interface IPointPos {
|
|
|
9646
9637
|
isNull?: boolean;
|
|
9647
9638
|
range?: ValueRange;
|
|
9648
9639
|
}
|
|
9640
|
+
type PointLine = IPointPos[];
|
|
9649
9641
|
declare class LineSeriesPoint extends DataPoint {
|
|
9650
9642
|
radius: number;
|
|
9651
9643
|
shape: Shape;
|
|
@@ -9665,8 +9657,8 @@ declare class LinePointLabel extends DataPointLabel<LinePointLabelOptions> {
|
|
|
9665
9657
|
getAlignOffset(): number;
|
|
9666
9658
|
}
|
|
9667
9659
|
/**
|
|
9668
|
-
* 포인트 label들은
|
|
9669
|
-
* 기본값은
|
|
9660
|
+
* 포인트 label들은 'head', 'foot', 'inside'에 위치할 수 있다.
|
|
9661
|
+
* 기본값은 'auto'('head'')이다.
|
|
9670
9662
|
* pointLabel.align으로 수평 정렬을 설정할 수있다.
|
|
9671
9663
|
*/
|
|
9672
9664
|
declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSeriesBaseOptions> extends Series<OP> {
|
|
@@ -9698,7 +9690,6 @@ declare abstract class LineSeriesBase<OP extends LineSeriesBaseOptions = LineSer
|
|
|
9698
9690
|
abstract getLineType(): LineType;
|
|
9699
9691
|
protected _doPrepareLines(pts: LineSeriesPoint[]): PointLine[];
|
|
9700
9692
|
}
|
|
9701
|
-
type PointLine = IPointPos[];
|
|
9702
9693
|
/**
|
|
9703
9694
|
* Line 시리즈의 마지막 데이터포인트 옆에 표시되는 아이콘과 텍스트 설정 모델.<br/>
|
|
9704
9695
|
* 마지막 포인트와의 간격은 {@page offset} 속성으로 지정한다.
|
|
@@ -10752,9 +10743,6 @@ declare class TreemapSeries extends Series<TreemapSeriesOptions> {
|
|
|
10752
10743
|
*/
|
|
10753
10744
|
/**
|
|
10754
10745
|
* @internal
|
|
10755
|
-
* @param width
|
|
10756
|
-
* @param height
|
|
10757
|
-
* @returns
|
|
10758
10746
|
*/
|
|
10759
10747
|
buildMap(width: number, height: number): {
|
|
10760
10748
|
roots: TreeNode[];
|