Hi,
Using JAvascript library, how can I return the previous values of a data point. I'm running the following code in my script and i get corect value when i alert the current value but im struggling to see how can i access the historical data, like the value 10 min ago in this script. Can you please guide me? I ahve already looked at the "About Mango Java Script" page but no breakthrough. Thanks.
Util.getPointsValues({
done : function(){
chartData = [];
alert(res['A1'][0].value);
},
scope : res,
from : dateRange.start,
to : dateRange.end,
points : graphPoints,
options : {
timePeriodType : 'DAYS',
timePeriods : 1,
rollup : 'AVERAGE'
}
});