plot icon indicating copy to clipboard operation
plot copied to clipboard

z-aware pointer

Open Fil opened this issue 2 years ago • 4 comments

Demo: https://observablehq.com/@observablehq/pointer-z-1671

Questions:

  • Do we always follow an explicit z? ✓
  • Do line marks (and area, etc.) set z when the stroke or fill option is specified? ✓
  • Is this something we want to opt-in more explicitely (e.g. zPointer: true)? NO

Done:

  • [x] expose the series for viewof, not just one data point.
  • [x] create the groups in an initializer

https://github.com/observablehq/plot/assets/7001/6dafd782-6c06-4304-9eb2-2178af847531

closes #1574

maybe also part of a solution for #1621?

Fil avatar Jun 06 '23 14:06 Fil

Note: in order to minimize the diff, I did not wrap the call to initializer(options, ƒ). To do before merging.

Fil avatar Jun 07 '23 09:06 Fil

rebased

Fil avatar Jun 27 '23 11:06 Fil

It would be great to have this in Plot! 🙏🏻 What remaining issues need to be resolved?

mootari avatar Oct 22 '23 09:10 mootari