Skip to content

fix(legend): keep legend values visible when hiding series in list layout#2807

Merged
maryam-saeidi merged 9 commits intoelastic:mainfrom
maryam-saeidi:2795-keep-legend-value-during-selection
Mar 31, 2026
Merged

fix(legend): keep legend values visible when hiding series in list layout#2807
maryam-saeidi merged 9 commits intoelastic:mainfrom
maryam-saeidi:2795-keep-legend-value-during-selection

Conversation

@maryam-saeidi
Copy link
Copy Markdown
Member

@maryam-saeidi maryam-saeidi commented Mar 13, 2026

Closes #2795
Closes #2804

Summary

Keep legend values even when they are disabled/not selected.

image

@maryam-saeidi maryam-saeidi self-assigned this Mar 13, 2026
@maryam-saeidi maryam-saeidi added the :legend Legend related issue label Mar 13, 2026
@maryam-saeidi maryam-saeidi changed the title Keep values always visible fix(legend): keep legend values visible when hiding series in list layout Mar 13, 2026
@maryam-saeidi
Copy link
Copy Markdown
Member Author

buildkite update vrt

@maryam-saeidi maryam-saeidi marked this pull request as ready for review March 19, 2026 22:54
@maryam-saeidi maryam-saeidi requested a review from a team March 20, 2026 08:01
@mariairiartef mariairiartef self-requested a review March 24, 2026 19:29
Copy link
Copy Markdown
Contributor

@mariairiartef mariairiartef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested it and LGTM

@elastic-datavis
Copy link
Copy Markdown
Contributor

@maryam-saeidi maryam-saeidi merged commit c5089f5 into elastic:main Mar 31, 2026
14 checks passed
@maryam-saeidi maryam-saeidi deleted the 2795-keep-legend-value-during-selection branch March 31, 2026 14:57
nickofthyme pushed a commit that referenced this pull request Mar 31, 2026
# [71.4.0](v71.3.0...v71.4.0) (2026-03-31)

### Bug Fixes

* **legend:** avoid re-rendering ([#2646](#2646)) ([0ca3289](0ca3289))
* **legend:** keep legend values visible when hiding series in list layout ([#2807](#2807)) ([c5089f5](c5089f5))

### Features

* **highlight:** Add support to configure dimmed (unhighlight) colors for Bar, Partition, Waffle and Flame charts ([#2774](#2774)) ([b39e24d](b39e24d)), closes [#ECF1F9](https://github.com/elastic/elastic-charts/issues/ECF1F9) [#384861](https://github.com/elastic/elastic-charts/issues/384861)
* **metric:** Add ability to vertically align the metrics values to the middle of the chart ([#2783](#2783)) ([54ca7cb](54ca7cb))
* **theme:** set default labelOptions.widthLimit in themes and update metric.titleWeight default to 500 ([#2802](#2802)) ([fbb8834](fbb8834))
maryam-saeidi added a commit to elastic/kibana that referenced this pull request Apr 2, 2026
## Summary

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@elastic/charts](https://github.com/elastic/elastic-charts) |
dependencies | minor | [`71.3.0` ->
`71.4.0`](elastic/elastic-charts@v71.3.0...v71.4.0)
|

### Release Notes

#
[71.4.0](elastic/elastic-charts@v71.3.0...v71.4.0)
(2026-03-31)


### Bug Fixes

* **legend:** avoid re-rendering
([#2646](elastic/elastic-charts#2646))
([0ca3289](elastic/elastic-charts@0ca3289))
* **legend:** keep legend values visible when hiding series in list
layout ([#2807](elastic/elastic-charts#2807))
([c5089f5](elastic/elastic-charts@c5089f5))


### Features

* **highlight:** Add support to configure dimmed (unhighlight) colors
for Bar, Partition, Waffle and Flame charts
([#2774](elastic/elastic-charts#2774))
([b39e24d](elastic/elastic-charts@b39e24d)),
closes
[#ECF1F9](https://github.com/elastic/elastic-charts/issues/ECF1F9)
[#384861](https://github.com/elastic/elastic-charts/issues/384861)
* **metric:** Add ability to vertically align the metrics values to the
middle of the chart
([#2783](elastic/elastic-charts#2783))
([54ca7cb](elastic/elastic-charts@54ca7cb))
* **theme:** set default labelOptions.widthLimit in themes and update
metric.titleWeight default to 500
([#2802](elastic/elastic-charts#2802))
([fbb8834](elastic/elastic-charts@fbb8834))

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Abdul Zahid <awahab07@yahoo.com>
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Apr 2, 2026
## Summary

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@elastic/charts](https://github.com/elastic/elastic-charts) |
dependencies | minor | [`71.3.0` ->
`71.4.0`](elastic/elastic-charts@v71.3.0...v71.4.0)
|

### Release Notes

#
[71.4.0](elastic/elastic-charts@v71.3.0...v71.4.0)
(2026-03-31)


### Bug Fixes

* **legend:** avoid re-rendering
([elastic#2646](elastic/elastic-charts#2646))
([0ca3289](elastic/elastic-charts@0ca3289))
* **legend:** keep legend values visible when hiding series in list
layout ([elastic#2807](elastic/elastic-charts#2807))
([c5089f5](elastic/elastic-charts@c5089f5))


### Features

* **highlight:** Add support to configure dimmed (unhighlight) colors
for Bar, Partition, Waffle and Flame charts
([elastic#2774](elastic/elastic-charts#2774))
([b39e24d](elastic/elastic-charts@b39e24d)),
closes
[#ECF1F9](https://github.com/elastic/elastic-charts/issues/ECF1F9)
[#384861](https://github.com/elastic/elastic-charts/issues/384861)
* **metric:** Add ability to vertically align the metrics values to the
middle of the chart
([elastic#2783](elastic/elastic-charts#2783))
([54ca7cb](elastic/elastic-charts@54ca7cb))
* **theme:** set default labelOptions.widthLimit in themes and update
metric.titleWeight default to 500
([elastic#2802](elastic/elastic-charts#2802))
([fbb8834](elastic/elastic-charts@fbb8834))

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Abdul Zahid <awahab07@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:legend Legend related issue

Projects

None yet

3 participants