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

Generated Charts passing in data as an attribute messes up title ... extra space at top - pie chart #597

Open
jschimmoeller opened this issue Mar 16, 2023 · 0 comments

Comments

@jschimmoeller
Copy link

if you use the data attribute you will get an extra space at the top. The first graph will have extra spacing at the top.

<div className="Container"> <div className="App"> <Vega spec={graph} data={data} renderer={"svg"} actions={false} /> </div> </div> <div className="Container"> <div className="App"> <Vega spec={graphValues} renderer={"svg"} actions={false} /> </div> </div>

Here is a codesandbox showing issue:
https://codesandbox.io/s/keen-resonance-jl4bp6

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

1 participant