reaviz
Version:
Data Visualization using React
22 lines (21 loc) • 657 B
TypeScript
import { FC, PropsWithChildren } from 'react';
import { BrushConfiguration } from './Brush';
export interface ChartBrushProps extends BrushConfiguration, PropsWithChildren {
/**
* D3 scale for the axis the brush is attached to. Set internally by the parent chart.
*/
scale: any;
/**
* Height of the brush area. Set internally by the parent chart.
*/
height: number;
/**
* Width of the brush area. Set internally by the parent chart.
*/
width: number;
/**
* Children rendered inside the brushable area.
*/
children: any;
}
export declare const ChartBrush: FC<Partial<ChartBrushProps>>;