FormidableLabs / FormidableLabs/victory
Possible to use CanvasCurve without creating multiple new canvas nodes?
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 536
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
### Question
I need to make a chart with 50k+ lines (sometimes called a Spaghetti chart), so the canvas approach seems ideal, but from everything that I can see, each VictoryLine is creating it's own canvas object from the CanvasGroup, and the 1 nice line is rendering with the CanvasCurve, but the whole point of using a canvas is to reuse the canvas context for all the lines. Is there any way to share the canvas context?
Example:

Contributor guide
Assessment
This issue has not been assessed yet.