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

Date Histogram X-Axis Labels for Year Bucket off by One Year #32252

Closed
A-Hall opened this issue Feb 28, 2019 · 1 comment · Fixed by #33831
Closed

Date Histogram X-Axis Labels for Year Bucket off by One Year #32252

A-Hall opened this issue Feb 28, 2019 · 1 comment · Fixed by #33831
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) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@A-Hall
Copy link
Member

A-Hall commented Feb 28, 2019

Kibana version: (at least) 6.5 - 6.6.1

Elasticsearch version: (at least) 6.5 - 6.6.1

Server OS version: CentOS Linux release 7.5.1804

Browser version: Chrome Version 72.0.3626.119

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): Unpacked Tarball

Describe the bug: On a date histogram with one year intervals, the X-axis is off by 1 year. If you hover over the dot representation of the bucket on the graph, the correct year is displayed. The underlying agg also pulls the correct data.

Steps to reproduce:

  1. Create a line graph using a Date Histogram for the x-axis.
  2. Select Yearly for the Interval

Expected behavior: The x-axis correctly reflects the year bucket it's associated with.

Screenshots (if relevant):

image

image

@A-Hall A-Hall added bug Fixes for quality problems that affect the customer experience Feature:XYAxis XY-Axis charts (bar, area, line) labels Feb 28, 2019
@nickpeihl nickpeihl added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Mar 1, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

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) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants