Graphy · Senior AI Product Engineer · 2026

Point and edit, click any part of a chart to change it

Try it: click the East line and change its colour ↗

The problem

Built-in editing was one of the things meant to set Graphy’s SDK apart, and it already had an editor panel. But the panel sat beside or over the chart, and to change a bar’s colour you had to find the right section in it. Point and edit lets you press the bar itself. The chart works out what you pressed and opens a menu beside it with only what that thing can change.

My part

I designed the interaction model and built it on top of the selection API and editor a teammate had started: what counts as under the pointer, how a press becomes a selection, the levels a selection moves between, the registry that decides which menu opens, and most of the menus. It went from a mockup to a working MVP in about six weeks, and then I handed it over. Two teammates added axis controls and inline title editing.

Progressive disclosure

One click takes a whole series and opens a short menu beside it. A double click goes one level deeper, to a single point, and a press above a bar takes the whole category. The menu names the selection in the chart’s own words, “Quarter: Q4 ’25” rather than “Group”, and a small selector moves between levels. The background opens the chart’s own menu. While you edit, tooltips and annotations step aside so nothing covers what you want to press. Hiding something raised the obvious question of how you get it back, so a hidden legend or axis keeps its rows in the chart’s menu, switched off rather than gone.

Naming what you pressed

The editor addressed an observation by its row index. Stats, filters and sorts rebuild those rows, so a saved selection or an undo step could quietly point at different data. I replaced the index with a name made of the data itself: its values and its breadth. Press the East line and the selection is East, every point. Double-click its Q4 ’25 point and it narrows to East and Q4 ’25, one point. Sort the chart or filter out a region and the name still finds the same data, because it never depended on where the row sat.

On, near, or nothing

A tooltip can always answer with the nearest point. A press cannot: a click between two bars should reach the grid line behind them, not the closest bar. I added tolerances to the hover engine, so it can tell a press on a mark from one merely near it. A line is measured to its stroke, an area by its fill, and two shapes under the cursor answer in paint order. The extra cost on each pointer move is a handful of distance checks.

No empty menus

Each part of a chart registers its own edit menu, and a host app can replace any of them or add its own. Anything with nothing to edit can’t be selected at all, so no menu ever opens empty. A single check, whether anything under the pointer has a menu, answers that for the outline, the press and the selector. That check takes about half a microsecond per pointer move, flat from 1,000 to 100,000 points.

How it was built

Every hard decision went into an architecture decision record before the code, sometimes as a PR with no code at all. Each step was driven in Storybook against edge cases: identical rows, null values, negative domains and empty datasets.