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

Bar charts on linear scales with static bar width #497

Closed
3 tasks done
markov00 opened this issue Dec 16, 2019 · 2 comments · Fixed by #1114
Closed
3 tasks done

Bar charts on linear scales with static bar width #497

markov00 opened this issue Dec 16, 2019 · 2 comments · Fixed by #1114
Assignees
Labels
:data Data/series/scales related issue enhancement New feature or request released Issue released publicly :xy Bar/Line/Area chart related

Comments

@markov00
Copy link
Member

Is your feature request related to a problem? Please describe.
Add the possibility to render bar-charts with static bar width along a linear/time scale to mimic the behaviour of various other tools like tableau.

Describe the solution you'd like
I'd like to create a <BarSeries> component where the minInterval is 0 but where I can specify a bar width in pixel or percentage.
The consumer needs to know that the bars can overlaps each other.
The pointer detection algorithm needs to detect multiple bars if they overlaps, or should always detect the nearest one to the pointer x value.

Describe alternatives you've considered
n/a

Additional context
n/a

Kibana Cross Issues
n/a

Checklist

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present
@markov00 markov00 added enhancement New feature or request :data Data/series/scales related issue labels Dec 16, 2019
@markov00 markov00 added the :xy Bar/Line/Area chart related label Mar 26, 2020
@shahzad31
Copy link
Contributor

we also have a similar need in uptime to have different width for bars.

@nickofthyme
Copy link
Collaborator

🎉 This issue has been resolved in version 28.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nickofthyme nickofthyme added the released Issue released publicly label Apr 13, 2021
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 enhancement New feature or request released Issue released publicly :xy Bar/Line/Area chart related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants