Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make chart download link image visible at all times #595

Open
stephenhighemprise opened this issue Aug 3, 2022 · 2 comments
Open

Make chart download link image visible at all times #595

stephenhighemprise opened this issue Aug 3, 2022 · 2 comments

Comments

@stephenhighemprise
Copy link

I appreciate the client-side ability to download an image file of the chart. The problem is that discoverability is lower than we would like because the user must hover the mouse over the chart area to even see that download image appear. So not so great on desktop and impossible to download on mobile. I noticed that the styles are hardcoded here:

link.style.position = "absolute";

At the very least, it would be great to have an option to pass in a boolean to control whether or not the download link is always visible. Another idea is to pass in styles or classes for it.

@aseroff
Copy link

aseroff commented Aug 26, 2022

+1. A little bit more configuration options around download would be great. Specifically, my clients would like a big ol' "Download" button separate from the canvas entirely, it would be nice to be able to retrieve the base 64-encoded URL in some way for use elsewhere on the page.

@SpiderGoose
Copy link

all good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants