blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts
2024-03-07 20:32:21 +00:00

11 lines
595 B
TypeScript

import type { TextDimensionCalculator } from '../../textDimensionCalculator.js';
import { BaseAxis } from './baseAxis.js';
import type { XYChartAxisThemeConfig, XYChartAxisConfig } from '../../interfaces.js';
export declare class LinearAxis extends BaseAxis {
private scale;
private domain;
constructor(axisConfig: XYChartAxisConfig, axisThemeConfig: XYChartAxisThemeConfig, domain: [number, number], title: string, textDimensionCalculator: TextDimensionCalculator);
getTickValues(): (string | number)[];
recalculateScale(): void;
getScaleValue(value: number): number;
}