UNPKG

@docsvision/webclient

Version:

Type definitions for DocsVision WebClient scripts and extensions.

22 lines (21 loc) 583 B
import { DiagramParams } from "@docsvision/webclient/Platform/DiagramOptions"; export declare type CreateDiagramParamsT = ReturnType<typeof createDiagramParams>; export declare function createDiagramParams(options: DiagramParams): { title?: undefined; legend?: undefined; type?: undefined; height?: undefined; } | { title: { text: string; align: string; }; legend: { show: boolean; position: string; horizontalAlign: string; }; type: import("./GetDiagramType").IDiagramTypeOptions; height: number; };