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

fix: move name from layer chart to one of the inside layers #8662

Merged
merged 4 commits into from
Feb 13, 2023
Merged

fix: move name from layer chart to one of the inside layers #8662

merged 4 commits into from
Feb 13, 2023

Conversation

ChristopherDavisUCI
Copy link
Contributor

This is an attempt to fix part of #7854, specifically, the part mentioned in #7854 (comment)

In @mattijn's example I linked, the spec gets copied behind the scenes to form a layer chart (because of the "point": true). Because the spec has a name property, that also gets duplicated. Here we prevent the name property from getting duplicated.

I'm very happy to hear whether or not this is a reasonable solution. Thank you for your time!

@domoritz domoritz merged commit d99f614 into vega:main Feb 13, 2023
@domoritz
Copy link
Member

Thank you. Makes sense to me.

@ChristopherDavisUCI ChristopherDavisUCI deleted the cd/name-in-layer branch August 14, 2023 07:28
BradyJ27 pushed a commit to BradyJ27/vega-lite that referenced this pull request Oct 19, 2023
* Move name from layer chart to one of the inside layers

* chore: update TOC [CI]

* chore: update TOC [CI]

---------

Co-authored-by: GitHub Actions Bot <vega-actions-bot@users.noreply.github.com>
Co-authored-by: Dominik Moritz <domoritz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Altair Issue that is blocking Altair
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants