ngx-antv-f2
Version:
Functional Antvis/F2 wrapper for Angular.
37 lines (36 loc) • 753 B
TypeScript
/**
* @author CK
* @date 2019/1/13
* @Description:
*/
export declare class F2Geometry {
/**
* 几何类型
*
* 'point', 'path', 'line', 'area', 'interval', 'polygon', 'schema',
*/
type: string;
/**
* {
* generatePoints: {Boolean},
* sortable: {Boolean},
* startOnZero: {Boolean},
* connectNulls: {Boolean}
* }
*/
config: object;
/**
* 将数据值映射到图形的位置上
*/
position: string | string[];
/**
* 将数据值映射到图形的颜色上
*/
color: string | [string, string | any[] | Function];
shape: any;
size: any;
adjust: any;
style: any;
animate: any;
setChartGeometry(chart: any): void;
}