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

Heatmap: Exposes the positioning of the heatmap cells/containe #1127

Open
3 tasks done
qn895 opened this issue Apr 20, 2021 · 0 comments
Open
3 tasks done

Heatmap: Exposes the positioning of the heatmap cells/containe #1127

qn895 opened this issue Apr 20, 2021 · 0 comments
Labels
enhancement New feature or request :heatmap Heatmap/Swimlane chart related issue

Comments

@qn895
Copy link
Member

qn895 commented Apr 20, 2021

Is your feature request related to a problem? Please describe.
While trying to add extra functionality to a component that consumes the heatmap, we found that knowing the exact position of where the heatmap ends is fairly tricky.

Screen Shot 2021-04-14 at 09 11 17

Looks like the heatmap does some auto calculation of the cell width by taking into account several things (like the x axis labels, padding, number of buckets, etc.)

Describe the solution you'd like
It would be good to have a way to expose out the dimensions of the actual heatmap, after taking into account the axis and the labels. A possible solution would be to have something similar to onResize or onRenderChange callback that provides the calculated dimensions.

Kibana Cross Issues
elastic/kibana#69538

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
@qn895 qn895 added enhancement New feature or request :heatmap Heatmap/Swimlane chart related issue labels Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request :heatmap Heatmap/Swimlane chart related issue
Projects
None yet
Development

No branches or pull requests

1 participant