[Viz] legend duplicates percentile options when chart has both left & right Y axes #112388
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Vis Editor
Visualization editor issues
Feature:XYAxis
XY-Axis charts (bar, area, line)
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
:VisEditors:fix-it-week
Kibana version: latest master / 7.14.0 on cloud
Elasticsearch version: 8.0-SNAPSHOT / 7.14.0 on cloud
Server OS version: MacOS 11.4
Browser version: Chrome 93.0.4577.63
Browser OS version: MacOS 11.4
Original install method (e.g. download page, yum, from source, etc.): from source / cloud instance for 7.14.0
Describe the bug: legend duplicates percentile options when chart has left+right Y axes
Steps to reproduce:
Expected behavior: Legend should display only unique options based on selected metrics
Screenshots (if relevant):
Viz_bug.mov
Inspect panel does not show duplicates

If you drag percentile agg to the top / middle, duplication is fixed but last option (99) is gone from legend
Viz.Legend.after.agg.dragging.mov
Errors in browser console (if relevant): no errors
Provide logs and/or server output (if relevant):
Any additional context:
Request from Inspect panel:
The text was updated successfully, but these errors were encountered: