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

changing from vertical to horizontal bar chart looses x-axis labels #21589

Closed
ppisljar opened this issue Aug 2, 2018 · 1 comment · Fixed by #62309
Closed

changing from vertical to horizontal bar chart looses x-axis labels #21589

ppisljar opened this issue Aug 2, 2018 · 1 comment · Fixed by #62309
Labels
bug Fixes for quality problems that affect the customer experience Feature:ElasticCharts Issues related to the elastic-charts library Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@ppisljar
Copy link
Member

ppisljar commented Aug 2, 2018

changing to horizontal bar chart from vertical one (if you selected vertical bar in chart selection) will hide all the ticks on the x-axis but the first one.

the problem seems to be that the "filter labels" on x-axis doesn't get appleid correctly. enabling this setting and then disabling it again gets your chart to a working state.

@ppisljar ppisljar added bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Aug 2, 2018
@timroes timroes added the Feature:ElasticCharts Issues related to the elastic-charts library label Aug 8, 2018
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 13, 2018
@davenonymous
Copy link

We can confirm this.

The bug occurs when the saved visualization data is missing the filter property altogether.
The svg-renderer defaults the value to true, the configuration menu defaults it to false.

"categoryAxes": [
      {
        "id": "CategoryAxis-1",
        "labels": {
          "rotate": 0,
          "show": true,
          "truncate": 100
        },
        "position": "left",
        "scale": {
          "type": "linear"
        },
        "show": true,
        "style": {},
        "title": {
          "text": "Ziel"
        },
        "type": "category"
      }
    ]

This filters the labels, but the checkbox is not checked.

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:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants