-
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
Broken graph when using "Offset series time by" on TSVB with series Stacked #120449
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@Kilhog thanx a lot for submitting this. Can you please check if the gaps are gone when you turn to |
@stratoula same behaviour with "Ignore daylight time" to true |
Thank you, we will look into this :) cc @alexwizp |
@Kilhog we managed to replicate it. We will try to apply a fix in a future version. It seems that the bug is not present there and judging from your TSVB configuration, you can re-create it in Lens. Lens support timeshift and cumulative sum. This is an example of how you can configure it in Lens. I added two layers (one area stacked and one normal). The first layer is using cumulative sum, the second one is using average but you can use whatever metric you want. It is shifted by 1 year. About the TSVB bug, we investigated it with @flash1293
|
An update here for whoever would like to take it. kibana/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.js Line 24 in 60500c2
If you remove the utc, the bug is fixed but unfortunately it creates another bug. It doesn't work fine with the fix that was applied here #98484 To be more specific, I have 3 points, on 27, 28 and 29 of March 2020. I shift them 1y. (28 of march happens the DST in greece). So with removing the utc, the Note: I also tried to fetch the timezone from the request, set it on the timeshift and then set it to its previous value but this also doesn't solve the problem |
As discussed, this is how we can align this (and fix the bug discovered during investigation):
|
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 - 16/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) have gap after the date of the time change (summer / winter time), but I can still view the data with the "popover dialog"
Steps to reproduce:
PS : I will explain in a futur issue why a choose time range 01/01 to 16/12 and not 01/01 to 31/12, there is a another bug involved. I try to break down the problem report in #120441
Expected behavior:
Chart line with no gap
Screenshot:
Graph bug :
First series configuration :
Second series configuration :
Winter / Summer time change in France :
The text was updated successfully, but these errors were encountered: