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