add ratio to chart