UNPKG

@alicloud/cloud-charts

Version:

![](https://img.shields.io/npm/v/@alicloud/cloud-charts?color=%23ff8200)

28 lines (27 loc) 852 B
import { View, Action } from '@antv/g2/esm/core'; import { G2DInterfaces, G2Dependents } from '../../types'; export declare class RangeCustomFilter extends Action { /** 允许外部传入 dims */ protected cfgFields: ['dims']; /** * 范围过滤生效的字段/维度,可以是 x, y */ protected dims: string[]; /** 起始点 */ protected startPoint: G2Dependents.Point; protected isCustomStarted: boolean; protected hasCustomDim(dim: string): boolean; start(): void; filter(): void; end(): void; reset(): void; /** * 对 view 进行过滤 */ protected filterView(view: View, field: string, filter: G2DInterfaces.FilterCondition): void; /** * 重新渲染 * @param view */ protected reRender(view: View, payload?: G2DInterfaces.EventPayload): void; }