UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

41 lines (40 loc) 1.19 kB
import ChartStyleService, { IChartStyleOption } from '../base'; import { ChartType } from '../../../../../constants/chart-style'; export declare enum DocumentType { docment = "docment", json = "json", table = "table" } export interface ILogEventChartStyle extends IChartStyleOption { documentType: DocumentType; schemas: string[]; pagination: boolean; pageSize: number; } export default abstract class LogEventChartStyleService extends ChartStyleService<ILogEventChartStyle> { static getChartInitStyle(option: any): { documentType: any; schemas: any; pageSize: any; }; chartType: ChartType; schemas: string[]; documentType: DocumentType; pagination: boolean; pageSize: number; getOptions(): { chartType: ChartType; documentType: DocumentType; schemas: string[]; pagination: boolean; pageSize: number; }; get contextOption(): { metrics: never[]; buckets: never[]; }; setDocumentType(documentType: DocumentType): void; setSchemas(schemas: string[]): void; setTablePageSize(pageSize?: number): void; constructor(option: any); }