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

fix(BarSeries): forced stacking for single series histogram #2226

Closed
wants to merge 1 commit into from

Conversation

nickofthyme
Copy link
Collaborator

Summary

This PR was the first solution designed to fix #2223 however after more thought, this would solve one breaking behavior but not all. Namely, this would not solve the case where the user has multiple histogram bar series in a chart and wants to fit the domain to the data. This would force the bars to be stacked, against the chart config, and make domain fitting impossible.

Before

Screen Recording 2023-11-01 at 09 51 39 AM

After

Screen Recording 2023-11-01 at 02 39 54 PM

Notice, when there are 2 bar series in the chart with enableHistogramMode set to true they are forced to stack and the domain fitting is set to start at 0.

@nickofthyme nickofthyme added :data Data/series/scales related issue :xy Bar/Line/Area chart related labels Nov 1, 2023
@nickofthyme
Copy link
Collaborator Author

Closed in favor of #2225

@nickofthyme nickofthyme closed this Nov 1, 2023
@nickofthyme nickofthyme deleted the fix-histogram-domain branch November 1, 2023 23:36
@elastic-datavis
Copy link
Contributor

⏳ Pending Deployment - b9487fb

  • ⏳ Storybook
  • ⏳ e2e server
  • ⏳ Playwright report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:data Data/series/scales related issue :xy Bar/Line/Area chart related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not force stacking on single histogram series
1 participant