Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Reference
Ratatosk CLI
Roadmap
RFC 0001: make:resource
RFC 0002: live queries
RFC 0003: MCP server
RFC 0004: MCP resource templates
RFC 0005: a Laravel backend
RFC 0006: Laravel broadcasting
RFC 0007: offline and sync
RFC 0008: Laravel notifications
RFC 0009: Files
RFC 0010: Laravel abilities
RFC 0011: an assistant in the app
RFC 0012: @elyra/ui
RFC 0013: the assistant sees the window
RFC 0014: Elyra Inspector
RFC 0015: presence
RFC 0016: capabilities per window
RFC 0017: record invalidation
RFC 0018: the assistant's answer, streamed
RFC 0019: a window from the tray
RFC 0020: an app that stays in the tray
RFC 0021: a server chosen at sign-in
RFC 0022: signed in to more than one server
RFC 0023: private channels a window listens to
RFC 0024: updates from the backend
RFC 0025: commands and configuration
RFC 0026: the running app, for coding agents
RFC 0027: the assistant's code mode
RFC 0028: the tray's icon, and the app's
RFC 0029: installers
RFC 0030: the app's identity on Windows
RFC 0031: a token per workspace
RFC 0032: the microphone
RFC 0033: diagnostics the user can send
RFC 0034: one screen in several states at once
RFC 0035: point at it, and hand it to the agent
RFC 0036: rata check, the app checked as a whole
RFC 0037: Theme Studio
RFC 0038: edit it in its own app
RFC 0039: a write shown at once in every window
RFC 0040: the two halves agree
RFC 0041: Quick Look
RFC 0042: follow a colleague
RFC 0043: every write seen
RFC 0044: composite keys
RFC 0045: bigint all the way
RFC 0046: pivot columns
RFC 0047: relations on any key
RFC 0048: more providers
RFC 0049: OpenAI web search
RFC 0050: integer-keyed arguments
RFC 0051: citations
RFC 0052: open documents
RFC 0053: exit hooks
RFC 0054: the gui feature
RFC 0055: menus that change
RFC 0056: the framework's own words
RFC 0057: rata upgrade
RFC 0058: @elyra/charts
RFC 0059: all of WireCharts
RFC 0060: exporting a chart
RFC 0061: zoom
RFC 0062: printing
RFC 0063: linked charts
RFC 0064: report pages
RFC 0065: marks
RFC 0066: taking a table out
RFC 0067: totals
RFC 0068: columns the user picks
RFC 0069: filters
RFC 0070: saved views
RFC 0071: lists over Laravel
RFC 0072: targets
RFC 0073: every row out
RFC 0074: grouped rows
RFC 0075: pinned columns
RFC 0076: views on the server
RFC 0077: every match selected
RFC 0078: editing in the table
RFC 0079: many cells at once
RFC 0080: a value for the selected rows
RFC 0081: a new row in the table
RFC 0082: a related record in a cell
RFC 0083: a filter by a related record
RFC 0084: one write for many rows
RFC 0085: the keys shown
RFC 0086: many rows in Laravel
RFC 0087: many rows deleted
RFC 0088: the trash
Release notes
Changelog
Elyra
RFC 0061 — Zoom: a window on a long series

RFC 0061 — Zoom: a window on a long series

Status: implemented (2026-11-27) · Target: 0.61.0 · builds on RFC 0058, RFC 0059 and RFC 0060 · see Decisions

Summary

A year of daily sales is 365 points. Drawn whole, it's a smudge; the question is usually about one month. WireCharts' LineTimeChart, SplineTimeChart and LineBoostChart take zoom and get ECharts' slider and wheel zoom; the six charts of 0.58 have nothing, and nothing in @elyra/charts lets the app know or set what's shown, or reach it from the keyboard.

This RFC gives every chart with a category or time axis a zoom the user drives with the pointer or the keys, and the app reads and sets:

<LineChart {series} categories={days} zoom bind:range />

