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

Do not set Chart.svg as protected or allow direct access in some other way #1377

Open
1 task
nkoehring opened this issue Nov 4, 2022 · 0 comments
Open
1 task

Comments

@nkoehring
Copy link

Would you like to work on this feature?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

What problem are you trying to solve?

I want to allow a chart export and need access to the underlying SVG object inside the chart. Unfortunately, it is protected and there is no direct way to reach it unless turning off Typescript for this line.

Describe the solution you'd like

Either the svg property should not be protected or a getSvg method should be added.

Describe alternatives you've considered

// @ts-ignore

which is not a good "alternative"

Documentation, Adoption, Migration Strategy

No response

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

No branches or pull requests

1 participant