fix: improve stress testing functionality and stop button behavior

This commit is contained in:
2025-04-09 02:46:24 +03:00
commit c88964275d
35 changed files with 15139 additions and 0 deletions

25
src/plotly.d.ts vendored Normal file
View File

@@ -0,0 +1,25 @@
declare module 'react-plotly.js' {
import * as Plotly from 'plotly.js';
import * as React from 'react';
interface PlotParams {
data: Plotly.Data[];
layout?: Partial<Plotly.Layout>;
frames?: Plotly.Frame[];
config?: Partial<Plotly.Config>;
onClick?: (event: Plotly.PlotMouseEvent) => void;
onHover?: (event: Plotly.PlotMouseEvent) => void;
onUnHover?: (event: Plotly.PlotMouseEvent) => void;
onSelected?: (event: Plotly.PlotSelectionEvent) => void;
onDeselect?: () => void;
onDoubleClick?: () => void;
style?: React.CSSProperties;
className?: string;
debug?: boolean;
useResizeHandler?: boolean;
[key: string]: any;
}
class Plot extends React.Component<PlotParams> {}
export default Plot;
}