'+numDifferentiation(balanceArr[YearIndex[i]])+'');
}else{
var balancehtml = balancehtml.concat(''+numDifferentiation(balanceArr[YearIndex[i]])+' | ');
}
}
for( var i= 0; i'+displayYear[i]+'');
}else{
var yearhtml = yearhtml.concat(''+displayYear[i]+' | ');
}
}
$('.yearappend').html(yearhtml);
$('.valueappend').html(balancehtml);
}
function numDifferentiation(val) {
if(val >= 10000000) val = (val/10000000).toFixed(2) + ' Cr';
else if(val >= 100000) val = (val/100000).toFixed(2) + ' Lac';
else if(val >= 1000) val = (val/1000).toFixed(2) + ' K';
return val;
}
$('#graph-details').click(function(){
$('#graph-content-toggle').toggle('slow');
});