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

[XY] Enable the percentage mode for non-stacked bars #118525

Closed
stratoula opened this issue Nov 15, 2021 · 4 comments
Closed

[XY] Enable the percentage mode for non-stacked bars #118525

stratoula opened this issue Nov 15, 2021 · 4 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:ElasticCharts Issues related to the elastic-charts library Feature:XYAxis XY-Axis charts (bar, area, line) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@stratoula
Copy link
Contributor

Kibana version:
7.16+

Describe the bug:
Right now, it is not possible in the new implementation of the xy charts to have non-stacked bars with percentage mode.
We want to enable it as it is used by some users.

Steps to reproduce:

  1. Create an aggregation-based xy chart
  2. Choose percentage mode for the y axis
  3. See that the bars change to stacked automatically

image

Expected behavior:
We want to be possible to allow these calculation for the non-stacked bars.

@stratoula stratoula added bug Fixes for quality problems that affect the customer experience Feature:XYAxis XY-Axis charts (bar, area, line) Feature:ElasticCharts Issues related to the elastic-charts library Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Nov 15, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@stratoula
Copy link
Contributor Author

As discussed offline we will:

  • Check if this is an easy addition to EC. If yes, we will wait for the fix from the EC side and then enable the option on XY charts
  • If it is a complicated calculation for kibana, we will try to add this on kibana side.

@flash1293 flash1293 added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Nov 15, 2021
@markov00 markov00 self-assigned this Nov 16, 2021
@markov00
Copy link
Member

@stratoula we have released 39.1.0 version of elastic-charts that contains the function to compute externally that percentage elastic/elastic-charts#1495
Please check if it works for your case and let me know if you need help here

@stratoula
Copy link
Contributor Author

Closed by #119582

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:ElasticCharts Issues related to the elastic-charts library Feature:XYAxis XY-Axis charts (bar, area, line) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants