fybdp-d3-kg
Version:
Knowledge Graph using React and D3.js
23 lines (22 loc) • 797 B
TypeScript
import { Component, ReactElement } from 'react';
import { ChartInternalShallowDataShape } from '../../common/data';
import { ScatterPoint, ScatterPointProps } from '../../ScatterPlot';
export interface PointSeriesProps {
animated: boolean;
color: any;
activeValues?: any;
data: ChartInternalShallowDataShape[];
yScale: any;
xScale: any;
id: string;
height: number;
width: number;
show: boolean | 'hover' | 'first' | 'last';
point: ReactElement<ScatterPointProps, typeof ScatterPoint>;
index: number;
}
export declare class PointSeries extends Component<PointSeriesProps> {
static defaultProps: Partial<PointSeriesProps>;
isVisible(point: ChartInternalShallowDataShape, index: number): any;
render(): JSX.Element;
}