issue_126: display bar graph in landscape, pie chart in portrait