You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
743 B
15 lines
743 B
import { ScatterData } from './types'; |
|
import * as d3 from 'd3'; |
|
export declare class DelaunayDiagram { |
|
protected series: ScatterData[]; |
|
private _delaunayData; |
|
private _delaunayDiagram; |
|
constructor(series: ScatterData[], xScale: d3.ScaleLinear<number, number>, yScale: (string: any) => d3.ScaleLinear<number, number>); |
|
get data(): number[][] | undefined; |
|
setDelaunayDiagram(xScale: d3.ScaleLinear<number, number>, yScale: (string: any) => d3.ScaleLinear<number, number>): void; |
|
findPointIndex(eventX: number, eventY: number): number | undefined; |
|
getDataRowByIndex(index: number): number[] | undefined; |
|
private getDatapointsForDelaunay; |
|
private concatSeriesDatapoints; |
|
private getSerieIdxByTarget; |
|
}
|
|
|