Thanks Sundaresh. Able to get a straight line burndown chart with a minor modification of the above query. Thanks for sharing the logic on how this is to be calculated with the group of Splunk commands.
In place of eval stories=round(140/count, 0)
in the above command, i have used
eval stories=round(140-14*count, 0)