Bargraph working