Update chart php api docs.