-
Notifications
You must be signed in to change notification settings - Fork 121
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(heatmap): respect margins and paddings #2577
fix(heatmap): respect margins and paddings #2577
Conversation
buildkite test this |
35866a1
to
ee3934d
Compare
packages/charts/src/chart_types/heatmap/state/selectors/compute_chart_dimensions.ts
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/dom/highlighter_brush.tsx
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/canvas/theme.ts
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/canvas/dimensions.ts
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/canvas/theme.ts
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/canvas/theme.ts
Outdated
Show resolved
Hide resolved
Still reviewing with finish tomorrow. |
Sorry got tied up today. I promise tomorrow first thing!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested on Chrome and it works great! Thank you for tackling it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay 🙃
These changes are really great! You nailed the dimensional placement logic, I couldn't find any issues.
I just left a few nits/comment, but nothing major.
packages/charts/src/chart_types/heatmap/renderer/canvas/canvas_renderers.ts
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/canvas/dimensions.ts
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/canvas/theme.ts
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/canvas/dimensions.ts
Outdated
Show resolved
Hide resolved
packages/charts/src/chart_types/heatmap/renderer/canvas/dimensions.ts
Outdated
Show resolved
Hide resolved
buildkite update screenshots |
buildkite update screenshots |
# [69.1.0](v69.0.0...v69.1.0) (2025-01-29) ### Bug Fixes * **deps:** update dependency json-schema-to-typescript to v15.0.4 ([#2522](#2522)) ([2d4b650](2d4b650)) * **heatmap:** respect margins and paddings ([#2577](#2577)) ([c24566d](c24566d)) * **themes:** reintroduce Amsterdam colors ([#2604](#2604)) ([8c9913d](8c9913d)) ### Features * **heatmap:** add rotation in heatmap debug state ([#2594](#2594)) ([9047bd2](9047bd2))
Summary
The margins and paddings are applied correctly for
heatmap
chart configuration theme.Small multiples
Brush mask and area
Screen.Recording.2025-01-20.at.16.11.46.mov
Details
Add debug option so when is active elements such as margins, paddings, chart dimensions and chart container dimensions are visible.
Issues
fix #2216
Checklist
:xy
,:partition
):interactions
,:axis
)closes #123
,fixes #123
)