Commit a87325d
feat(heatmap): add axis titles (#1503)
`xAxisTitle` and `yAxisTitle` props are available and rendered in the Heatmap chart.
The title style reuse the one provided by the `Theme.axes.axisTitle` theme configuration.
BREAKING CHANGE: The heatmap yAxisLabel.padding style type is changed from Pixel | Partial<Padding> to Pixels | Padding. The heatmap axis labels are now correctly subjected to padding calculations and it will result in a slightly different position of labels.
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>1 parent 8efa48d commit a87325d
52 files changed
Lines changed: 432 additions & 286 deletions
File tree
- integration/tests
- __image_snapshots__
- packages/charts
- api
- src
- chart_types/heatmap
- layout
- types
- viewmodel
- renderer
- canvas
- dom
- specs
- state
- selectors
- mocks/specs
- utils
- themes
- storybook/stories/heatmap
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
0 commit comments