-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
improvementFeature improvement or enhancementFeature improvement or enhancement
Description
Hi. When I am using browser's printing function, the scatterplot does not redraw itself and instead just stretches last canvas content into the new one. It is possible to detect printing using window.matchMedia but calling redraw function doesn't do anything since redraws are queued for next animation frames. It is also not possible to hold printing until the next frame, it happens immediately after related events get fired. It would be nice to be able to redraw scatterplot immediately to update it for printing specific size/aspectratio changes.
Also redraw function is missing from documentation and draw can't be called with empty arguments according to typescript types, while being allowed according to documentation.
Metadata
Metadata
Assignees
Labels
improvementFeature improvement or enhancementFeature improvement or enhancement