SPChart X-Y axis graph

No problem got that too from another thread. I used this codes

window.FormatLongNumber = function(value) {
if(value == 0) {
return 0;
}
else
{
// hundreds
if(value <= 999){
return value;
}
// thousands
else if(value >= 1000 && value <= 999999){
return (value / 1000) + ‘K’;
}
// millions
else if(value >= 1000000 && value <= 999999999){
return (value / 1000000) + ‘M’;
}
// billions
else if(value >= 1000000000 && value <= 999999999999){
return (value / 1000000000) + ‘B’;
}
else
return value;
}
}

Then, set the template property of the appropriate axis in:
#= FormatLongNumber(value) #

Thread is Change value axis format to read in millions