Possible to use CanvasCurve without creating multiple new canvas nodes?
Author: chriszrcCreated Oct 15, 2025Updated Jul 8, 2026
LabelsType: Question :grey_question:
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct
- 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:
Source: FormidableLabs/victory