@mui/x-charts
Version:
The community edition of MUI X Charts components.
8 lines • 464 B
TypeScript
import { type SeriesId } from "../models/seriesType/common.js";
import { type D3Scale } from "../models/axis.js";
import { type DefaultizedScatterSeriesType, type ScatterValueType } from "../models/index.js";
export declare function useScatterPlotData(series: DefaultizedScatterSeriesType, xScale: D3Scale, yScale: D3Scale, isPointInside: (x: number, y: number) => boolean): (ScatterValueType & {
dataIndex: number;
seriesId: SeriesId;
type: "scatter";
})[];