@deltares/fews-web-oc-charts
Version:
FEWS Chart Library
27 lines (26 loc) • 901 B
TypeScript
import { AxisIndex } from '../Axes/axes.js';
import { CartesianAxes, PolarAxes } from '../index.js';
import { Chart } from './chart.js';
export declare class ChartBar extends Chart {
static readonly GROUP_CLASS: 'chart-bar';
private _xRect;
private _widthRect;
plotterCartesian(axis: CartesianAxes, axisIndex: AxisIndex): void;
plotterPolar(_axis: PolarAxes, _dataKeys: any): void;
drawLegendSymbol(legendId?: string, asSvgElement?: boolean): SVGGElement;
getColorMap(scale?: any): (_x: number | Date) => string;
setPadding(scale: any, options: any): void;
onPointerOver(): void;
onPointerOut(): void;
onPointerMove(value: number | Date, key: 'x' | 'y', _xScale: any, yScale: any): {
point: any;
style: {
color?: undefined;
};
} | {
point: any;
style: {
color: string;
};
};
}