Bug fix

Now linechart can display correctly when there is only one account and
firstTotal equal to finalTotal