Divine the total number of the entire chart by the number of a single line or bar to give you the ratio in a bar or line chart. For example, if a bar or line represented 5 in a chart with a total of 30, you would divide 30 by 5. This would give you a result of 6. Therefore, the ratio would be 6:1.