Double-Click What You Want to Change: Direct Manipulation Comes to CanvasXpress
Anyone who has used GraphPad Prism knows the gesture by heart: you want to reformat the axis, so you double-click the axis. You want to restyle the bars, so you double-click a bar. The dialog that opens is already showing the controls for exactly the thing you touched. There is no hunting through a menu tree trying to remember where "tick spacing" lives.
CanvasXpress now works the same way. Double-click any specific element of a chart — an axis label, a legend swatch, a data mark, a decoration, a metadata overlay, a title — and the Customizer opens scrolled straight to the section that formats that element.
From "it does nothing" to "it does the right thing"
Before, double-clicking an element on a CanvasXpress chart mostly logged a message or showed a tooltip. Only double-clicking empty canvas opened the Customizer, and it opened at a generic default section. The gesture a Prism user reaches for by reflex did nothing useful.
Now the double-click is routed by what you actually clicked:
- Double-click an axis or an axis label → the Customizer opens on Axes.
- Double-click a legend swatch or a size/bubble scale → it opens on Legends.
- Double-click a data mark — a bar, a point, a pie slice, a heatmap cell, a line — → it opens on Plot, where that chart's appearance controls live.
- Double-click a metadata overlay strip → it opens on Meta, pre-focused on that specific overlay.
- Double-click a decoration (a marker, a range, an annotation) → it opens on Decorate.
- Double-click a title, subtitle, or citation → it opens on the section that edits that text.
If the Customizer is already open, the same double-click simply switches it to the right section, highlighting the matching item in the left navigation. Either way, you land on the controls for the thing under your cursor.
A detail that took real care: a data mark and an axis label are resolved by the engine through completely different internal paths, so the routing keys on the raw drawn-object type that every element carries — which is why it works uniformly across bars, points, slices, cells, nodes, and Venn circles, not just the labeled elements.
It never opens a dead end
The Customizer's sections depend on the chart. A network chart has no "Plot" or "Axes" section; a scatter plot organizes its controls differently; a compact Customizer hides some panels entirely. A naive "jump to Plot" would sometimes land you on a section the current chart does not even have, leaving a panel with nothing highlighted and no way back.
So the router validates the target against the sections the current chart actually shows and falls back gracefully when the ideal section is not available — ultimately opening the Customizer at a sensible default rather than a broken state. Double-clicking a node on a network chart, which has no per-element formatting section, does no harm. The gesture is always safe.
There is one more nicety. Even the parts of a chart with no clickable hit area — the bare axis line, a tick, the plot background — now route by position. Double-click to the left or below the plot and you get Axes; double-click above it, where a title sits, and you get the title controls. The whole chart surface responds, not just the elements that happen to be hit-testable.
Every section was rebuilt to deserve the click
A direct-manipulation gesture is only as good as the panel it lands on. If you double-click a bar and the Plot panel reads "under construction," the gesture is a letdown. So alongside the routing, every Customizer section was audited and reorganized so that the controls for an element genuinely live in the section the double-click sends you to.
That audit touched all of them:
- Axes gained Prism-style tick controls — exact ticks, minor ticks, decimals — and lin/log scale toggles for every chart with a value axis, not just scatter plots.
- Plot went from literally empty for the most common chart types to a full set of per-chart style cards: bar styles, line styles and decorations, area and pie options, point appearance, error bars, data labels.
- Legends grew cards for layout, swatch keys, and per-legend entry toggles that had previously existed only as raw JSON parameters.
- Meta added overlay-settings controls and graph-specific mapping slots, and focuses on the exact overlay you double-clicked.
- Data surfaced clustering, normalization, summary, missing-data, and sort controls that the context menu had but the panel did not.
- Tools gained export, interaction, animation, and reproducibility cards.
- Theme filled in text, background, shadow, gradient, and transparency controls.
The result is that the double-click is not a shortcut to a half-finished dialog — it is a shortcut to a section that actually owns the controls for what you touched.
Nothing you relied on changed
The behaviors you already depend on are preserved exactly. Double-clicking empty canvas still opens the Customizer at its default. Network-node resizing and dendrogram zooming still work as before. If you have attached your own double-click handler, it still fires — and it runs first, so returning false from it vetoes the auto-open and keeps full control in your hands. And because this is a pure interaction change, every chart renders byte-for-byte identically to before.
The payoff
Customization stops being a scavenger hunt. You see something you want to change, you double-click it, and the right controls are in front of you. It is the gesture scientists already know from their desktop stats tools, now built into every CanvasXpress chart — on the web, in your notebook, wherever your charts live.