diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-04-28 17:33:09 +0200 |
commit | e77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch) | |
tree | f0b75ee3521da9c8cd39dac4359212348f70e4e8 /themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts | |
parent | 4b355837824ac2422d371acef790f0f4249255c7 (diff) |
use https://github.com/nunocoracao/blowfish.git
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts')
-rw-r--r-- | themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts new file mode 100644 index 0000000..b5cf5a2 --- /dev/null +++ b/themes/blowfish/assets/lib/mermaid/diagrams/xychart/xychartDb.d.ts @@ -0,0 +1,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; |