1 | import type { DrawableElem, XYChartConfig, XYChartThemeConfig } from './chartBuilder/interfaces.js';
|
2 | import type { Group } from '../../diagram-api/types.js';
|
3 | interface NormalTextType {
|
4 | type: 'text';
|
5 | text: string;
|
6 | }
|
7 | declare function setTmpSVGG(SVGG: Group): void;
|
8 | declare function setOrientation(orientation: string): void;
|
9 | declare function setXAxisTitle(title: NormalTextType): void;
|
10 | declare function setXAxisRangeData(min: number, max: number): void;
|
11 | declare function setXAxisBand(categories: NormalTextType[]): void;
|
12 | declare function setYAxisTitle(title: NormalTextType): void;
|
13 | declare function setYAxisRangeData(min: number, max: number): void;
|
14 | declare function setLineData(title: NormalTextType, data: number[]): void;
|
15 | declare function setBarData(title: NormalTextType, data: number[]): void;
|
16 | declare function getDrawableElem(): DrawableElem[];
|
17 | declare function getChartThemeConfig(): XYChartThemeConfig;
|
18 | declare function getChartConfig(): XYChartConfig;
|
19 | declare 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 | };
|
40 | export default _default;
|