Automatically select group by start date interval (OPT-1837)

[OPT-1863] Automatic interval selection works with combined reports Created: 23/Jan/19  Updated: 18/Apr/19  Resolved: 29/Jan/19

Status: Done
Project: Camunda Optimize
Component/s: backend
Affects Version/s: None
Fix Version/s: 2.4.0, 2.4.0-alpha1

Type: Sub-task Priority: L3 - Default
Reporter: Sebastian Stamm Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Context:
Currently, you can combine two reports which both have automatic interval selection. But since the datapoints don't line up, the visualization is not very helpful. When evaluating a combined report with automatic interval selection, the backend needs to make sure that the datapoints line up across the different reports.

AT:

  • when I combine single group by start date process reports which all have automatic interval selected as unit, then the evaluation of the combined report:
    • returns a result for each report having the same amount of data points
    • the result span over the same range
    • each x value is the same for all the results
  • the total range of the range is determined by taking the max and min x-value over all report results, chunk the range into segments and match each result datapoints to one of those segments


 Comments   
Comment by Johannes Heinemann [ 23/Jan/19 ]

Nice catch Sebastian Stamm! Totally forgot about that :/

Generated at Fri Oct 18 23:00:00 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.