utils.d.ts 371 B

1234567891011121314
  1. import { Element, View } from '@antv/g2';
  2. /**
  3. * 获取图表元素对应字段的值
  4. * @param element 图表元素
  5. * @param field 字段名
  6. * @ignore
  7. */
  8. export declare function getElementValue(element: Element, field: any): any;
  9. /**
  10. * @ignore
  11. * 清理 highlight 效果
  12. * @param view View 或者 Chart
  13. */
  14. export declare function clearHighlight(view: View): void;