All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.diagrams.xychart.chartBuilder.components.axis.index.d.ts Maven / Gradle / Ivy

Go to download

Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.

There is a newer version: 11.4.0
Show newest version
import type { SVGGroup } from '../../../../../diagram-api/types.js';
import type { AxisDataType, ChartComponent, XYChartAxisConfig, XYChartAxisThemeConfig } from '../../interfaces.js';
export type AxisPosition = 'left' | 'right' | 'top' | 'bottom';
export interface Axis extends ChartComponent {
    getScaleValue(value: string | number): number;
    setAxisPosition(axisPosition: AxisPosition): void;
    getAxisOuterPadding(): number;
    getTickDistance(): number;
    recalculateOuterPaddingToDrawBar(): void;
    setRange(range: [number, number]): void;
}
export declare function getAxis(data: AxisDataType, axisConfig: XYChartAxisConfig, axisThemeConfig: XYChartAxisThemeConfig, tmpSVGGroup: SVGGroup): Axis;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy