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 0065 — Marks: a target, a threshold, a period

RFC 0065 — Marks: a target, a threshold, a period

Status: implemented (2026-11-28) · Target: 0.63.0 · builds on RFC 0058, RFC 0061 and RFC 0063 · see Decisions

Summary

Most of the charts a business app draws are measured against something: revenue against the budget, response times against the SLA, a temperature against its normal range, the weeks of a campaign. Today @elyra/charts' five charts can only draw the data; the budget is a second series of the same value in every month (a legend entry, a tooltip line and a summary sentence that are noise), and a period can't be drawn at all. WireCharts' LineAnnotatedChart does it for one kind of chart, with its own option.

This RFC adds marks to LineChart, AreaChart, ColumnChart, BarChart and ScatterChart:

<ColumnChart
  series={revenue}
  categories={months}
  marks={[
    { value: 120_000, label: "Budget" },
    { value: [80, 120], label: "Normal", tone: "success" },
    { at: "2026-03", label: "Price change" },
    { at: ["2026-06", "2026-08"], label: "Campaign" },
  ]}
/>
  • value is on the value axis: one number is a line (the budget), two are a band (the normal range).
  • at is on the category or time axis (x on a scatter): one is a line (a day something happened), two are a band (a period).
  • label is drawn by the mark and said; tone picks its colour from the tokens (muted by default, accent, success, warning, danger).
  • What it says: the summary names the marks, and a value line says how many points are over it: "Budget 120 000: 4 of 12 months over".

Motivation

  • A number means something against a target. "Revenue 112 000 in May" is half the answer; "under budget" is the other half, and the chart is where it's seen.
  • A target as a series is wrong in every channel. It's in the legend as if it were data, in each tooltip, in the summary ("Budget from 120 000 to 120 000"), in the CSV, and zoomed and selected as if it were points.
  • Periods explain the data. A spike in March is a price change; a band over the campaign's weeks says so without a paragraph beside the chart.
  • A screen reader user needs the comparison too. A line drawn on a canvas says nothing; "4 of 12 months over budget" is what the line is for.

Current state (0.62)

  • The five charts draw series only; custom options (Chart) can carry ECharts' markLine and markArea, unstyled and unsaid.
  • WireCharts' LineAnnotatedChart, LineForecastChart and SplineBandsChart draw marks of their own kinds, with WireCharts' options.
  • ECharts has markLine (by xAxis/yAxis value) and markArea (a pair of corners) on a series; a value outside the axis's extent isn't drawn, since marks don't widen the axis.

Design

marks

An array; each mark is one of:

Mark Drawn as
{ value: n } a dashed line across, at n on the value axis
{ value: [a, b] } a band between a and b on the value axis
{ at: c } a dashed line along, at category (or date, or x) c
{ at: [c, d] } a band from c to d

with label (optional, drawn at the line's end or the band's top) and tone (muted, accent, success, warning, danger). In a BarChart the axes are turned, and so are the marks: value is upright. A category at that isn't in categories is snapped to the nearest one (RFC 0063's nearestIndex); on a time axis it's a date, as the categories are.

Drawing

The marks are carried by a series of their own: an empty line series with markLine and markArea, left out of the legend, the tooltip, the summary, the table, the CSV, the brush and the keys. So hiding the first series in the legend doesn't hide the budget, and a stacked chart's stack isn't touched. Lines are 1 px, dashed, in the tone's colour; bands are the tone at 12 % (as RFC 0063's brush, withAlpha), behind the data. Labels are in the tokens' small text, in the tone.

The value axis is widened to take in each value mark (ECharts' min/max as functions of the data's extent), so a budget above every month is still on the chart. A percent stack (percent) takes value in percent.

With zoom, links and print

  • Zoom (RFC 0061): an at mark outside the window isn't drawn, and the window's summary names only the marks in it.
  • Links (RFC 0063): marks are each chart's own; linked charts don't share them.
  • Print and PDF (RFC 0062): the tones resolve to the light theme's on paper, as the rest of the chart does.
  • Export (RFC 0060): the image has the marks; the CSV doesn't (it's the data).

What it says

