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 0063 — Linked charts: one window, one pointer, a selection

RFC 0063 — Linked charts: one window, one pointer, a selection

Status: implemented (2026-11-27) · Target: 0.62.0 · builds on RFC 0058 and RFC 0061 · see Decisions

Summary

A dashboard is several charts over the same time: revenue, orders, returns, one above the other. Zoom one to March (RFC 0061) and the others still show the year; point at the 14th in one and the others say nothing; and there's no way to pick out "these points" in a scatter and have the table beside it show only them. Today an app wires that itself, through bind:range and onselect, chart by chart.

This RFC links charts, and lets the user select:

<LineChart series={revenue} categories={days} zoom link="sales" />
<ColumnChart series={orders} categories={days} zoom link="sales" />

<ScatterChart series={customers} brush bind:selection />
<Table rows={selection?.points ?? rows} … />
  • link="name": charts with the same name share their window (zoom one, the others follow) and their pointer (hover the 14th in one, each shows its tooltip at the 14th). Matched by the axis's values, not by position, so charts with different days still line up where they meet.
  • brush: drag a rectangle over a scatter, or a span along a category or time axis, to select what's under it. bind:selection is what's selected, as data the app uses: the points, or the categories.
  • The keyboard selects too: on the chart, Space marks where a selection starts, ←/→ (or the arrow keys over a scatter's points) extend it, Space again ends it, Esc clears it.
  • What it says: the summary and the hidden table mark the selection, as they mark the window (RFC 0061); linked charts say they're linked.

Motivation

  • Dashboards are linked by nature. "Revenue and orders in March" is one question asked of two charts; zooming each by hand is two answers that drift.
  • Selection is the scatter's question. "Who are these customers, up here with high revenue and few orders?" A scatter that can't select points can only be looked at.
  • The app owns the data, so the selection must be data. ECharts' brush reports indexes per series; an app wants the points (or the categories) to filter a table, open records or export.
  • The keyboard can't drag. Selecting by the pointer alone leaves a keyboard user out of the scatter's main question.

Current state (0.61)

  • bind:range (RFC 0061) gives each chart its window; linking two is the app's $effect, and the pointer isn't shared at all.
  • onselect reports one point on a click or Enter.
  • ECharts has connect(group) (shared tooltips and data zoom, by index), and the brush component (rectangle, polygon, line along an axis) reporting { seriesIndex, dataIndex[] } on brushSelected.

Design

link

ChartBase keeps a registry of linked charts by name (module scope, the page's). When one moves its window, the others are set to the same range in their own axis's values (RFC 0061's windowOf), so a chart of weeks and one of days stay together; a value one chart lacks is snapped to the nearest it has. When the pointer is over a category in one, the others showTip at the same value; leaving one hides the others'. Not ECharts' connect, which matches by index.

link and bind:range together: the range is the group's.

brush

Chart Brush selection
ScatterChart a rectangle (and lasso with Shift) { points: [{ series, x, y, size? }] }
Line, area, column, bar a span along the category axis { from, to, categories: [...] }

The brush is ECharts' (BrushComponent, its toolbox hidden), in the tokens' colours; brushSelected is turned into selection from the chart's own data, so the app gets its points, not indexes. Setting selection (null to clear) draws it. A click on empty space clears it. With brush and zoom both, a drag brushes and the wheel zooms.

The keyboard

On a chart with brush, focused: Space starts a selection at the focused point or category, ←/→ extend it along the categories (over a scatter, the arrows move to the nearest point in their direction, and Space toggles each one into the selection), Space ends it, Esc clears it. Each change is said in a live region: "March 3 to March 14 selected, 12 days".

What it says

The summary adds the selection ("Selected: 12 of 340 customers"); the table marks the selected rows (aria-selected), as the window's are marked (aria-current). A linked chart's description says with what: "Linked with 2 other charts".

Testing

  • link: zoom one, the others' dataZoom by value; different categories snapped; the pointer's tooltip on each; unlinking on unmount.
  • brush: a brushSelected turned into points and into categories; selection in draws the brush; clear.
  • The keys: a span over categories, points toggled over a scatter, Esc.
  • The summary and the table's marks; the live region's words.
  • A browser check in the gallery: two linked charts and a brushed scatter.

Implementation plan

  1. link: the registry, the window shared by value, the pointer.
  2. brush on the scatter and along the category axis; bind:selection.
  3. The keys and the live region; the summary and the table.
  4. The gallery's linked dashboard; docs, CHANGELOG.

Open questions

  1. link by a name, or by passing a shared object (link={group})? Recommendation: a name. It reads in markup, needs no import, and two charts on different pages of the same window can share it.
  2. The pointer shared by value, or by index (ECharts' connect)? Recommendation: by value: linked charts are often over different spans (a month's days beside a year's), where index 14 means different days.
  3. Lasso on the scatter, or only the rectangle? Recommendation: the rectangle, and the lasso with Shift held: the rectangle is what most selections are, and the lasso costs nothing more from ECharts.
  4. selection as data (points, categories) or as indexes? Recommendation: data, with index on each point as well, for an app that keeps its rows in the same order.
  5. Selection across linked charts? Recommendation: not in this RFC. Linked charts share the window and the pointer; a selection is one chart's, and the app passes it on.

As built

  • internal/link.js keeps the groups (module scope, the page's); each member follows a window and a pointer, and is told when the group changes, for "Linked with 2 other charts" (aria-description). The window goes by range, each chart snapping it to its own axis (snapRange, nearestIndex); the echo of a window a chart was given isn't passed on, and the pointer's echo is quiet for 120 ms.
  • The pointer is ECharts' updateAxisPointer turned into the axis's value, and showTip at the nearest point on the others; globalout hides theirs. A chart without a window reads its axis once a drawing, not on each move.
  • internal/brush.js: ECharts' brush (BrushComponent, no toolbox, armed by takeGlobalCursor), brushSelected turned into the app's points or categories, a selection the app sets drawn as areas. Its fill is the accent at 15 % (--elyra-accent-soft is solid, and would hide the points). With zoom, the inside zoom no longer pans on a drag.
  • The keys over a scatter walk the points with ←/→ (series by series, as the tooltip does) rather than to the nearest in a direction; Space marks each with ECharts' select.
  • The table's selected rows say ", selected" in their header: aria-selected isn't allowed on a plain table's rows.
  • Checked in the gallery's Linked section: a wheel over one chart zooms both, the pointer shows in both, a dragged rectangle selects 33 of 80.

Decisions

  1. link by a name.
  2. The pointer shared by value, not by index.
  3. The rectangle on the scatter, the lasso with Shift.
  4. selection as data, with index on each point as well.
  5. No selection across linked charts in this RFC.

Not in this RFC

  • Cross-filtering (a selection in one chart filtering the others' data): the app's, through bind:selection.
  • Brushing pies, maps, heatmaps, trees.
  • Saving a selection (persist): a selection is a moment's, a window is a view's.

Alternatives considered

  • ECharts' connect: shared by index, which lines up only identical axes, and gives the app nothing to read.
  • Leave linking to bind:range: works for the window, but the pointer can't be shared that way, and every dashboard writes the same effects.
  • Selection by clicks only (onselect with Shift for more): fine for a few points, not for "these forty, up here".