@visactor/vchart-types 2.0.5-alpha.6 → 2.0.5-alpha.8
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.
|
@@ -52,6 +52,12 @@ export declare abstract class CartesianAxis<T extends ICartesianAxisCommonSpec =
|
|
|
52
52
|
left: number;
|
|
53
53
|
right: number;
|
|
54
54
|
};
|
|
55
|
+
getInnerOffset(): {
|
|
56
|
+
top: number;
|
|
57
|
+
bottom: number;
|
|
58
|
+
left: number;
|
|
59
|
+
right: number;
|
|
60
|
+
};
|
|
55
61
|
constructor(spec: T, options: IComponentOption);
|
|
56
62
|
static getSpecInfo(chartSpec: any): Maybe<IModelSpecInfo[]>;
|
|
57
63
|
static createComponent(specInfo: IModelSpecInfo, options: IComponentOption): IAxis;
|
|
@@ -36,7 +36,7 @@ export declare abstract class BaseCrossHair<T extends ICartesianCrosshairSpec |
|
|
|
36
36
|
value: string | number;
|
|
37
37
|
}[]): void;
|
|
38
38
|
protected _getLimitBounds(): IBoundsLike;
|
|
39
|
-
protected _showDefaultCrosshairBySpec():
|
|
39
|
+
protected _showDefaultCrosshairBySpec(): boolean;
|
|
40
40
|
protected _updateVisibleCrosshair(): void;
|
|
41
41
|
protected _showDefaultCrosshair(): void;
|
|
42
42
|
setAttrFromSpec(): void;
|
|
@@ -64,6 +64,7 @@ export declare abstract class BaseCrossHair<T extends ICartesianCrosshairSpec |
|
|
|
64
64
|
private _registerTooltipEvent;
|
|
65
65
|
private _handleTooltipShow;
|
|
66
66
|
private _handleTooltipHideOrRelease;
|
|
67
|
+
private _renderNextFrame;
|
|
67
68
|
protected _getAxisInfoByField<T = IAxis>(field: 'x' | 'y' | 'category' | 'value'): IAxisInfo<T>;
|
|
68
69
|
onLayoutEnd(): void;
|
|
69
70
|
protected _releaseEvent(): void;
|