@antv/g2plot
Version:
An interactive and responsive charting library
15 lines (14 loc) • 371 B
TypeScript
import { View, Element } from '@antv/g2';
/**
* 获取图表元素对应字段的值
* @param element 图表元素
* @param field 字段名
* @ignore
*/
export declare function getElementValue(element: Element, field: any): any;
/**
* @ignore
* 清理 highlight 效果
* @param view View 或者 Chart
*/
export declare function clearHighlight(view: View): void;