xAccessor offset for timeseries data #885
Labels
:data
Data/series/scales related issue
enhancement
New feature or request
:xy
Bar/Line/Area chart related
Is your feature request related to a problem? Please describe.
In timelion and APM, there are use cases where we want to display two timeseries with a given offset (i.e. a day, a week). Having a way to facilitate this kind of chart would be nice.
Describe the solution you'd like
An offset value on the series, some thing like
xOffset
, which will factor in this offset when rendering the geometry but use the original value for tooltip and interactions.Describe alternatives you've considered
Creating two series with the offset series matching the x values of the non-offset series. Then for the tooltip and interactions, inverting the offset to get the true value. This is less than ideal as this requires consumer to duplicate offset logic in many places.
Kibana Cross Issues
elastic/kibana#81147
elastic/kibana#98781 - time shift pr in Lens
Checklist
Kibana Cross Issues
listkibana cross issue
tag is associated to the issue if any kibana cross issue is presentThe text was updated successfully, but these errors were encountered: