Capability first · transport second

uPlot.iife.min.js

Vendored uPlot chart constructor and rendering runtime.

SDK 0.5.18Runtime 0.8.12Protocol arcane/1
On this page

Overview

Vendored uPlot chart constructor and rendering runtime.

  • Artifact
    uPlot.iife.min.js · classic-script
  • Classification
    vendor
  • Availability
    Browser vendor script
  • Normalization
    Vendor-native.

Import and lifecycle

HTML
<script src="/arcane/modules/uPlot.iife.min.js"></script>

Classic-script load defines global uPlot. Construction creates chart DOM/canvas and listeners/hooks; instance mutations redraw; destroy() unsubscribes and removes resources.

Application-facing behavior: No ESM exports; global uPlot with data/series/scale/cursor/hook/selection/destroy APIs.

Protocol and host implementation

Classic script + canvas/DOM This detail does not widen the application-facing API or grant authority.

Exports, signatures, parameters, and results

This artifact has no ESM bindings. Its public load, global, asset, or worker contract is listed below.

Parameter meanings and results

new uPlot(options,data,target) returns the vendor chart instance. Vendor APIs include data/size/scale/series/cursor/selection/legend/band mutation, batching/redraw, pub/syncRect, hooks, static helpers, and destroy().

Events, side effects, and errors

Source-literal CustomEvent dispatches

No source-literal CustomEvent dispatch is part of this artifact.

Lifecycle and event flow

  • Vendor hook callbacks such as init, ready, draw, setScale, setSeries, setCursor, and destroy.

Direct coded failures

This artifact directly assigns no stable coded failure.

Exported Error subclasses

This artifact exports no Error subclass.

Documented failure behavior

  • Vendor-native uPlot, DOM, and canvas errors.

Availability and capabilities

Browser vendor script. Vendor-native.

None.

Load example

HTML
<link rel="stylesheet" href="/arcane/modules/uPlot.min.css">
<div id="chart"></div>
<script src="/arcane/modules/uPlot.iife.min.js"></script>
<script>
const chart = new uPlot(
    {width:600,height:300,series:[{}, {label:'Value'}]},
    [[0,1,2],[2,3,1]],
    document.getElementById('chart')
);
</script>

No direct Core call is claimed for this artifact. Any injected provider or consuming module retains its own documented authority.