react-plot
Version:
Library of React components to render SVG 2D plots.
19 lines • 913 B
TypeScript
import type { SVGAttributes } from 'react';
import type { BaseSeriesProps, CSSFuncProps, LabelFuncProps, SeriesPoint, ShapeFuncProps } from '../../types.js';
export interface ScatterSeriesProps<T extends SeriesPoint = SeriesPoint> extends BaseSeriesProps {
data: readonly T[];
markerShape?: ShapeFuncProps<T>;
displayMarkers?: boolean;
markerSize?: number;
markerStyle?: CSSFuncProps<T>;
pointLabel?: LabelFuncProps<T>;
pointLabelStyle?: CSSFuncProps<T>;
displayErrorBars?: boolean;
errorBarsStyle?: SVGAttributes<SVGLineElement>;
errorBarsCapStyle?: SVGAttributes<SVGLineElement>;
errorBarsCapSize?: number;
lineStyle?: CSSFuncProps<T>;
displayLines?: boolean;
}
export declare function ScatterSeries<T extends SeriesPoint = SeriesPoint>(props: ScatterSeriesProps<T>): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=ScatterSeries.d.ts.map