The summary adds a sentence per mark after the series':

  • a value line: "Budget 120 000: 4 of 12 months over." (with one series; with several, "Budget 120 000.")
  • a value band: "Normal 80 to 120: 9 of 12 in it."
  • a category line: "Price change at March."
  • a category band: "Campaign from June to August."

The hidden table gets the same sentences in a paragraph after it, and a category band marks its rows (aria-describedby to the band's sentence). The words are the framework's (elyra.charts.markOver, markIn, markAt, markSpan), in English and Norwegian.

Testing

  • marksOf: each kind of mark into markLine/markArea, turned for BarChart, snapped categories, dates on a time axis, the axis widened, percent stacks.
  • The marks' series out of the legend, tooltip, table, CSV, brush and keys.
  • The summary's sentences: over and in counts, one series and several, in a zoomed window.
  • A browser check in the gallery: a column chart against a budget and a line over a campaign.

Implementation plan

  1. marksOf in internal/options.js, for the cartesian charts and the scatter; the tones in theme.js; the axis widened.
  2. The summary's and the table's sentences, the words.
  3. The five components' marks; Chart's pass-through; the gallery's Marks section; docs, CHANGELOG.

Open questions

  1. value/at, or y/x? Recommendation: value/at. They mean the same in a BarChart, where y and x are turned, and say what the app means ("the budget's value", "at March").
  2. Count the points over a value line in the summary? Recommendation: yes, with one series (or a stack's total): it's the question the line is drawn to answer. With several separate series the counts would be a sentence per series; the summary names the line only.
  3. Widen the value axis to take in a mark? Recommendation: yes. A budget off the chart is a mark the user never sees, and the app can't know the axis's extent to fix it.
  4. Marks on the pie, the heatmap and WireCharts' charts? Recommendation: not in this RFC. A pie has no axis to mark; WireCharts' charts that mark have their own options.
  5. A mark's tooltip (hover the budget line to see its value)? Recommendation: no: the label carries the value when the app puts it there ("Budget 120 000"), and a line a pointer must find is one more thing the keys can't reach.

As built

  • internal/marks.js: marksFrom reads the app's marks (a value that isn't a number, or a mark with neither, is dropped), marksOf makes the two series that carry them (elyra-marks-areas at z: 1, behind the data; elyra-marks-lines at z: 3, over it), empty, silent, out of the tooltip, and marksSaid and bandRows say them. The cartesian and scatter options append them; with marks, the legend's data is the data's series only.
  • The axis is widened by ECharts 6's dataMin/dataMax, which join the data's extent before the axis is rounded, rather than min/max functions, which would fix the axis at the mark's value exactly.
  • A band over bars takes in the bars at its ends: half a step out on each side ([lo - 0.5, hi + 0.5]), so "June to August" covers June's column and August's.
  • A category that isn't there is the nearest one when the categories and the mark are dates, and isn't drawn otherwise.
  • MarkLineComponent and MarkAreaComponent are in a chart's use only when it has marks.
  • Chart doesn't take marks: its option is the app's, and draws ECharts' markLine and markArea as the app writes them.
  • The table: a <p> a mark after it, and a period's rows point at its sentence by aria-describedby.
  • Checked in Chromium: the gallery's Marks section (a column chart against a budget and the summer, a year of visits with a normal range, a campaign and a day, a bar chart's target beyond every bar), in both themes; zoomed into May, the campaign is drawn and said, September's day is neither.

Decisions

  1. value/at, not y/x.
  2. The points over a value line are counted in the summary, with one series (or a stack's total); with several, the line is named only.
  3. The value axis is widened to take in each value mark.
  4. No marks on the pie, the heatmap or WireCharts' charts in this RFC.
  5. No tooltip on a mark: its label carries what the app puts there.

Not in this RFC

  • Marks the user drags (moving a threshold to set it).
  • Per-point annotations (a pin on one point with a note); onselect and the app's own popover do that today.
  • A target per category (a budget that differs month by month): a series, drawn as a line over columns, is that; a later RFC may give it a style of its own.

Alternatives considered

  • The target as a series, as today: wrong in the legend, the tooltip, the summary, the CSV, the zoom and the brush.
  • ECharts' markLine on the first series: hidden with that series in the legend, stacked with it, and unsaid.
  • custom options only: every app styles and describes its own budget line, and none of them says it.