Skip to content

Legend draws off the screen when taking a screen shot with Puppeteer #6218

Description

@kenperregaux

We draw the charts in 'screen shot mode' so puppeteer can draw them properly but a lot of the time the legend gets drawn off the area (see PDF attached). If going into 'screen shot mode' from browser elements appear correctly. (Some further info, if I put a setTimeout in the onAnamiationEnd the legend seems to draw properly but the chart lines draw on tip of the X-axis).

Image

We also use the onAnimationEnd to signal that the chart has finished drawing.

Any help would nice!

Dashboard_2025-08-14_14-56-55.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions