In the left-hand panel, click Charts and select the chart you need.
On the left side of the screen, click next to the dataset and select Replace dataset.
Select another dataset.
Make sure the new dataset contains fields with the same names as the old one. If, after replacing the dataset, the chart shows an error saying ERR.DS_API.DB.COLUMN_DOES_NOT_EXIST, follow the Replace a field guide.