mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-24 15:35:45 -06:00
17 lines
982 B
TypeScript
17 lines
982 B
TypeScript
|
import type { Group } from '../../../../diagram-api/types.js';
|
||
|
import type { ChartComponent, Dimension, DrawableElem, Point, XYChartData, XYChartThemeConfig, XYChartConfig } from '../interfaces.js';
|
||
|
import type { TextDimensionCalculator } from '../textDimensionCalculator.js';
|
||
|
export declare class ChartTitle implements ChartComponent {
|
||
|
private textDimensionCalculator;
|
||
|
private chartConfig;
|
||
|
private chartData;
|
||
|
private chartThemeConfig;
|
||
|
private boundingRect;
|
||
|
private showChartTitle;
|
||
|
constructor(textDimensionCalculator: TextDimensionCalculator, chartConfig: XYChartConfig, chartData: XYChartData, chartThemeConfig: XYChartThemeConfig);
|
||
|
setBoundingBoxXY(point: Point): void;
|
||
|
calculateSpace(availableSpace: Dimension): Dimension;
|
||
|
getDrawableElements(): DrawableElem[];
|
||
|
}
|
||
|
export declare function getChartTitleComponent(chartConfig: XYChartConfig, chartData: XYChartData, chartThemeConfig: XYChartThemeConfig, tmpSVGGroup: Group): ChartComponent;
|