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

Enable 'tozeroy' mode for Area Charts #33581

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

Conversation

srmukher
Copy link
Contributor

@srmukher srmukher commented Jan 8, 2025

Enable 'tozeroy' mode for Area Charts

image

@srmukher srmukher requested a review from a team as a code owner January 8, 2025 10:24
Copy link

github-actions bot commented Jan 8, 2025

📊 Bundle size report

✅ No changes found

@srmukher srmukher force-pushed the users/srmukher/zero_to_y branch from f54f284 to 43263f2 Compare January 8, 2025 11:25
@srmukher srmukher force-pushed the users/srmukher/zero_to_y branch 2 times, most recently from 75a3500 to 7fbe2c1 Compare January 9, 2025 06:43
@srmukher srmukher force-pushed the users/srmukher/zero_to_y branch from 7fbe2c1 to 561c69e Compare January 9, 2025 07:46
Copy link

github-actions bot commented Jan 9, 2025

Pull request demo site: URL

currentStack.push({
values: d,
currentLayer.push({
values: this.props.mode === AreaChartModes.toZeroY ? [0, d[1]] : d,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a snapshot test for this change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@AtishayMsft
Copy link
Contributor

Enable 'tozeroy' mode for Area Charts

image

The overlapping color is not coming correctly.

@srmukher
Copy link
Contributor Author

srmukher commented Jan 10, 2025

Enable 'tozeroy' mode for Area Charts
image

The overlapping color is not coming correctly.

This is because the layers have different colors and one over the other. Clicking each legend individually gives the individual colors correctly. Similar is for plotly:
image

@AtishayMsft
Copy link
Contributor

AtishayMsft commented Jan 10, 2025

fixed as discussed offline

Enable 'tozeroy' mode for Area Charts
image

The overlapping color is not coming correctly.

This is because the layers have different colors and one over the other. Clicking each legend individually gives the individual colors correctly. Similar is for plotly: image

this needs to be fixed

@fabricteam
Copy link
Collaborator

🕵 fluentuiv8 No visual regressions between this PR and main

@AtishayMsft
Copy link
Contributor

Can you share a screenshot of the implementation

@srmukher
Copy link
Contributor Author

Can you share a screenshot of the implementation

already updated the description with the screenshot

@AtishayMsft
Copy link
Contributor

Can you share a screenshot of the implementation

already updated the description with the screenshot

Not clear in the description. It has percentage and not absolute values

@srmukher
Copy link
Contributor Author

Can you share a screenshot of the implementation

already updated the description with the screenshot

Not clear in the description. It has percentage and not absolute values
image

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.

3 participants