-
Couldn't load subscription status.
- Fork 196
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
In the same way that Plot.text supports dx and dy attributes to adjust the positioning of the text, it would be great to afford similar behavior for Plot.image marks.
Looking at the svg image documnetation, it appears as if the only native option is to use a transform property.
We could expose dx and dy options to in the Plot API (to match Plot.text), and use them to assign the translate property where:
const transformX = dx || 0;
const transformY = dy || 0;
const transform = translate(dx, dy)Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request