-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Invisible line on series when using "Offset series time by" on TSVB with series Stacked #120870
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@Kilhog we could also reproduce this. We are not 100% sure why this happens. The problem is that the timeseries interval changes from 24hours to 7days. If you change the interval to 1d, you will be able to see your series |
@stratoula Yes indeed, with 1d interval I see the series |
After investigation, the problem happening here is that the shift is not compatible to the interval (a year is not evenly dividable by weeks) which causes a chart with gaps between data points. For the stacked area chart these gaps cause the series to not get rendered. The following things can be done to work around this problem:
|
Discussed this offline and we decided to not extend TSVB with additional features to render the line differently for situations like this. However, we will soon get to #117280 which allows you to do the same thing in Lens. Together with #116424 it will be very easy to migrate existing configurations over. |
Blocked on #117280 |
As #117280 has been merged, this is now possible to do in Lens. To make it work with TSVB, see the comment above #120870 (comment) |
Kibana version: 7.15.2
Elasticsearch version: 7.15.2
Server OS version: Latest Docker
Browser version: Safari
Browser OS version: 15.1
Original install method (e.g. download page, yum, from source, etc.): Docker
Describe the bug:
When I try do make a TSBV with my current data on 1 year (01/01/2021 - 31/12/2021), and add a second series on the same graph with the same parameters except the "Offset series time by" set to 1y, I have a weird behaviour. The line of the first series (without time shift) is not displayed, but I can still view the data with the "popover dialog"
Steps to reproduce:
PS : It's maybe related to a other issue I reported #120449, the only different between the two behaviour is the time range. And another hint, if I set the graph type to "bar" the bar correctly show up.
Expected behavior:
Chart line correctly draw
Screenshots (if relevant):
Graph bug :
(Graph with bars instead of lines)
First series configuration :
Second series configuration :
The text was updated successfully, but these errors were encountered: