improve total records graph