Henryk Schneider

Set Trend Time Range based on Time Series selection +/-12h

Discussion created by Henryk Schneider on Jul 12, 2011
Latest reply on Jul 22, 2011 by Henryk Schneider

Been trying for a while and not getting anywhere with this.


What I would like to do is when the user selects/clicks a record in the TimeSeries web part, the Trend WebPart below displays data for the same point with a time range of selected value's time +/- 12 hours.   So if I selected an row with time of 2011-Jun-20 06:00:00, the trend should display data for that point from 2011-Jun-19 18:00:00 to 2011-Jun-20 18:00:00.


I've got as far as the trend displaying for the selected time, but can't find a way to set the relative range from that.  I get either 0 time range or from selected time to *.


Not sure if this is possible with just using the WebParts (currently using 2010 R2), but thought I'd ask before going a slightly different path and trying to use Query String Parameters for the defaults.  Which I assume will mean writing a separate page/form to calculate the required time range and then to call the trend page & wp with those parameters.