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

Introducing border between adjacent elements #2514

Open
2 tasks
Tracked by #196911
gvnmagni opened this issue Aug 26, 2024 · 2 comments
Open
2 tasks
Tracked by #196911

Introducing border between adjacent elements #2514

gvnmagni opened this issue Aug 26, 2024 · 2 comments
Assignees

Comments

@gvnmagni
Copy link

gvnmagni commented Aug 26, 2024

Following a wider conversation regarding colors, I would suggest to introduce borders between adjacent elements in order to improve readability and to make it simpler to tell apart visual shapes in charts.

We already do this in partition charts for examples (pies, donuts, treemaps...) but we don't do it in stacked barcharts, it would be great to evaluate the feasibility of this and the potential consequences

Image

Related

  1. 0 of 2
    Feature:Lens Team:Visualizations
    gvnmagni
@nickofthyme
Copy link
Collaborator

One thing we might run into with this is similar to the minBarHeight that sort of defies the scaled representation of the bar. This would be especially problematic when many bars are cluster in a small height to where the border eats into the height so much that the bar vanishes. I think we cross that bridge when we get there just wanted to make a note.

Is this also applied to the horizontal space between dodged bars?

@gvnmagni
Copy link
Author

Valid point which has been in my head for a while. One potential approach that we can use is to apply this kind of visual features only when the high contrast more is turned-on, in that case I feel we can potentially assume that the main need of users it to tell apart elements, therefore we do our best to facilitate it.

But that's only an option, let's have a proper conversation about all this

@gvnmagni gvnmagni self-assigned this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants