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

Auto interval on date histogram is getting displayed as timestamp per 0 milliseconds when x-axis bucket is collapsed #57822

Closed
bhavyarm opened this issue Feb 17, 2020 · 1 comment · Fixed by #59171
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Vis Editor Visualization editor issues regression Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@bhavyarm
Copy link
Contributor

Kibana version: 8.0.0

Browser version: chrome latest

Browser OS version: OS X

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

Describe the bug: If user selects auto interval on date histogram for x-axis bucket - Kibana is displaying it as timestamp per 0 milliseconds when the bucket details are collapsed

Steps to reproduce:

  1. Pull latest Kibana 8.0.0 from source and build/run it
  2. Install sample data say flights
  3. Click on visualize and create area chart -> pick auto for interval for date histogram bucket type on x axis
  4. Collapse the x-axis bucket details - Kibana displays the interval as timestamp per 0 milliseconds

Screenshots (if relevant):

Screen Shot 2020-02-17 at 4 28 28 PM

@bhavyarm bhavyarm added bug Fixes for quality problems that affect the customer experience Feature:ElasticCharts Issues related to the elastic-charts library Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@markov00 markov00 added Feature:Vis Editor Visualization editor issues and removed Feature:ElasticCharts Issues related to the elastic-charts library labels Feb 18, 2020
DianaDerevyankina added a commit to DianaDerevyankina/kibana that referenced this issue Mar 3, 2020
… 0 milliseconds when x-axis bucket is collapsed

Closes elastic#57822
DianaDerevyankina added a commit that referenced this issue Mar 31, 2020
#59171)

* Auto interval on date histogram is getting displayed as timestamp per 0 milliseconds when x-axis bucket is collapsed

Closes #57822

* Fixed incorrect interval label displaying while scaling the chart.

* Updated agg.test.tsx snapshot

* Got rid of context and refactored agg hooks

* Fixed agg.type.name check

* Added functional tests to cover the date histogram interval editing

* Fixed some expected values in tests

* Updated some test cases

* Added a new visualization to visualize archive

* Added testSubjects service to replace find where possible

* Updated tests to match updated behavior

Co-authored-by: Elastic Machine <[email protected]>
DianaDerevyankina added a commit to DianaDerevyankina/kibana that referenced this issue Mar 31, 2020
elastic#59171)

* Auto interval on date histogram is getting displayed as timestamp per 0 milliseconds when x-axis bucket is collapsed

Closes elastic#57822

* Fixed incorrect interval label displaying while scaling the chart.

* Updated agg.test.tsx snapshot

* Got rid of context and refactored agg hooks

* Fixed agg.type.name check

* Added functional tests to cover the date histogram interval editing

* Fixed some expected values in tests

* Updated some test cases

* Added a new visualization to visualize archive

* Added testSubjects service to replace find where possible

* Updated tests to match updated behavior

Co-authored-by: Elastic Machine <[email protected]>
DianaDerevyankina added a commit that referenced this issue Mar 31, 2020
#59171) (#61992)

* Auto interval on date histogram is getting displayed as timestamp per 0 milliseconds when x-axis bucket is collapsed

Closes #57822

* Fixed incorrect interval label displaying while scaling the chart.

* Updated agg.test.tsx snapshot

* Got rid of context and refactored agg hooks

* Fixed agg.type.name check

* Added functional tests to cover the date histogram interval editing

* Fixed some expected values in tests

* Updated some test cases

* Added a new visualization to visualize archive

* Added testSubjects service to replace find where possible

* Updated tests to match updated behavior

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
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:Vis Editor Visualization editor issues regression Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
7 participants