betodealmeida opened a new pull request #5177: Time shift difference
URL: https://github.com/apache/incubator-superset/pull/5177
 
 
   I added a new control to allow comparing comparing the main time series with 
time shifts. In addition to showing the time shift as individual lines, it's 
now possible to compute absolute and relative differences.
   
   Current behavior, will be the default option in the selector ("individual 
lines"):
   
   <img width="1680" alt="screen shot 2018-06-11 at 4 03 21 pm" 
src="https://user-images.githubusercontent.com/1534870/41261806-4c49bf02-6d92-11e8-80cd-2aa4d51e2b4b.png";>
   
   Absolute difference:
   
   <img width="1680" alt="screen shot 2018-06-11 at 4 03 28 pm" 
src="https://user-images.githubusercontent.com/1534870/41261805-4c30cda8-6d92-11e8-9fbd-9325b2845e1d.png";>
   
   Relative difference, computed as `(main - time_shift) / time_shift` (for a 
"1 week" shift" this means that `100` means the value today is double the value 
last week, and `-50` means that the value today is half of what it was last 
week):
   
   <img width="1680" alt="screen shot 2018-06-11 at 4 03 37 pm" 
src="https://user-images.githubusercontent.com/1534870/41261804-4c1758f0-6d92-11e8-8c01-4bd91afe7ad2.png";>
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to