ReadonlyrootThe .uplot wrapper uPlot mounts into its target.
ReadonlyoverThe plotting-area overlay; positioned over the plot, in CSS pixels.
ReadonlydataReadonlyseriesReadonlyaxesReadonlyscalesOptional ReadonlymodeOptional ReadonlywidthOptional ReadonlyheightOptional ReadonlybboxPlot area in device pixels, relative to the canvas.
Optional ReadonlyctxOptional ReadonlycursorWhere uPlot's cursor is: idx is the nearest data index in aligned mode,
idxs the nearest index per series (the only one set in faceted mode),
left/top its CSS-pixel position in the plotting area.
Optional Readonlystatus1 once uPlot has drawn for the first time (ready has fired).
Converts a data value to a CSS-pixel offset inside the plotting area
(can = false) or a device-pixel offset on the canvas (can = true).
Optionalset
The parts of a
uPlotinstance the adapter reads.