| 12345678910111213141516171819202122232425262728 |
- import { Coordinate } from '@antv/coord';
- import { DisplayObject } from '@antv/g';
- import { Scale, G2Theme, G2ViewDescriptor } from '../../runtime';
- import { Node } from '../node';
- export declare class CompositionNode<Value extends Record<string, any> = Record<string, any>, ParentValue extends Record<string, any> = Record<string, any>, ChildValue extends Record<string, any> = Record<string, any>> extends Node<Value, ParentValue, ChildValue> {
- protected _key: string;
- /**
- * Change current node data and its children data.
- */
- changeData(data: any): Promise<import("..").Chart>;
- /**
- * Get view instance by key.
- */
- getView(): G2ViewDescriptor;
- getScale(): Record<string, Scale>;
- getScaleByChannel(channel: string): Scale;
- getCoordinate(): Coordinate;
- getTheme(): G2Theme;
- getGroup(): DisplayObject;
- /**
- * Show the view.
- */
- show(): void;
- /**
- * Hide the view.
- */
- hide(): void;
- }
|