UNPKG

1.79 kBTypeScriptView Raw
1import type { DrawableElem, XYChartConfig, XYChartThemeConfig } from './chartBuilder/interfaces.js';
2import type { Group } from '../../diagram-api/types.js';
3interface NormalTextType {
4 type: 'text';
5 text: string;
6}
7declare function setTmpSVGG(SVGG: Group): void;
8declare function setOrientation(orientation: string): void;
9declare function setXAxisTitle(title: NormalTextType): void;
10declare function setXAxisRangeData(min: number, max: number): void;
11declare function setXAxisBand(categories: NormalTextType[]): void;
12declare function setYAxisTitle(title: NormalTextType): void;
13declare function setYAxisRangeData(min: number, max: number): void;
14declare function setLineData(title: NormalTextType, data: number[]): void;
15declare function setBarData(title: NormalTextType, data: number[]): void;
16declare function getDrawableElem(): DrawableElem[];
17declare function getChartThemeConfig(): XYChartThemeConfig;
18declare function getChartConfig(): XYChartConfig;
19declare const _default: {
20 getDrawableElem: typeof getDrawableElem;
21 clear: () => void;
22 setAccTitle: (txt: string) => void;
23 getAccTitle: () => string;
24 setDiagramTitle: (txt: string) => void;
25 getDiagramTitle: () => string;
26 getAccDescription: () => string;
27 setAccDescription: (txt: string) => void;
28 setOrientation: typeof setOrientation;
29 setXAxisTitle: typeof setXAxisTitle;
30 setXAxisRangeData: typeof setXAxisRangeData;
31 setXAxisBand: typeof setXAxisBand;
32 setYAxisTitle: typeof setYAxisTitle;
33 setYAxisRangeData: typeof setYAxisRangeData;
34 setLineData: typeof setLineData;
35 setBarData: typeof setBarData;
36 setTmpSVGG: typeof setTmpSVGG;
37 getChartThemeConfig: typeof getChartThemeConfig;
38 getChartConfig: typeof getChartConfig;
39};
40export default _default;