-
Notifications
You must be signed in to change notification settings - Fork 626
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: Arc mark does not stack for quantitative
definitions when different fields are used for theta
and radius
[draft]
#9512
Open
hydrosquall
wants to merge
6
commits into
main
Choose a base branch
from
cameron.yick/fix-compile-pie-stack
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hydrosquall
changed the title
[draft]
[draft] Radial chart does not render as expected when different fields are used for Jan 20, 2025
theta
and radius
hydrosquall
changed the title
[draft] Radial chart does not render as expected when different fields are used for
fix: Radial chart does not render as expected when different fields are used for Jan 20, 2025
theta
and radius
theta
and radius
[draft]
hydrosquall
force-pushed
the
cameron.yick/fix-compile-pie-stack
branch
2 times, most recently
from
January 20, 2025 16:15
0b7380a
to
7f6ed6d
Compare
Deploying vega-lite with Cloudflare Pages
|
hydrosquall
force-pushed
the
cameron.yick/fix-compile-pie-stack
branch
from
January 20, 2025 16:16
7f6ed6d
to
3b1d979
Compare
hydrosquall
changed the title
fix: Radial chart does not render as expected when different fields are used for
fix: Radial mark does not render as expected when different fields used for Jan 20, 2025
theta
and radius
[draft]theta
and radius
[draft]
hydrosquall
commented
Jan 20, 2025
src/stack.ts
Outdated
// avoid grouping by the stacked field | ||
// TKTK: find out why |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this works here, we may need a similar change for the code block under dimensionOffsetChannel
.
5 tasks
hydrosquall
commented
Jan 20, 2025
src/stack.ts
Outdated
@@ -182,7 +182,7 @@ export function stack(m: Mark | MarkDef, encoding: Encoding<string>): StackPrope | |||
// TBD: we should only enter this branch if there's also a "color" and maybe a group channel? | |||
const isPolar = isPolarPositionChannel(fieldChannel) || isPolarPositionChannel(dimensionChannel); | |||
|
|||
if (!hasSameDimensionAndStackedField && (isPolar ? dimensionChannel === fieldChannel || encoding['color'] : true)) { | |||
if (!hasSameDimensionAndStackedField && (isPolar ? dimensionChannel === fieldChannel : true)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hydrosquall
force-pushed
the
cameron.yick/fix-compile-pie-stack
branch
5 times, most recently
from
January 26, 2025 02:31
89b647c
to
369fa1e
Compare
hydrosquall
changed the title
fix: Radial mark does not render as expected when different fields used for
fix: Radial mark does not stack for Jan 26, 2025
theta
and radius
[draft]quantitative
definitions when different fields are used for theta
and radius
[draft]
hydrosquall
changed the title
fix: Radial mark does not stack for
fix: Arc mark does not stack for Jan 26, 2025
quantitative
definitions when different fields are used for theta
and radius
[draft]quantitative
definitions when different fields are used for theta
and radius
[draft]
hydrosquall
force-pushed
the
cameron.yick/fix-compile-pie-stack
branch
from
January 26, 2025 02:55
a21fed9
to
905e53c
Compare
…el and stackChannel are same
…hannels are matching
hydrosquall
force-pushed
the
cameron.yick/fix-compile-pie-stack
branch
from
January 30, 2025 05:02
905e53c
to
6d37199
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
arc
mark with stacks, change graph renderingChanges
groupBy
field when thedimension
field is using aquantitative
scale. This ensures that stacking is applied correctly.radius
rather thantheta
Testing
stack
s should apply forarc
marks?