react-plot
Version:
Library of React components to render SVG 2D plots.
13 lines • 689 B
TypeScript
import type { CSSFuncProps, SeriesPoint, Shape } from '../../types.js';
import type { ScatterSeriesProps } from './ScatterSeries.js';
export interface LineSeriesProps<T extends SeriesPoint = SeriesPoint> extends Omit<ScatterSeriesProps<T>, 'markerShape' | 'lineStyle' | 'displayLines'> {
data: readonly T[];
markerShape?: Shape;
lineStyle?: CSSFuncProps<{
id: string;
}>;
}
declare function LineSeriesInner<T extends SeriesPoint = SeriesPoint>(props: LineSeriesProps<T>): import("react/jsx-runtime").JSX.Element | null;
export declare const LineSeries: import("react").MemoExoticComponent<typeof LineSeriesInner>;
export {};
//# sourceMappingURL=LineSeries.d.ts.map