add support for ratios
fix possible division by 0
fix possible division by 0
Fix crash when there's no data for ratio graphs
Remove incorrect return
Merge pull request #54 from smathieu/ratio

Graph type of ratio