Manual
The document
OverviewGrammarDocument headerSyntax cheatsheet Scene Step
Content
Text blocks
Paragraph Heading 1 Heading 2 Heading 3 Heading 4 List
Maths
Equation Maths
Tables & images
Table Image
Formatting
Bold Italics Inline Code Highlight
Text colours
Links & references
Link Footnote Icon Internote Reference
ValueWhere inline content works
Narrative only
Note Definition Example Task Divider
Graph pane
Graph
Curves & areas
Curve Integral
Data marks
Scatter Histogram
Fits
Fit Residuals
Surfaces
Contour Heatmap
Marks
Line Segment Vector Point Polygon Text
Shapes
Circle Square Rectangle Triangle Star Diamond Hexagon
Axis furniture
Axis label Axis Brace
Expressions
Code pane
Code Lines
Animation & interaction
Cues that wrap content
Cue Draw cue Trace cue Highlight cue Spotlight cue Type cue
Cues on a value
Value cue Zoom cue
Anchors & timing Parameter
Advanced features
Data Let Define Preset Include If For Ignore
Reference
All constructs A–ZAttribute types
Concepts
IdentifiersBody & detailDerived attributes
Guidance
The narrative contractWhat earns a place on the canvasParameter or cueHonest numbersCode demonstrates, never computesAuthor-attached data only
?
  1. Animation & interaction
  2. Cues on a value
  3. Zoom cue

Animation & interaction · Cues on a value

Zoom cue

!cue.zoomCue micronode

A cue micronode for a graph’s `x-domain` / `y-domain` that announces itself: a box is drawn around the smaller of the two windows, held, and only then does the view move — into the box when zooming in, out of it when zooming out. The box never moves in data coordinates. Everything else works exactly like `!cue.to`, and the two can share a chain.

Attributes

atRequired
cue-anchor
When the zoom begins (the box starts drawing): a step index, an absolute scene time, or a compound offset.
over
duration
How long the view takes to move once the box has been drawn and held.
Default1500
easing
easing-function
The move’s timing curve.
Defaultsmooth
draw
duration
How long the box takes to draw itself around the region.
hold
duration
Also written: pauseThe pause between the box closing and the view starting to move.
colour
colour
Also written: colorThe box is drawn in this palette colour.

Allowed content

Body { }The target domain, e.g. [2, 4]

Examples

x-domain: [0, 10] !cue.zoom{[2, 4]}(at: 2; draw: 400ms; hold: 300ms; colour: blue)
On this page
AttributesExamples
PrivacyTermsContact Support
Zoom cue · Internote