↻ Draggable Arc example
New LayerChart example demonstrating how to setup pointer events to create an interactive click and drag arc. Great for setting targets.
https://www.layerchart.com/docs/examples/Arc#draggable_arc
New LayerChart example demonstrating how to setup pointer events to create an interactive click and drag arc. Great for setting targets.
https://www.layerchart.com/docs/examples/Arc#draggable_arc
Comments
`
Modes include `band` (BarChart default), `bisect-x`, `bisect-y`, `bisect-band`, `bounds`, `voronoi`, `quadtree`, and `manual` (call via pointer events on paths such as Geo/Arc/etc).
https://www.layerchart.com/docs/components/Tooltip
https://github.com/techniq/layerchart/blob/main/packages/layerchart/src/lib/components/tooltip/TooltipContext.svelte#L238-L265
https://d3js.org/d3-scale/band#band_paddingInner
Always open for a PR too 😁
https://github.com/techniq/layerchart/releases/tag/layerchart%400.99.3