fix chart renderer append vs setting html issue