changes in barograph viewController