<p>Showing {range[0]} – {range[1]}</p>
<Button onclick={() => (range = ["2026-03-01", "2026-03-31"])}>March</Button>
<Button onclick={() => (range = null)}>All</Button>
  • zoom turns it on for LineChart, AreaChart, ColumnChart, BarChart and ScatterChart (and stays WireCharts' zoom on the three that have it): the wheel and a pinch zoom, a drag pans, and a slider under the chart shows where the window is.
  • bind:range is the window as the axis's own values (["2026-03-01", "2026-03-31"], or ["Q2", "Q3"]), or null for all of it: read it to filter a table beside the chart, set it to jump.
  • The keyboard: with the chart focused, + and - zoom about the focused category, ←/→ pan when zoomed (they still walk the categories, and the window follows), 0 shows all. The slider's handles are focusable, with their values as names.
  • What it says follows the window: the summary is of what's shown ("Revenue in March: from 120 to 260…"), and the hidden table keeps every row, marking the shown ones, so the assistant can answer about any month.
  • Live data keeps the window: new points don't reset it; a window at the end of the axis follows the end ("the last 30 days").
  • Export takes what's shown (RFC 0060): the image is the window; the CSV, the whole series.

Motivation

  • Long series are the desktop's. An app over a database draws years of rows; the web's dashboards page them, a desktop chart should zoom.
  • The window is state. "Show March" from a button, the table beside the chart filtered to the same dates, the window kept as the user left it (persist, as Table's widths are): all need the app to have it.
  • A slider isn't enough for the keyboard. ECharts' handles aren't in the tab order; a chart that zooms only by the pointer isn't one a keyboard user can read a month of.

Current state (0.60)

  • WireCharts' lineTime, splineTime and lineBoost builders add dataZoom: [{ type: "inside" }, { type: "slider" }] when zoom is true: the pointer only; the app doesn't learn the window.
  • The six of 0.58 (internal/options.js) have no dataZoom; ←/→ walk the categories with the tooltip (RFC 0058).
  • ECharts reports the window on datazoom (as percents or values) and takes it from dispatchAction({ type: "dataZoom", startValue, endValue }).

Design

The props

Prop
zoom false The wheel, a pinch, a drag and the slider.
range (bindable) null The window, as [from, to] in the axis's values, or null for all.
persist — A key: the window is kept in the app's settings store and comes back.

On the six, zoom adds ECharts' inside and slider data zooms on the category axis (the value axis, for ScatterChart's x), styled from the tokens: the slider's track --elyra-inset, its window --elyra-accent-soft, its handles --elyra-accent, its labels --elyra-muted. On a WireCharts chart with zoom, the same styling and the same range.

The window, both ways

ChartBase listens to datazoom and sets range to the axis's values at the window's ends (ECharts gives percents for the slider and values for the wheel; both are turned into values). Setting range dispatches dataZoom with startValue/endValue. null is 0–100 percent. A window that reached the axis's end follows it when live data adds points.

The keyboard

On the chart's focus (one tab stop, as now):

  • + / = and - zoom in and out by half, about the focused category (or the window's middle);
  • ←/→ walk the categories as now; past the window's edge, the window pans to keep the focused one in it;
  • 0 shows all;
  • Shift+←/→ pan the window by a tenth.

The slider's handles get role="slider", aria-valuetext (the end's value, in the locale), and ←/→ of their own, through an overlay ChartBase draws over ECharts' slider, so a screen reader and the keyboard reach them.

What it says

The summary is computed from the points in the window, prefixed by it (elyra.charts.window: "Revenue, 1 March – 31 March: from 120 to 260…"). The table keeps all rows; the shown ones are marked (aria-current="true" on their row header), and its caption says the window. Export (RFC 0060): the image is what's drawn; the CSV, every row.

Testing

  • The option: dataZoom with the tokens' colours when zoom; none without.
  • range in: the dataZoom action with values; null: all. range out: from a datazoom event with percents and with values.
  • Live: a window at the end follows the end; one in the middle stays.
  • The keys: +/-/0, ←/→ past the edge, Shift+←/→.
  • The summary of the window; the table marking it; persist.
  • A browser check: wheel and slider in the gallery, the window in the summary.

Implementation plan

  1. zoom, range and the styling in ChartBase and the six; WireCharts' three through the same.
  2. The keys and the slider overlay.
  3. The summary, the table's marks, persist; export.
  4. The gallery's time charts zoomable; docs, CHANGELOG.

Open questions

  1. Off by default? Recommendation: yes. A chart of twelve months doesn't need it, and a wheel over a dashboard should scroll the page, not zoom a chart.
  2. The slider always, or only the wheel and the keys? Recommendation: the slider with zoom: it's where the window is seen, and what a pointer user without a wheel drags.
  3. range in the axis's values, or as percents? Recommendation: values. "March" is what an app means; percents change meaning when live data adds a day.
  4. The table: all rows, or only the window's? Recommendation: all rows, the window marked. The assistant answering "and April?" shouldn't depend on where the user left the slider.
  5. Zoom on the value axis too (a y zoom)? Recommendation: not in this RFC; the category or time axis is where the length is.

As built

  • One place: internal/zoom.js turns the window between the axis's values and ECharts' percents, moves it for the keys, cuts the data to it for the summary, and styles the slider. ChartBase finds the axis in the option it draws (a category axis's categories, a time axis's first series' dates, a scatter's x), so the five of 0.58 and WireCharts' three share it; a chart zooms when its option has a data zoom.
  • The window is set in the option on every drawing (start, end), so new data keeps it without a second action; the app's range is dispatched as percents, and ECharts' datazoom (percents from the slider and the wheel, values from an action) comes back as values.
  • The handles' overlay sits where the slider is drawn (the slider's place is fixed for it: 48 px in, 8 px up, 22 px high; on the right, standing, for BarChart), and lets the pointer through. A browser check put both ends on ECharts' own handles.
  • Words: elyra.charts.window, shownCaption, windowStart and windowEnd, in English and Norwegian.
  • Found on the way: a chart that had data from the start dropped the first new value of its live query. The update after the first drawing was skipped by a flag, and the first drawing can come after that update has already run (the canvas is bound later); it now compares what it last drew from.

Decisions

  1. Off by default; zoom turns it on.
  2. The slider always with zoom, beside the wheel, a pinch, a drag and the keys.
  3. range in the axis's values, null for all.
  4. The table keeps every row, the window's marked.
  5. No zoom on the value axis in this RFC.

Not in this RFC

  • Brushing (selecting points with a rectangle), and linked charts (one chart's window driving another's) beyond bind:range.
  • Zoom on the y axis, on pies, gauges, trees and the like.

Alternatives considered

  • Only WireCharts' zoom on more charts: the pointer gets it; the app and the keyboard don't.
  • Paging the data instead (Pagination under a chart): a month at a time loses the year's shape, which is why one zooms.