Skip to content

Conversation

@jayb
Copy link
Collaborator

@jayb jayb commented Jan 22, 2026

Summary

This PR adds a "Snap to Data" mode for annotations that will keep an annotation pointing at a specific piece of data even when it moves around due to filter changes/etc.

Testing Steps

  • Load this config
  • Add an annotation, set it to "Snap to Data" mode
  • When you toggle the filter on the chart, the annotation should move to follow the data
  • If you attach the annotation to data that only exists in one view, it should disappear in the other view
  • Experiment more with annotations in general and make sure they work as expected

@jayb jayb added Hold and removed Hold labels Jan 22, 2026
@jayb jayb force-pushed the feature/dev-12022-annotations branch from d412d52 to faf03c3 Compare January 28, 2026 18:19
@jayb jayb force-pushed the feature/dev-12022-annotations branch from c615e8c to 7b03b2c Compare January 28, 2026 18:52
@adamdoe
Copy link
Collaborator

adamdoe commented Jan 28, 2026

Im seeing this example change the position between dev and feature/dev-12022-annotations:
http://localhost:8080/?config=/examples/feature/annotations/index.json&location=School

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants