[Lens] Improve handling of partial data in date histograms #103557
Labels
discuss
enhancement
New value added to drive a business result
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Date histograms are rounded down in Elasticsearch which means that users will often have partial data for their data histograms. For example, if today is March 15th 2021 and I choose a "Last 1 year" time filter with
1 month
as my date histogram interval, the date histogram will actually start on March 1st of the previous year, 2020, but due to the time filter the first 14 days of March will be excluded.There are several potential ways that we can solve this problem:
I believe that none of these options is a 100% solution, but my personal preference is to allow both right-aligned and left-aligned date histograms. It might be best for backwards compatibility to keep the current left-aligned default.
The text was updated successfully, but these errors were encountered: