-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[XY axis] Values on bar charts #101573
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
Pinging @elastic/datavis (Feature:ElasticCharts) |
I like the way that vislib handles this.
These are some thoughts. I would love your feedback @ghudgins @markov00 @flash1293 |
I think your list is great @stratoula - can we configure these things in current elastic-charts? I think we can control the font size but the others can't be configured to behave like the vislib feature at the moment, right? |
Exactly Joe. If I am not mistaken I think we can't configure the others. It would be awesome if we could have the same behavior between Lens and XY axis. In that way, we could remove the logic of disabling the setting for histograms. |
I agree on this. I think there's a combination of options that leads to the vertical stacking layout, but it would be nice to avoid that. For instance the
I think it has been discussed already this and we picked a specific min font size in Lens.
See first point.
Agree, I also like this solution as well. I've tried in the past to implement this, but there's still some work to do - for instance it's tricky how to compute contrast with the background in this case. |
That's true, however there were multiple user complaints about this configuration which I think makes it worth reconsidering. |
All of these ideas sound great: 1) don't render if it doesn't fit 2) decrease font size for value labels 3) color options or something that alleviates the white outline complaint related charts issue: elastic/elastic-charts#1123 |
I create this issue to discuss what we can do to improve the way that the values are depicted on bar charts.
For all the below mentioned cases the
Show values
switch is set to true (XY axis). Lens behaves differently. The setting to display the values is disabled for histograms.XY es-charts settings:
Lens settings:
XY axis
Vislib
Lens
Lens doesn't allow the users to depict values on histograms
The old implementation hides the values if the bar widths are very small. XY axis tries to do it but it seems that it doesn't fit well in all cases
XY charts
Vislib
Lens
Here also the setting to turn on the values is also disabled
XY chart
Vislib
Lens
Lens depicts the values vertically in order to fit.
Moreover we had some feedback about the white outline too #97428
The text was updated successfully, but these errors were encountered: