Changed cx and cy to percentages in php graph template