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

feature: export chart to data url #1903

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

eric-gitta-moore
Copy link

@eric-gitta-moore eric-gitta-moore commented Oct 18, 2023

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Unable to export chart. #1906

What is the new behavior?

The method of exporting data-url is added for BaseChart, and users can download images by obtaining data-url and a tag.

export options
image
image

export to svg
image

export to bitmap
image

with transparent

image

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

@eric-gitta-moore eric-gitta-moore changed the title Feature/export image feature: export chart to data url Oct 18, 2023
@Lyq322
Copy link

Lyq322 commented Jan 10, 2024

image In the image for combo chart the legend is cut off for all three formats

@Lyq322
Copy link

Lyq322 commented Jan 10, 2024

Screenshot 2024-01-09 at 6 34 57 PM

The image for advanced pie chart is also cut off in many places.

@kedij777
Copy link

Incredible feature! But it seems like the exported image won't include legend if I choose legend at the bottom.
pie-chart

@sudarshansb143
Copy link

image
Why is this feature is still not available on demo site ?

Nancy Harris and others added 4 commits March 4, 2024 21:02
Co-authored-by: Yuqing Liu <47932418+Lyq322@users.noreply.github.com>
Co-authored-by: Yuqing Liu <47932418+Lyq322@users.noreply.github.com>
@eric-gitta-moore
Copy link
Author

@sudarshansb143
Thank you for your attention, here are two reasons that may cause temporarily unavailable reasons.

  1. There are also problems with exporting individual charts
  2. Project merging code may not be very active

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

Successfully merging this pull request may close these issues.

None yet

4 participants