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

Export chart as code #13

Open
FriendlyUser opened this issue Apr 24, 2023 · 3 comments
Open

Export chart as code #13

FriendlyUser opened this issue Apr 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@FriendlyUser
Copy link

is there any way to have the chart exported as code I can import into another project?

Thinking of including them in my videos.

@whoiskatrin whoiskatrin added the enhancement New feature or request label Apr 26, 2023
@PalAditya
Copy link

Hi, I would like to work on this if possible. Couple of clarifications though:

  • When we say "Chart exported as code", do we mean just the string data that is passed as the recharts data, alongside the chart type?
  • Is this supposed to be exposed as an api, a button on the homepage (like the download button), or both?

@PalAditya
Copy link

Hi, I would like to work on this if possible. Couple of clarifications though:

  • When we say "Chart exported as code", do we mean just the string data that is passed as the recharts data, alongside the chart type?
  • Is this supposed to be exposed as an api, a button on the homepage (like the download button), or both?

Got somewhat excited (This is a great tool!) and added #36 as a POC for this. Happy to carry on the discussion there, if applicable

@merrillcook0
Copy link
Contributor

Perhaps related, I think being able to copy the svg code on button click (potentially separate from API) could be useful

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

No branches or pull requests

4 participants