JavaScript data visualization library for creating interactive charts, graphs, and scientific visualizations
81
Build a small module that manages the traces on an existing interactive chart using the package's in-place trace array operations rather than rebuilding the entire figure.
0 shifts existing traces and keeps their axis references unchanged. @test@generates
export async function initPlot(container, initialTraces);
export async function insertTraces(container, traces, index);
export async function removeTraces(container, indexes);
export async function moveTraces(container, fromIndexes, toIndex);
export async function streamPoints(container, updates, maxPoints);Enables in-place trace array manipulation and rendering.
Install with Tessl CLI
npx tessl i tessl/npm-plotly-js-distdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10