@antv/g2plot
Version:
An interactive and responsive charting library
22 lines (18 loc) • 490 B
text/typescript
import { Plot } from '../../core/plot';
import { Adaptor } from '../../core/adaptor';
import { TemplateOptions } from './types';
import { adaptor } from './adaptor';
export type { TemplateOptions };
/**
* 这个是一个图表开发的 模板代码!
*/
export class Template extends Plot<TemplateOptions> {
/** 图表类型 */
public type: string = 'template';
/**
* 获取适配器
*/
protected getSchemaAdaptor(): Adaptor<TemplateOptions> {
return adaptor;
}
}