Skip to content

Possible to use CanvasCurve without creating multiple new canvas nodes? #3070

@chriszrc

Description

@chriszrc

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:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Question ❔Asking a question or asking for help

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions