2000 then hww_info.data_cnt = 2000 endif duration = (hww_info.stoptime - hww_info.starttime) / hww_info.data_cnt call get_hww_data hww_data print "{ ""","data",""": [" for i = 0 to hww_info.data_cnt-2 do dpt = hww_info.starttime + (i * duration) print "[",dpt,",",hww_data.values[i],"]," next i dpt = hww_info.starttime + (i * duration) print "[",dpt,",",hww_data.values[hww_info.data_cnt-1],"]" print "]}" ?>