@visactor/vchart-types 1.13.5 → 1.13.6
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/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/component/custom-mark/custom-mark.d.ts +1 -0
- package/types/index.d.ts +1 -0
- package/types/series/funnel/interface.d.ts +1 -0
- package/types/series/funnel/tooltip-helper.d.ts +3 -1
- package/types/series/waterfall/waterfall.d.ts +1 -0
- package/types/typings/visual.d.ts +1 -0
- package/types/util/scale.d.ts +1 -0
- package/types/vrender-tools.d.ts +1 -0
package/types/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export interface IFunnelSeriesSpec extends ISeriesSpec, IAnimationSpec<FunnelMar
|
|
|
21
21
|
maxSize?: number | IPercent;
|
|
22
22
|
minSize?: number | IPercent;
|
|
23
23
|
heightRatio?: number;
|
|
24
|
+
transformRatioText?: string;
|
|
24
25
|
[SeriesMarkNameEnum.funnel]?: IMarkSpec<IPathMarkSpec>;
|
|
25
26
|
[SeriesMarkNameEnum.transform]?: IMarkSpec<IPathMarkSpec>;
|
|
26
27
|
[SeriesMarkNameEnum.label]?: IFunnelLabelSpec;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type { ISeriesTooltipHelper } from '../interface';
|
|
1
|
+
import type { IFunnelSeries, ISeriesTooltipHelper } from '../interface';
|
|
2
2
|
import { BaseSeriesTooltipHelper } from '../base/tooltip-helper';
|
|
3
3
|
import type { TooltipHandlerParams } from '../../component/tooltip/interface';
|
|
4
4
|
import type { Datum } from '@visactor/vgrammar-core';
|
|
5
5
|
export declare class FunnelSeriesTooltipHelper extends BaseSeriesTooltipHelper implements ISeriesTooltipHelper {
|
|
6
|
+
private _transformRatioText;
|
|
7
|
+
constructor(series: IFunnelSeries);
|
|
6
8
|
dimensionTooltipTitleCallback: (datum: Datum, params?: TooltipHandlerParams) => any;
|
|
7
9
|
markTooltipValueCallback: (datum: Datum, params?: TooltipHandlerParams) => any;
|
|
8
10
|
markTooltipKeyCallback: (datum: Datum, params?: TooltipHandlerParams) => any;
|
|
@@ -45,5 +45,6 @@ export declare class WaterfallSeries<T extends IWaterfallSeriesSpec = IWaterfall
|
|
|
45
45
|
totalPositionX(datum: Datum, field: string, pos?: number): number;
|
|
46
46
|
totalPositionY(datum: Datum, field: string, pos?: number): number;
|
|
47
47
|
initMarkStyle(): void;
|
|
48
|
+
protected isVisibleLeaderLine(datum: Datum): boolean;
|
|
48
49
|
}
|
|
49
50
|
export declare const registerWaterfallSeries: () => void;
|
package/types/util/scale.d.ts
CHANGED
|
@@ -17,5 +17,6 @@ export declare function createScaleWithSpec(spec: IVisual<any>, context: {
|
|
|
17
17
|
seriesId: number;
|
|
18
18
|
}): IBaseScale | null;
|
|
19
19
|
export declare function valueInScaleRange(v: number, s?: IBaseScale, useWholeRange?: boolean): number;
|
|
20
|
+
export declare function isValueInScaleDomain(v: number | number[], s?: IBaseScale, useWholeRange?: boolean): boolean;
|
|
20
21
|
export declare function isSpecValueWithScale(specValue: any): boolean;
|
|
21
22
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { randomOpacity, columnLeftToRight, columnRightToLeft, rowTopToBottom, rowBottomToTop, diagonalCenterToEdge, diagonalTopLeftToBottomRight, rotationScan, rippleEffect, snakeWave, alternatingWave, spiralEffect, columnEdgeToCenter, columnCenterToEdge, rowEdgeToCenter, rowCenterToEdge, cornerToCenter, centerToCorner, pulseWave, particleEffect } from '@visactor/vrender-kits';
|