convert chart to async