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

[Accessibility] Data analysis scatter chart - use symbol and color to differentiate data series #1667

Merged
merged 24 commits into from
Aug 29, 2022

Conversation

RubyZ10
Copy link
Contributor

@RubyZ10 RubyZ10 commented Aug 24, 2022

This PR made change to Data analysis scatter chart, before this change, we use 13 colors to differentiate different data series, but it does not work for people with vision issues.
With the change, we introduce five different symbols combine with three colors
image

Before change
image

After change
image
Dark theme
image
Dark theme with two data series
image

Description

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2022

Codecov Report

Merging #1667 (6fcb55f) into main (f2c5bab) will decrease coverage by 3.57%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1667      +/-   ##
==========================================
- Coverage   88.88%   85.31%   -3.58%     
==========================================
  Files         105       58      -47     
  Lines        5553     3031    -2522     
==========================================
- Hits         4936     2586    -2350     
+ Misses        617      445     -172     
Flag Coverage Δ
unittests 85.31% <ø> (-3.58%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...leai/responsibleai/databalanceanalysis/__init__.py
...eai/responsibleai/managers/data_balance_manager.py
...ai/responsibleai/_tools/causal/causal_constants.py
...ponsibleai/responsibleai/rai_insights/constants.py
...sibleai/responsibleai/rai_insights/rai_insights.py
responsibleai/responsibleai/__version__.py
...ai/databalanceanalysis/feature_balance_measures.py
responsibleai/responsibleai/_data_validations.py
...bleai/responsibleai/_tools/causal/causal_config.py
...onsibleai/responsibleai/managers/causal_manager.py
... and 37 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@RubyZ10 RubyZ10 marked this pull request as ready for review August 24, 2022 22:56
1 similar comment
Signed-off-by: Ruby Zhu <[email protected]>
Signed-off-by: Ruby Zhu <[email protected]>
1 similar comment
Copy link
Contributor

@imatiach-msft imatiach-msft left a comment

Choose a reason for hiding this comment

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

Approved but the most important thing is to make sure colors are consistent and you are using the global FluentUI paletter we have in core-ui. This was a task given to me and we need to make sure we continue to use consistent colors throughout the application's components.

@imatiach-msft
Copy link
Contributor

On the colors, please see this PR for more details:
#1559
I think we should either change the current PR's colors to be consistent with that or change the global color palette to use these colors.

1 similar comment
@RubyZ10 RubyZ10 enabled auto-merge (squash) August 25, 2022 20:42
1 similar comment
@RubyZ10 RubyZ10 disabled auto-merge August 26, 2022 18:25
@RubyZ10 RubyZ10 enabled auto-merge (squash) August 26, 2022 19:06
1 similar comment
1 similar comment
@RubyZ10 RubyZ10 merged commit cb46dc3 into main Aug 29, 2022
@RubyZ10 RubyZ10 deleted the zhenzhu/a11yFix branch August 29, 2022 18:49
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.

5 participants