javascript - Unexpected value NaN parsing x attribute -
i have written fancy heat graph javascript & raphael , worked great , flawlessly. now, 3 months after completed task , went on other pastures, error:
unexpected value nan parsing x attribute ...with particular snippet of code in leading instance indicating error taking place. (yes error lists 500+ times leading instance gives line of code error takes place.)
i looked around , found nothing substantial leading me solution. so, managed remove code listed in leading instance, hoping solve problem. , case, propagates line of code, time in raphael.js code...
how 1 troubleshoot that?? don't want fix raphael code, if don't have to... appreciated.
more code
function todayband(){ // band represents *today* (var i=2; i<47; i++){ xx = parseint(calcoffset+i*hour_millis/(2*timezoom)); x2 = xoff(xx-100,220); pp = "p_"+i; window[pp] = paper.path("m "+xx+" 350 l "+x2+" -220 z").attr("stroke", "#999").toback(); //present time line in red window[pp].class="paths"; paper.path("m "+xx+" 350 l 0 15 z").attr("stroke", "#aaa" ).toback(); //present time line in red } } tia
dennis
Comments
Post a Comment