realchart 1.3.3 → 1.3.5
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 +12 -9
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
- package/realchart-style.css +1 -2
- 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 +2 -2
- package/wordcloud.mjs +2 -2
package/gauge.js
CHANGED
package/gauge.mjs
CHANGED
package/heatmap.js
CHANGED
package/heatmap.mjs
CHANGED
package/index.d.ts
CHANGED
|
@@ -729,9 +729,8 @@ interface AnnotationOptions extends ChartItemOptions {
|
|
|
729
729
|
*/
|
|
730
730
|
backgroundStyle?: SVGStyleOrClass;
|
|
731
731
|
/**
|
|
732
|
+
* body의 annotation으로 설정된 경우,
|
|
732
733
|
* true로 지정하면 상위 영역을 벗어난 부분도 표시되게 한다.<br/>
|
|
733
|
-
* body에 포함된 경우 body 영역,
|
|
734
|
-
* chart에 포함되고 scope이 'chart'일 때 chart 영역.
|
|
735
734
|
*/
|
|
736
735
|
noClip?: boolean;
|
|
737
736
|
/**
|
|
@@ -904,7 +903,7 @@ interface TextAnnotationOptions extends AnnotationOptions {
|
|
|
904
903
|
*/
|
|
905
904
|
timeFormat?: string;
|
|
906
905
|
/**
|
|
907
|
-
*
|
|
906
|
+
* 텍스트를 가로 또는 세로로 배치할지 여부와 블록이 진행되는 방향을 지정한다.
|
|
908
907
|
*
|
|
909
908
|
* @config
|
|
910
909
|
*/
|
|
@@ -5222,7 +5221,7 @@ declare abstract class ChartText<OP extends ChartTextOptions> extends ChartItem<
|
|
|
5222
5221
|
prepareRich(text: string): void;
|
|
5223
5222
|
protected _doSetSimple(src: any): boolean;
|
|
5224
5223
|
protected _doApply(options: ChartTextOptions): void;
|
|
5225
|
-
|
|
5224
|
+
protected _getNumberText(value: any, useSymbols: boolean, forceSymbols: boolean): string;
|
|
5226
5225
|
protected _getText(text: string, value: any, useSymbols: boolean, forceSymbols: boolean): string;
|
|
5227
5226
|
}
|
|
5228
5227
|
/**
|
|
@@ -6685,6 +6684,7 @@ declare abstract class AxisLabel<OP extends AxisLabelOptions = AxisLabelOptions>
|
|
|
6685
6684
|
getIcon(tick: IAxisTick): string;
|
|
6686
6685
|
getDefaultIconPos(): IconPosition;
|
|
6687
6686
|
protected _doPrepareRender(chart: IChart): void;
|
|
6687
|
+
protected _getText(text: string, value: any, useSymbols: boolean, forceSymbols: boolean): string;
|
|
6688
6688
|
}
|
|
6689
6689
|
interface IAxisTick {
|
|
6690
6690
|
index: number;
|
|
@@ -7949,12 +7949,10 @@ interface CategoryAxisOptions extends AxisOptions {
|
|
|
7949
7949
|
categories?: (string | object)[];
|
|
7950
7950
|
/**
|
|
7951
7951
|
* weigth 필드를 제공하는 시리즈.
|
|
7952
|
-
* // TODO: 구현할 것!
|
|
7953
7952
|
*/
|
|
7954
7953
|
weightSeries?: string;
|
|
7955
7954
|
/**
|
|
7956
7955
|
* weightSeries data에서 weight를 제공하는 필드.<br/>
|
|
7957
|
-
* // TODO: 구현할 것! (시리즈가 아니라 여기서 지정한 게 맞나?)
|
|
7958
7956
|
*/
|
|
7959
7957
|
weightField?: number | string;
|
|
7960
7958
|
/**
|
|
@@ -10192,7 +10190,7 @@ declare class ChartObject extends EventProvider<IChartEventListener> implements
|
|
|
10192
10190
|
seriesByPoint(point: DataPoint): Series;
|
|
10193
10191
|
gaugeByName(gauge: string): Gauge;
|
|
10194
10192
|
gaugeAt(name: string | number): GaugeBase;
|
|
10195
|
-
annotationByName(
|
|
10193
|
+
annotationByName(name: string): Annotation;
|
|
10196
10194
|
axisByName(axis: string): Axis;
|
|
10197
10195
|
containsAxis(axis: Axis): boolean;
|
|
10198
10196
|
getXAxis(name: string | number): Axis;
|
|
@@ -10302,6 +10300,7 @@ declare abstract class Annotation<OP extends AnnotationOptions = AnnotationOptio
|
|
|
10302
10300
|
* ```
|
|
10303
10301
|
*/
|
|
10304
10302
|
get name(): string;
|
|
10303
|
+
needClip(): boolean;
|
|
10305
10304
|
getOffset(w: number, h: number): Point;
|
|
10306
10305
|
getSize(wDomain: number, hDomain: number): Size;
|
|
10307
10306
|
getPosition(inverted: boolean, left: number, top: number, wDomain: number, hDomain: number, width: number, height: number): Point;
|
|
@@ -10886,16 +10885,20 @@ declare abstract class AnnotationView<T extends Annotation = Annotation> extends
|
|
|
10886
10885
|
static readonly CLASS_NAME: string;
|
|
10887
10886
|
static register(...clses: [typeof Annotation<AnnotationOptions>, typeof AnnotationView<Annotation>][]): void;
|
|
10888
10887
|
protected options: AnnotationOptions;
|
|
10888
|
+
private _transform;
|
|
10889
|
+
private _clip;
|
|
10889
10890
|
constructor(doc: Document, styleName: string);
|
|
10890
10891
|
update(owner: IAnnotationAnchorOwner, hintWidth: number, hintHeight: number): void;
|
|
10892
|
+
addToTransform(child: RcElement): void;
|
|
10891
10893
|
_layoutView(invertd: boolean, owner: IAnnotationAnchorOwner, x: number, y: number, w: number, h: number): void;
|
|
10892
10894
|
private _posByAnchor;
|
|
10895
|
+
resetClip(control: RcControl, width: number, height: number): void;
|
|
10896
|
+
remove(): RcElement;
|
|
10897
|
+
protected _updateTransform(): void;
|
|
10893
10898
|
protected _marginable(): boolean;
|
|
10894
10899
|
protected _resetBackBounds(): boolean;
|
|
10895
10900
|
protected _setBackgroundStyle(back: RectElement): void;
|
|
10896
10901
|
protected _doLayout(p: Point): void;
|
|
10897
|
-
setRotation(originX: number, originY: number, rotation: number): RcElement;
|
|
10898
|
-
protected _setRotation(originX: number, originY: number, rotation: number): void;
|
|
10899
10902
|
}
|
|
10900
10903
|
|
|
10901
10904
|
/**
|