bar graph works with server push triggered by user submission