JavaScript data visualization library for creating interactive charts, graphs, and scientific visualizations
81
Build a small utility that renders and manages an interactive timeline chart with layout and interaction controls.
{start, end} updates the axis range and overlays a shaded region without rebuilding the plot or losing existing layout details. @test@generates
/**
* Renders the timeline.
*/
export function createTimeline(container, points, options);
/**
* Updates the visible window and alert annotation without recreating the chart.
*/
export function updateTimeline(container, windowRange, alertMessage);
/**
* Switches interaction profile while keeping current layout state.
*/
export function setInteractionProfile(container, profile);Interactive chart rendering and configuration.
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