UNPKG

@deltares/fews-web-oc-charts

Version:
12 lines (11 loc) 487 B
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; }