@deltares/fews-web-oc-charts
Version:
FEWS Chart Library
12 lines (11 loc) • 487 B
TypeScript
import { Axis, BaseAxisOptions } from './axis.js';
import { AxisOrientation } from './axisOrientation.js';
export interface GridOptions {
axisKey: 'x' | 'y';
axisIndex: number;
}
export declare class XAxis extends Axis {
constructor(group: d3.Selection<SVGGElement, unknown, null, unknown>, scale: any, spanScale: any, options: Partial<BaseAxisOptions>);
translateAxis(position: any): string;
translateTickLabels(orientation: AxisOrientation, angle: number): void;
}