echarts
Version:
Apache ECharts is a powerful, interactive charting and data visualization library for browser
22 lines (21 loc) • 832 B
TypeScript
import ComponentModel from '../../model/Component.js';
import { ComponentOption, BoxLayoutOptionMixin, ZRColor, ShadowOptionMixin } from '../../util/types.js';
import Grid from './Grid.js';
import { CoordinateSystemHostModel } from '../CoordinateSystem.js';
export interface GridOption extends ComponentOption, BoxLayoutOptionMixin, ShadowOptionMixin {
mainType?: 'grid';
show?: boolean;
containLabel?: boolean;
backgroundColor?: ZRColor;
borderWidth?: number;
borderColor?: ZRColor;
tooltip?: any;
}
declare class GridModel extends ComponentModel<GridOption> implements CoordinateSystemHostModel {
static type: string;
static dependencies: string[];
static layoutMode: "box";
coordinateSystem: Grid;
static defaultOption: GridOption;
}
export default GridModel;