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

[Lens] Axis setting visible under Breakdown dimension #195481

Closed
nickofthyme opened this issue Oct 8, 2024 · 2 comments · Fixed by #195845
Closed

[Lens] Axis setting visible under Breakdown dimension #195481

nickofthyme opened this issue Oct 8, 2024 · 2 comments · Fixed by #195845
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@nickofthyme
Copy link
Contributor

Kibana version:

main/8.16

Describe the bug:

When using the Collapse by option on an Intervals Breakdown aggregation, the option to set the Axis side appears. This option has no affect for as the breakdown does not directly link to any axis.

Steps to reproduce:

  1. Load sample logs data
  2. Create a Lens xy charts with count of records
  3. Create a breakdown metric with Intervals of bytes.
  4. Set Collapse by to Average
  5. Notice the new Axis side option under the Appearance section

Expected behavior:

The option for Axis side should only exist on horizontal and vertical axis dimensions and hidden otherwise.

Screenshots (if relevant):

Image

@nickofthyme nickofthyme added bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 8, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@nickofthyme
Copy link
Contributor Author

Additionally, the series color option should be disabled when collapse is enabled. The color in this case is always applied by the Vertical axis dimension.

Image

mbondyra added a commit that referenced this issue Oct 14, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 15, 2024
…kdown and collaseFn enable (elastic#195845)

## Summary
Fixes elastic#195481

For XY charts only, when opening the breakdown dimension editor, we
disable the color picker and axis side configuration.

## Before

![image](https://github.com/user-attachments/assets/62f03481-45aa-402c-8d53-d30a8b02d11c)

## After

![image](https://github.com/user-attachments/assets/f48abdca-ab3f-40bb-b9fa-8266416b915c)

![image](https://github.com/user-attachments/assets/c0f62b62-b9ef-4fe4-917f-77246fd0066b)

https://github.com/user-attachments/assets/05ee0e8e-713b-4eb3-a1ef-bf7418226409

---------

Co-authored-by: Marta Bondyra <[email protected]>
Co-authored-by: Nick Partridge <[email protected]>
(cherry picked from commit 4c4cb1e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
2 participants