new algo and fixed bugs for charts in detailAccount
minor fix on opTab view (adding name)