We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b645963 commit fde1aa7Copy full SHA for fde1aa7
dist/uPlot.d.ts
@@ -77,7 +77,7 @@ declare class uPlot {
77
setData(data: uPlot.AlignedData, resetScales?: boolean): void;
78
79
/** sets the limits of a scale & redraws (used for zooming) */
80
- setScale(scaleKey: string, limits: { min: number; max: number }): void;
+ setScale(scaleKey: string, limits: ({ min: number; max: number } | { min: null; max: null })): void;
81
82
/** sets the cursor position (relative to plotting area) */
83
setCursor(opts: {left: number, top: number}, fireHook?: boolean): void;
0 commit comments