import { ScaleContinuousNumeric, ScaleTime } from "d3-scale"; import * as React from "react"; export interface BarSeriesProps { readonly baseAt?: number | ((xScale: ScaleContinuousNumeric | ScaleTime, yScale: ScaleContinuousNumeric, d: [number, number], moreProps: any) => number); readonly clip?: boolean; readonly fillStyle?: string | ((data: any) => string); readonly strokeStyle?: string; readonly swapScales?: boolean; readonly width?: number | ((props: { widthRatio: number; }, moreProps: any) => number); readonly widthRatio?: number; readonly yAccessor: (data: any) => number | undefined; } /** * A `BarSeries` component. */ export declare class BarSeries extends React.Component { static defaultProps: { baseAt: (xScale: ScaleContinuousNumeric, yScale: ScaleContinuousNumeric) => any; clip: boolean; fillStyle: string; swapScales: boolean; width: (props: { widthRatio: number; }, moreProps: { xAccessor: (datum: T) => number | Date; xScale: ScaleContinuousNumeric | ScaleTime; plotData: T[]; }) => number; widthRatio: number; }; render(): JSX.Element; private readonly drawOnCanvas; private readonly getBars; }