Bar charts are common data representations in scientific and technical papers. In order to recognize the printed bar charst, we present a new Hough based bar chart recognition algorithm which combines syntactic analysis into segmentation. We first detect the most salient feature in any bar chart, bar patterns, using syntactic analysis in the Hough domain. Then we group text primitives according to their centroids distribution in the Hough space. Finally, we interweave the two extracting processes to refine the recognition results. Our recognition algorithm is not dependent heavily on a priori knowledge and can recognize bar charts lying in arbitrary directions, such as oblique or skewed bar charts, or even hand-drawn bar charts.