Skip to content

Component request: Download button #63

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

Closed
iainmwallace opened this issue Jul 2, 2017 · 3 comments
Closed

Component request: Download button #63

iainmwallace opened this issue Jul 2, 2017 · 3 comments

Comments

@iainmwallace
Copy link

Awesome package - based on the suggestion from I am calling out a couple of components that I have found incredibly useful in the Shiny universe. #53

It would be great to have a download button as a core component. In Shiny, it is a very common pattern to display data in a table and then to provide an option to download the contents of the table as a file

@chriddyp
Copy link
Member

chriddyp commented Jul 3, 2017

Thanks for reporting @iainmwallace ! Community: please 👍 if you'd like to see this feature.

@chriddyp
Copy link
Member

chriddyp commented Jul 3, 2017

Related. Note that there are a few options to pull a particular graph (it's current view) out of a Dash app and download it as a PNG, as a standalone HTML file, or its data.

1 - There is a camera button on every graph element which will download the current view of the graph as a PNG. Here's a GIF of this in action:
dash-screenshot

2 - There is a floppy disk icon in every graph element that will open up the chart in a chart editor on plot.ly. Inside the chart editor, you can edit every aspect of the chart: the colors, the text, the data, the chart type, even add annotations. You also have access to the underlying data behind the graph in this view. To save the graph, you'll need a plotly account (free for public data, subscription for private data) but you can also just take a screenshot or use the camera icon in this view if you don't want to sign up. Here's a GIF of this in action::
dash-workspace

Here's a link to the chart editor too: https://plot.ly/create.

@chriddyp
Copy link
Member

Here is a solution to download: https://community.plot.ly/t/download-raw-data/4700/8?u=chriddyp

HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 22, 2021
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
HammadTheOne pushed a commit that referenced this issue Jul 23, 2021
HammadTheOne pushed a commit that referenced this issue Jul 23, 2021
AnnMarieW pushed a commit to AnnMarieW/dash that referenced this issue Jan 6, 2022
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge
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

2 participants