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 0072 — Targets: a goal for each category

RFC 0072 — Targets: a goal for each category

Status: implemented (2026-11-28) · Target: 0.64.0 · builds on RFC 0058 and RFC 0065 · see Decisions

Summary

RFC 0065's marks are one value for the whole chart: the budget is 120,000 every month. Real budgets aren't: December's is twice June's, a sales target grows each quarter, a headcount plan steps up. RFC 0065 left "a target per category" for later, and the way to draw one today is a second series, which is wrong in the legend, the tooltip, the summary, the CSV, the zoom and the brush, the problems marks were made to solve.

This RFC gives the cartesian charts a target per category:

<ColumnChart
  series={[{ name: "Revenue", data: actual }]}
  categories={months}
  targets={{ label: "Budget", data: budget }}
/>
  • targets: { label, data, tone?, lower? }, data one value a category (null for none), as a series' is; lower for a target that's a ceiling (a cost).
  • Drawn as a goal, not as data: across each column (or bar) a short, thick line at its target, the bullet chart's mark; on a line or an area, a dashed step line through the targets.
  • Said against the data: the summary ("Budget: 7 of 12 months met"), the tooltip ("Revenue 112,000 · Budget 130,000 · −18,000"), and the hidden table's own column (the target and the difference, row by row).
  • Not data: out of the legend, the brush and the keys' points; the value axis takes the targets in; the CSV has them as a column of their own, named by the label, since a target per category is a number per row.

Motivation

  • A budget is per month. One line for the year says nothing about a December that's short of its own budget but over June's.
  • "Met or not" is per category. A summary that counts the months that met their own target answers the question the chart is drawn for.
  • The bullet chart is the business chart. Stephen Few's design (a bar, its target as a tick across it) is how a dashboard shows actual against plan in the least room; it's missing from @elyra/charts.
  • A second series is wrong in every channel, as RFC 0065 said of a constant target; a varying one is no different.

Current state (0.63)

  • marks (RFC 0065): { value } and { at }, one line or band each, drawn by series of their own, said in the summary.
  • ColumnChart, BarChart, LineChart, AreaChart draw series; ECharts can draw a tick per category with a custom series or a pictorialBar (a thin rect symbol at each value).

Design

targets

{ label, data, tone, lower }: label names it (the legend doesn't, the tooltip, the summary and the table do), data is aligned with categories (a shorter list leaves the rest without), tone is RFC 0065's (accent by default), and lower says it's met at or under rather than at or over. On a time axis, data may be [date, value] pairs, as a series' may.

Drawn

Chart The target
ColumnChart a horizontal tick across each column, 70 % of its width, 3 px
BarChart a vertical tick across each bar
LineChart, AreaChart a dashed step line through the targets

The ticks are a pictorialBar series (symbol: "rect", sized to the band), above the columns, silent; the step line a line series, step: "middle", dashed. Either is out of the legend, the brush and the keys' walk, as RFC 0065's marks are; a stacked chart's ticks are against the stack's total. The value axis takes the targets in (dataMin/dataMax, as RFC 0065's).

Said

  • The summary, after the series': "Budget: 7 of 12 months met" (at or over; with lower: true on the target, at or under, for a cost), with one series or a stack's total; with several separate series, "Budget shown".
  • The tooltip at a category: the target and the difference from the series (or the total), signed, in the chart's format.
  • The hidden table: a column named by the label, and one for the difference ("Budget", "Difference"), so a screen reader walks actual and target together; zoomed in, the window's rows, as RFC 0061's are.
  • The CSV (RFC 0060): the target's column beside the series'.

Words

elyra.charts.targetMet (":label: :count of :total met"), targetShown (":label shown"), difference ("Difference"), in English and Norwegian.

Testing

  • The option: ticks on a column and a bar chart (turned), the step line, a stack's total, the axis widened, null targets, a time axis's pairs.
  • Out of the legend, the brush and the keys.
  • The summary (met, lower, several series, zoomed), the tooltip's difference, the table's columns, the CSV.
  • The gallery: a column chart of a year against a monthly budget, and a bar chart's bullet form; checked in Chromium.

Implementation plan

  1. internal/targets.js: the series that draw the targets, and what's said, held by tests without a DOM.
  2. The four components' targets; the tooltip; the table and the CSV.
  3. The gallery, docs (docs/charts.md), CHANGELOG.

Open questions

  1. A tick (bullet chart) on columns, or the step line on every chart? Recommendation: the tick on columns and bars, the step line on lines and areas. A step line through columns is hard to read against their tops; a tick is where the eye already is.
  2. "Met" as at or over, with lower for costs? Recommendation: yes: most targets are floors (revenue, sales), and a cost's ceiling is one flag away.
  3. The target in the CSV? Recommendation: yes, as a column: unlike a constant mark, a target per category is data a spreadsheet wants beside the actuals.
  4. Several targets (a budget and last year)? Recommendation: one in this RFC. Last year is a series; a second target is rare, and targets can become a list later without breaking.
  5. Targets on the pie, the scatter and WireCharts' charts? Recommendation: no: a pie has no axis to measure along, a scatter's points aren't categories, and WireCharts' charts have their own.

As built

  • internal/targets.js: targetsFrom, measuredOf, targetsOf, tickOf, targetsSaid, targetColumns and tooltipWithTargets, plain functions.
  • The tick is a custom series (CustomChart, in a chart's use only with targets) rather than a pictorialBar: its renderItem sizes the tick to the band (api.size), 70 % of it and at most 48 px, as a column is. Its id starts elyra-marks-, so the brush leaves it out as it does RFC 0065's marks.
  • Its colour is the text's by default, edged in the surface's: in the accent, the columns' own colour, a tick inside a column was lost. A tone sets it.
  • The tooltip is a formatter of the chart's own when it has targets: each series' line as ECharts draws it, then the difference, signed, in the chart's format. The option is given the chart's words for it.
  • The table has the target's column and "Difference"; the CSV the target's only, as the data's neighbour.
  • Checked in Chromium: the gallery's Targets section (a column chart against a monthly budget, a bar chart's quota, a line under a ceiling), its summaries ("Budget: 8 of 12 met"), its table, and the tooltip by the keys ("Difference -3,000").

Decisions

  1. A tick across columns and bars, a dashed step line on lines and areas.
  2. "Met" is at or over; lower makes it at or under, for a cost.
  3. The target is a column in the CSV.
  4. One target a chart in this RFC.
  5. No targets on the pie, the scatter or WireCharts' charts.

Not in this RFC

  • Several targets on one chart.
  • A band per category (a range to land in, a normal per month).
  • Coloured columns by whether they met (red under, green over): the tick and the summary say it, and colour alone says it to no one who can't see it.

Alternatives considered

  • A second series, styled: the problems RFC 0065 listed, plus a legend entry and a CSV column named as if it were measured.
  • RFC 0065's marks, one per category: a dozen lines with a dozen labels, and nothing that says "7 of 12 met".
  • A BulletChart of its own: the bullet is a column chart with targets; one prop on the charts apps already use is less to learn.