liusuyi
2024-07-06 0ab014198a8b4e40fa26da394373a4bcdb571148
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { Group } from '../../util/graphic.js';
import SeriesData from '../../data/SeriesData.js';
import type { ZRColor } from '../../util/types.js';
interface RippleEffectCfg {
    showEffectOn?: 'emphasis' | 'render';
    rippleScale?: number;
    brushType?: 'fill' | 'stroke';
    period?: number;
    effectOffset?: number;
    z?: number;
    zlevel?: number;
    symbolType?: string;
    color?: ZRColor;
    rippleEffectColor?: ZRColor;
    rippleNumber?: number;
}
declare class EffectSymbol extends Group {
    private _effectCfg;
    constructor(data: SeriesData, idx: number);
    stopEffectAnimation(): void;
    startEffectAnimation(effectCfg: RippleEffectCfg): void;
    /**
     * Update effect symbol
     */
    updateEffectAnimation(effectCfg: RippleEffectCfg): void;
    /**
     * Highlight symbol
     */
    highlight(): void;
    /**
     * Downplay symbol
     */
    downplay(): void;
    getSymbolType(): string;
    /**
     * Update symbol properties
     */
    updateData(data: SeriesData, idx: number): void;
    fadeOut(cb: () => void): void;
}
export default EffectSymbol;