WebChart.RemoveAllDatasets
From Xojo Documentation
Method
RemoveAllDatasets()
New in 2020r1
Supported for all project types and targets.
New in 2020r1
Supported for all project types and targets.
Removes all datasets from the chart.
See Also
RemoveDatasetAt method.