Implemented pagination for chart values.