How to skip some date in x-axis if no data on that date


(Magic) #1

I want to use Kibana to illustrate stock information and stock market is not open at weekend.
How can I skip some date (e.g. weekend) in Kibana chart?
How can I skip some date (e.g. weekend) in Timelion chart?


(Matt Bargar) #2

I don't think there's any way to visually remove the space from the date histogram. I tried adding min_doc_count to the advanced JSON, which removes the empty buckets from the elasticsearch results, but it had no effect on the chart.

What we really need is a "Show empty buckets" option like on the histogram agg:

I'd encourage you to file an enhancement request on the Kibana github repo: https://github.com/elastic/kibana


(Magic) #3

Thanks and done: https://github.com/elastic/kibana/issues/7688


(system) #4